Bug 499057

Summary: Boot hangs at Creating initial device nodes
Product: [Fedora] Fedora Reporter: Jimmy Rentz <jb17bsome>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: hdegoede, j, katzj, pjones, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-06 07:36: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:
Attachments:
Description Flags
fstab
none
booted mkinitrd log
none
rescue disk mkinitrd none

Description Jimmy Rentz 2009-05-05 01:47:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):
6.0.83-1

How reproducible:
Create a initrd img and boot.

Steps to Reproduce:
1. Install rawhide or create an initrd.img
2. Boot kernel.
3.
  
Actual results:
Boot hangs at Creating initial device nodes

Expected results:
Boot works.

Additional info:
Even though the boot hangs the system is minimally functional.  I can do sysrq requests and ctrl-alt-del to reboot but that is all (no init was run I guess).  This is an x86_64 system.
I installed mkinitrd 6.0.71-4 from F10 and the system boots fine.

Comment 1 Hans de Goede 2009-05-05 05:42:02 UTC
Can you please, update mkinitrd back to the latest again and then do:

mkinitrd -v /boot/test.img $(uname -r) &> log

And attached the generated log file here? Thanks!

Can you also please attach your /etc/fstab, and tell us what kind
of hardware your rood file system lives on (sata / ata / dmraid ... ?)

Comment 2 Jimmy Rentz 2009-05-06 00:31:48 UTC
Okay, I did that and I noticed that running mkinitrd from my booted system generates a correct initrd image while using the rescue/install environment does this incorrectly.  THis might be the case since the mkinitrd logs from the rescue environment are missing a root/swap disk reference. 
The root is on a sata drive (ahci).

Comment 3 Jimmy Rentz 2009-05-06 00:32:14 UTC
Created attachment 342564 [details]
fstab

Comment 4 Jimmy Rentz 2009-05-06 00:32:43 UTC
Created attachment 342565 [details]
booted mkinitrd log

Comment 5 Jimmy Rentz 2009-05-06 00:33:01 UTC
Created attachment 342566 [details]
rescue disk mkinitrd

Comment 6 Hans de Goede 2009-05-06 07:36:36 UTC
Ah, yes this is due to the rescue (and install) environment missing a populated /dev, which is fixed by this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=57352b956a84d723c423e732efad8f9311c0d830

Which is in anaconda-11.5.0.49, whichc should show up in rawhide rsn, closing.

Comment 7 Jason Tibbitts 2009-05-07 02:17:37 UTC
Hmm, I tried an install with this morning's rawhide images which indicate that they contain 11.5.0.49 yet I still have this problem (or something very much like it).  It is trivial for me to bring up a guest install and reproduce this, but it seems pretty tough to debug it because I can't interact with the freshly installed system except through grub and there doesn't seem to be any way to coax the initrd to provide more info about what it's doing.

Comment 8 Jason Tibbitts 2009-05-07 15:51:59 UTC
No luck with today's images that have anaconda 11.5.0.50, either.  The behavior is unchanged.  I wonder if I should file a separate bug.

Comment 9 Hans de Goede 2009-05-07 20:47:17 UTC
(In reply to comment #8)
> No luck with today's images that have anaconda 11.5.0.50, either.  The behavior
> is unchanged.  I wonder if I should file a separate bug.  

Yes please file a separate bug, also please do an "ls /mnt/sysimage/dev" from
tty2 while the installer is installing packages.

Also while I'm asking for info, please boot into rescue mode, then make sure
you've got a populated /mnt/sysimage/dev, and if its properly populated, chroot into /mnt/sysimage and run
mkinitrd -v test.img $(uname -r) &> log there, and then attach the log file to the new bug report.

If /mnt/sysimage/dev is not properly populated in either case, this is not an mkinitrd bug, but an anaconda bug.