Bug 71819
| Summary: | (IDE)The system hangs when trying to mount CD-ROM on Compaq Proliant DL360 G2 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <milos.rackov> |
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 18:49:25 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: | |||
|
Description
Need Real Name
2002-08-19 17:37:36 UTC
Compaq suggested disabling the DMA by issuing: /sbin/hdparm -d0 /dev/cdrom This worked, but I think that system hanging should not happen anyway. Especially since the system worked with RH7.2. 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
done
fi
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 / '{
prin
t $5 }'`; do
hdparm -q -d0 /dev/$N >/dev/null 2>&1
done
fi
Sincerely,
Richard Black
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |