You are not logged in.
Hi almighty all
I upgraded the system with 'pacman -Su' and now it does not boot (I know, it's not very original).
All I can see on the screen during boot is 'init not found' on one laptop and kernel trace on another.
Fallback entry delivers the same problem, never got to the command prompt.
There are two laptops, both x64, slightly different ARCH configuration and very different hardware.
Both were updated approximately the same month.
One of them runs on encrypted SSD drive as well.
When I unpacked initrd I found that there is no lib files (like glibc) in /usr/lib - only sub-dirs.
I tried to downgrade linux*, mkinitcpio*, systemd* and similar - no success, initramfs is still mangled.
I restored initramfs from backup and managed to boot them up, however I could not build proper initramfs on any of them.
Any suggestions where to dig?
Thanks.
Last edited by Eugene (2013-11-06 21:40:12)
Offline
What is the output of `mkinitcpio -v -p linux`
Offline
Nothing special was reported and that was part of the problem.
[2013-10-25 11:33] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2013-10-25 11:33] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Starting build: 3.11.6-1-ARCH
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [systemd]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Starting build: 3.11.6-1-ARCH
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [systemd]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [lvm2]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-10-25 11:33] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2013-10-25 11:33] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-10-25 11:33] [PACMAN] upgraded linux (3.11.4-1 -> 3.11.6-1)(Un)fortunately last update "fixed" the issue with one laptop. So I do not know the real reason for it. There were no updates to glibc or kernel but 'pacman -Syu' and then re-make of initrd created normal tree.
Second one was a genuine issue.
The reason for the problem was glibc update some time ago, when all the /usr/{lib,lib64} and /lib64 became symlinks to /usr/lib, coupled with scanner drivers for Brother multifunctional, which I installed from Brother's RPMs. Sometime during installation /usr/lib64 became directory instead of symlink. It had only brother's libs in it.
Because of that ldd could not find path to ld-linux-x86-64.so.2 in its RTLDLIST env. variable -
RTLDLIST="/usr/lib/ld-linux.so.2 /usr/lib64/ld-linux-x86-64.so.2 /usr/libx32/ld-linux-x32.so.2" As a consequence all 64bits binaries were reported as "not a dynamic executables" and mkinitramfs silently could not find any libraries for /usr/lib.
Easy way to check was
$ ldd `which pacman`
not a dynamic executableAfter relinking of /usr/lib64 to lib and dumping brother's libs to /usr/lib everything is back to normal.
Cheers,
Eugene.
Offline