Bug 62719 - mkinitrd and devfs
Summary: mkinitrd and devfs
Status: CLOSED DUPLICATE of bug 51848
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: mkinitrd
Version: skipjack-beta1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: David Lawrence
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-04 21:53 UTC by Tim Clymo
Modified: 2007-04-18 16:41 UTC (History)
0 users

Clone Of:
Last Closed: 2002-04-04 21:55:44 UTC

Attachments (Terms of Use)
diffs against mkinitrd-3.3.6-1 to enable better handling of devfs enabled kernel (1.96 KB, patch)
2002-04-04 21:55 UTC, Tim Clymo
no flags Details | Diff

Description Tim Clymo 2002-04-04 21:53:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020314

Description of problem:
I already added this as a comment to bug #55540 but there seems to have been no
response, so I'll try and file as a bug in it's own right...

It would seem that an initrd image generated with mkinitrd up to and including
3.3.6-1 doesn't work quite correctly if using a devfs enabled kernel. More
specifically, the kernel boots OK but there is a non-fatal problem early on in
the init sequence when trying to unmount the initrd filesystem. This is due to
the filesystem being busy as a consequence of /dev being mounted underneath.

The attached patch is something I plagiarised from Mandrake's additions to the
original RH mkinitrd. Fundamentally, all it does is to close I/O on devfs to
allow it to be remounted under real root instead of initrd root, and thus allow
/initrd to be successfully unmounted.

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

How reproducible:

Steps to Reproduce:
1.Build devfs enabled kernel
2.Boot with mkinitrd generated initrd

Actual Results:  System unable to unmount /initrd

Additional info:

Comment 1 Tim Clymo 2002-04-04 21:55:39 UTC
Created attachment 52264 [details]
diffs against mkinitrd-3.3.6-1 to enable better handling of devfs enabled kernel

Comment 2 Erik Troan 2002-05-21 23:14:09 UTC

*** This bug has been marked as a duplicate of 51848 ***

Note You need to log in before you can comment on or make changes to this bug.