Bug 129667
Summary: | kernel-2.6.7-1.509 panic at boot | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Satish Balay <balay> | ||||
Component: | mkinitrd | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | barryn, bmillett, jlaska | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-08-17 15:52:36 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 123268 | ||||||
Attachments: |
|
Description
Satish Balay
2004-08-11 17:32:32 UTC
Does it work if you remove rhgb and quiet from your boot options? It boot fine if I remove "rhgb quiet" I was having this same kernel panic problem with kernel 509. Removing "rhgb quiet" from the boot options also allowed me to boot. Could you try again with mkinitrd 4.0.4 (will be at http://people.redhat.com/~katzj/mkinitrd/ as soon as it's done building)? I've tried mkinitrd 4.0.4-1 (with kernel 478) - I still get a panic (however a different error) ---- Red Hat nash version 4.0.4 starting mount: error 6 mounting ext3 switchroot: mount failed: 22 Kernel panic: Attempted to kill init! ---- removing 'rhgb quiet' is a bit more verbose - but stops with the same error Can you provide the more verbose bit? Still observing failure with latest mkinitrd-4.0.4-1. I am able to bypass the failure by simply removing "quiet" from the kernel boot args. Ok - I'm typing in things I see on the screen (so ignore typos).. I've also updated today's rawhide - which has kernel 517 (and the following messages are with 517) ------------ serio: i8042 AUX port at 0x60,0x64 irq 12 input: PS/2 Generic Mouse on isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISCS=27 NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 132k freed Red Hat nash version 4.0.4 starting Mounted /proc filesystem Mounting sysfs Loading jbd.ko module Loading ext3.ko module Creating block devices Creating root device Mounting root filesystem mount: error 6 mounting ext3 Switching to new root switchroot: mount failed: 22 Kernel panic: Attempted to kill init! The same panic for kernel 515 and 517: Mounting root filesystem mount: error 6 mounting ext3 Switching to new root switchroot: mount failed: 22 Kernel panic: Attempted to kill init! But 509 is fine. I have up2date rawhide with mkinitrd-4.0.4-1. mkinitrd 4.0.5 from http://people.redhat.com/~katzj/mkinitrd/ should be better. Sorry, was asleep at the wheel or something yesterday. removing "rhgb quit" works now - but with the flags enabled - I'm back to the original problem: exec of init failed!!!: 14 Can you do wget http://people.redhat.com/~katzj/nash-test ; cp nash-test /sbin/nash; /sbin/mkinitrd -v -f /boot/initrd-ver-test ver (Substituting ver and the name of the initrd appropriately of course) and see what it tells you? Also, could you attach your complete grub.conf? [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.7-1.515 #1 Tue Aug 10 16:06:20 EDT 2004 i686 i686 i386 GNU/Linux [root@localhost ~]# /sbin/mkinitrd -v -f /boot/initrd-2.6.7-1.517-test.img 2.6.7-1.517 Creating initramfs Looking for deps of module ide-disk Looking for deps of module ext3 jbd Looking for deps of module jbd Using modules: ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko /sbin/nash -> /tmp/initrd.yV2476/bin/nash /sbin/insmod.static -> /tmp/initrd.yV2476/bin/insmod copy from /lib/modules/2.6.7-1.517/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.yV2476/lib/jbd.ko(elf32-i386) copy from /lib/modules/2.6.7-1.517/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.yV2476/lib/ext3.ko(elf32-i386) Loading module jbd Loading module ext3 [root@localhost ~]# Created attachment 102683 [details]
/boot/brub/menu.lst
And then boot that initrd? (it should then say what tries to get exec'd as init that fails) w/ custom /sbin/nash exec of init (/sbin/init) failed!!!: 14 I get the same message as well: --- exec of init (/sbin/init) failed!!!: 14 --- And booting without "rhgb quiet" continues to work. Okay added even more debugging printfs to nash's exec of init. New nash at http://people.redhat.com/~katzj/nash-test-2. If you could grab that and remake your initrd and let me know what output you get, that would be helpful. Here is my boot parameters from grub.conf: kernel /vmlinuz-2.6.7-1.517 ro root=LABEL=/ vga=0x317 rhgb selinux=0 quiet I got your new nash. Booted and this is the error: ---BEGIN--- initargs[1] ro initargs[2] root=LABEL=/ initargs[3] vga=0x317 initargs[4] rhgb initargs[5] selinux=0 initargs[6] quiet exec of init (/sbin/init) failed!!!: 14 --END-- Now what I found is that it did not matter if I took out rhgb, quiet, vga=0x317. What mattered is if I had < 6 initargs. args <6 will boot. args >= 6 no boot. Hope this helps. Ok I see the same behavior (args<6 => boot will work) as well. I currently have: kernel /vmlinuz-2.6.7-1.517 ro root=LABEL=/ selinux=0 rhgb quiet acpi=off Removing 'acpi=off' worked. Screendump with failure is: ---------- Red Hat nash version 4.0.5.1 starting initargs[1]: r0 initargs[2]: root=LABEL=/ initargs[3]: selinux=0 initargs[4]: rhgb initargs[5]: quiet initargs[6]: acpi=off exec of init (/sbin/init) failed!!!: 14 kernel panic: Attempted to kill init! --- mkinitrd-4.0.6 building with a variety of fixes (will be in the same place on my people page once its done) mkinitrd-4.0.6 appears to fix the probem for me. kernel now boots fine with 6 options. mkinitrd-4.0.6 resolves this issue. Please re-open if the problem resurfaces in the future. |