Bug 129836
| Summary: | exec of init failed!!!: 14 on CD boot | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ellen Shull <ellenshull> |
| Component: | mkinitrd | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.0.6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-19 21:03:01 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 | ||
|
Description
Ellen Shull
2004-08-13 04:14:37 UTC
I've added some debugging printfs to nash's exec of init. New nash binary is at http://people.redhat.com/~katzj/nash-test-2. If you could grab that, copy it over /sbin/nash, and remake your initrd and let me know what output you get, that would be helpful. Ok, with nash-test-2:
initargs[1]: initrd=initrd.img
initargs[2]: ro
initargs[3]: psmouse.proto=bare
initargs[4]: selinux=0
initargs[5]: vga=ask
initargs[6]: root=/dev/md0
initargs[7]: BOOT_IMAGE=vmlinuz
initargs[8]: single
Then the same error 14.
Parameter 8 came from me typing "linux single" at the isolinux boot
prompt, and the rest appear to be consistent with the entry in my
grub.conf:
title Fedora Core (2.6.7-1.517)
root (hd0,0)
kernel /boot/vmlinuz-2.6.7-1.517 ro root=LABEL=/
psmouse.proto=bare selinux=0 vga=ask
initrd /boot/initrd-2.6.7-1.517.img
The only idea I get out of that is that I have an awful lot of boot
parameters; are we overrunning a buffer used to pass them to init or
something?
I also have the "exec of init failed!!!: 14" problem. I am trying to boot using mkinitrd-4.0.5-1, patched to boot an encrypted filesystem (see bug #124789). Things worked fine with the 3.5 series of mkinitrd (no initramfs). I can confirm that the encryped filesystem is properly mounted by initrd. I can also confirm that /sysroot/sbin/init exits at the time of the switchroot call. I modified nash.c to print debug messages similar to those above: initargs[0]: /sbin/init initargs[1]: root=/dev/hda5 initargs[2]: ro initargs[3]: enforcing=1 I am running Rawhide on an iBook. This all seems to be fixed by the patch submitted for bug #129673. https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=102734&action=view I just tested the above patch, and it has fixed my problems too. Review it and roll it in! (Looking at what the patch fixes, all I can say is... Dude?!) Should be happier with mkinitrd-4.0.6 Yes, mkinitrd-4.0.6 works fine; thanks for your work. Closing this bug now... |