Red Hat Bugzilla – Bug 435926
[PATCH] create proper device nodes for cdrom in rescue mode
Last modified: 2010-10-22 18:59:56 EDT
Description of problem:
When starting the system with rescue mode using the installation CD for RHEL4.x,
/dev/hdx (for DVD-RAM drive) is not made.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot into rescue mode
2. attempt to access cdrom
cdrom not accessible until after creating block file
cdrom is accessible
Created attachment 296738 [details]
allow cdrom creation in rescue mode
I think a slightly better way of doing this patch would be to call
isys.flushDriveDict in rescue.py immediately before makeDriveDeviceNodes. That
would mean less random device probing/opening/closing in the regular install case.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This should be fixed in anaconda-10.1.1.92-1.
I've tried this with Xen FV guest and the only device nodes in rescue mode are /dev/hda* where /dev/hda is the hard drive of the system. No sign of /dev/hdc which is supposed to be the CDROM drive. This was with anaconda-10.1.1.96-1. Is it supposed to work under Xen or I need physical machine to test it?
Tested with RHEL4-U8-re20090416.0-x86_64-AS (anaconda-10.1.1.103-1) on physical machine and node for CDROM drive is still missing in /dev directory.
Having examined the code again, it looks like I should have applied the original patch instead of doing one up myself. I'll back out what I did, apply the first patch, and push.
This will be fixed in anaconda-10.1.1.104-1.
moving to 4.9 since RC already built
(In reply to comment #14)
> moving to 4.9 since RC already built
Can we remove this bug from the advisory since moved to 4.9?
anaconda is not an approved component for RHEL 4.9 since we are not generating new media, this bug should not be in MODIFIED because there is no new anaconda available.