Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 435926

Summary: [PATCH] create proper device nodes for cdrom in rescue mode
Product: Red Hat Enterprise Linux 4 Reporter: Adam Stokes <astokes>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: atodorov, ddumas, jgranado, jstodola, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-01 21:06:31 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: 391511, 409961    
Attachments:
Description Flags
allow cdrom creation in rescue mode none

Description Adam Stokes 2008-03-04 14:27:54 UTC
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):
10.1.1.81

How reproducible:
100%

Steps to Reproduce:
1. boot into rescue mode
2. attempt to access cdrom
3.
  
Actual results:
cdrom not accessible until after creating block file

Expected results:
cdrom is accessible

Additional info:

Comment 1 Adam Stokes 2008-03-04 14:27:54 UTC
Created attachment 296738 [details]
allow cdrom creation in rescue mode

Comment 2 Chris Lumens 2008-07-28 19:19:26 UTC
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.

Comment 4 RHEL Program Management 2008-10-02 10:36:36 UTC
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
release.

Comment 5 Chris Lumens 2008-11-19 18:39:41 UTC
This should be fixed in anaconda-10.1.1.92-1.

Comment 7 Alexander Todorov 2009-02-17 13:03:39 UTC
Chris,
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?

Comment 9 Jan Stodola 2009-04-21 13:52:23 UTC
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.

Comment 10 Chris Lumens 2009-04-22 19:38:46 UTC
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.

Comment 11 Chris Lumens 2009-04-22 19:42:36 UTC
This will be fixed in anaconda-10.1.1.104-1.

Comment 14 Denise Dumas 2009-04-23 13:28:34 UTC
moving to 4.9 since RC already built

Comment 15 Alexander Todorov 2009-04-24 14:57:05 UTC
(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?

Comment 17 Dave Cantrell 2010-07-01 21:01:25 UTC
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.