FS#17649 - Kernel panic with kernel26 2.6.32.2-2: Failed to execute /init
Attached to Project:
Arch Linux
Opened by Heiko Baums (cyberpatrol) - Wednesday, 30 December 2009, 04:09 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 08 January 2010, 08:08 GMT
Opened by Heiko Baums (cyberpatrol) - Wednesday, 30 December 2009, 04:09 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 08 January 2010, 08:08 GMT
|
Details
Description:
Since the update to kernel26 2.6.32.2-2 I can't boot this kernel anymore. I always get a kernel panic with these messages: Failed to execute /init Kernel panic - not syncing: No init found. Try passing init= option to kernel. Pid: 1, comm: swapper Not tainted 2.6.32-ARCH #1 Call Trace: [<ffffffff813301c2>] ? panic+0x8a/0x14b [<ffffffff8100a28d>] ? init_post+0xad/0x100 [<ffffffff81502747>] ? kernel_init+0x19d/0x1a8 [<ffffffff8101311a>] ? child_rip+0xa/0x20 [<ffffffff815025aa>] ? kernel_init+0x0/0x1a8 [<ffffffff81013110>] ? child_rip+0x0/0x20 |
This task depends upon
Nevertheless I've got a pure SATA system with a Radeon HD 3450.
This is the relevant output of fdisk -l, /etc/crypttab and /etc/fstab:
fdisk -l:
/dev/sda5 5476 5480 40131 83 Linux
/dev/sda6 5481 5612 1060258+ 82 Linux Swap / Solaris
/dev/sda7 5613 8224 20980858+ 83 Linux
/dev/sda8 8225 121601 910700721 83 Linux
/etc/crypttab:
swap /dev/sda6
home /dev/sda8
/etc/fstab:
/dev/sda5 /boot ext2 defaults,noatime 0 1
/dev/mapper/swap swap swap sw 0 0
/dev/mapper/root / ext3 defaults,noatime 0 0
/dev/mapper/home /home ext3 defaults,noatime 0 0
/boot/grub/menu.lst:
title Arch Linux
root (hd0,4)
kernel /vmlinuz26 cryptdevice=/dev/sda7:root root=/dev/mapper/root ro 5
initrd /kernel26.img
The same problem occurs with these kernel parameters:
nomodeset
radeon.modeset=0
vga=0x324 (stands for 1280x1024 on my system)
I also added and removed the module radeon from MODULES in /etc/mkinitcpio.conf.
So this doesn't seem to be radeon related.
I tried to change the compression method in /etc/mkinitcpio.conf. But the problem appears with lzma as well as with gz.
So there must be a bug in kernel26 or its config.
/etc/mkinitcpio.conf is attached.
After upgrading the system to testing and generating a new kernel26.img the system boots again.
So, please, either move the packages currently in [testing] to [core] or move kernel26 2.6.32.2-2 back to [testing]. The first would be the best solution I think.
device-mapper (2.02.53-1 -> 2.02.56-1)
udev (146-2 -> 149-1)
initscripts (2009.08-1 -> 2009.11-1)
iptables (1.4.5-1 -> 1.4.6-1)
klibc (1.5.15-3 -> 1.5.15-4)
klibc-extras (2.5-4 -> 2.5-5)
klibc-kbd (1.15.20080312-10 -> 1.15.1-2)
klibc-module-init-tools (3.8-1 -> 3.8-2)
klibc-udev (141-3 -> 141-4)
mdadm (2.6.9-1 -> 3.1.1-1)
mkinitcpio (0.5.26-1 -> 0.5.26-2)
pcmciautils (015-2 -> 016-1)
pm-utils (1.2.6.1-2 -> 1.2.6.1-3)
xz-utils (4.999.9beta-1 -> 4.999.9beta-2)
zlib (1.2.3.3-3 -> 1.2.3.4-3)
The packages which are involved into the boot process/the initrd need urgently be moved from [testing] to [core].
I suspect most mkinitcpio but every other package including the device mapper related packages could also be the reason because I've encrypted my whole system with dm-crypt/LUKS. The /boot partition is of course not encrypted.
So the reason must be one of the above mentioned packages.
If mkinitcpio is unchanged, why was it updated and has an incremented release version? I can't exclude it but I don't really think that it was the device mapper because the device mapper shouldn't have anything to do with /init in the initramfs. Or am I wrong?
Maybe later I'll downgrade each package one by one to [core] again and see when the kernel panic reappears.
There was likely something broken but I can't imagine what, maybe some file permissions have been change or some files have been changed or deleted by whatever and these files were overwritten by the reinstalling/updating. Probably a reinstall of the involved package from [core] had been sufficient.