Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 71499 - (IDE)mounting cdrom hangs Compaq DL360
Summary: (IDE)mounting cdrom hangs Compaq DL360
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.3
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
: 71819 86272 87742 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2002-08-14 13:43 UTC by Rodney Lancaster
Modified: 2008-08-01 16:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-09-30 15:39:50 UTC

Attachments (Terms of Use)

Description Rodney Lancaster 2002-08-14 13:43:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722

Description of problem:
Mounting a cdrom hangs the system after loading RH 7.3 Professional. If
automounting of removable media is enables (by default) just inserting a CD will
hang the system.

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

How reproducible:

Steps to Reproduce:
1.Load 7.3 either as server, everything, or custom on a Compaq DL360
2.Insert CD in the changer.
3.System hangs

Actual Results:  System hangs

Expected Results:  CD should have mounted.

Additional info:

Loaded machine with RH 7.2 and it worked fine.   Checked on Compaq/HP's site and
loaded the latest ROMPaq for Linux (4.03A) which did not change anything.  No
output or error messages are seen.

Comment 1 Elliot Lee 2002-08-16 01:25:31 UTC
Likely to be a kernel problem.

Comment 2 Arjan van de Ven 2002-08-16 08:03:39 UTC
can you check with hdparm if DMA is enabled to the cdrom ?

Comment 3 Rodney Lancaster 2002-08-16 14:20:11 UTC
Is this something you need me to do (submitter of bug report)?  If so I have a
problem in that the server has to be put in service today and to do so, I have
had to load RH7.2 on it as that works and I believe that all the other DL360's
we have in house are in production use.  If this is something I can check as a
BIOS setting, that I think I can do.

Comment 4 Richard Black 2002-08-22 23:07:34 UTC
The fix has been found for the cdrom DMA issue which can affect certain systems 
with plain cdrom drives and certain particular ide chipsets.  The problem 
excludes DVD drives and CDRW drives.

The problem is that the following grep command requires the "-H" parameter for 
the awk command to function as expected.  So we change the following block of 
code in /etc/rc.sysinit:

# Turn off DMA on CD-ROMs. It more often than not causes problems.
if [ -x /sbin/hdparm -a -e /proc/ide ]; then
  for N in `grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ prin
t $5 }'`; do
   hdparm -q -d0 /dev/$N >/dev/null 2>&1

to the following:

# Turn off DMA on CD-ROMs. It more often than not causes problems.
if [ -x /sbin/hdparm -a -e /proc/ide ]; then
  for N in `grep -Hv ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ 
t $5 }'`; do
   hdparm -q -d0 /dev/$N >/dev/null 2>&1

Richard Black

Comment 5 Bill Nottingham 2002-08-23 20:11:20 UTC
As stated *multiple* times, that is not the proper fix, that code is no longer
in initscripts.

Comment 6 Rodney Lancaster 2002-08-26 14:21:44 UTC
If the code is nolonger in initscripts, where does the proper fix go?  

Also, was the testing done on a Compaq DL360?  If so, I might be able to update
the system now, otherwise it will be going live with 7.2 until I can test it on
a DL360 (whic I don't have a spare yet).

Comment 7 Alan Cox 2003-06-09 14:15:55 UTC
ide=nodma should solve it for now. DL360 requires some special care and handling
for the general case which I've been resolving with a Compaq engineer

Comment 8 Alan Cox 2003-06-09 14:17:47 UTC
*** Bug 71819 has been marked as a duplicate of this bug. ***

Comment 9 Alan Cox 2003-06-09 14:21:17 UTC
*** Bug 86272 has been marked as a duplicate of this bug. ***

Comment 10 Alan Cox 2003-06-09 14:22:00 UTC
*** Bug 87742 has been marked as a duplicate of this bug. ***

Comment 11 Bugzilla owner 2004-09-30 15:39:50 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem

The Fedora Legacy project ( maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at:

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