Bug 62873
Summary: | boot error message with hdg=ide-scsi | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Joshua Jensen <joshua> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | nphilipp, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-09 21:18:38 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: | 61590 |
Description
Joshua Jensen
2002-04-06 21:59:28 UTC
These lines from rc.sysinit cause the error: [...] # Turn off DMA on CD-ROMs. It more often than not causes problems. if [ -e /proc/ide ]; then for N in `grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ print $5 }'`; do hdparm -d0 /dev/$N done fi [...] First, rc.sysinit should check whether the device in question is ide-scsi and depending on the result either do nothing or disable DMA differently (I don't know if that can be done with hdparm, though). Second, hdparm should be quiet ("hdparm -q"): [...] # Turn off DMA on CD-ROMs. It more often than not causes problems. if [ -e /proc/ide ]; then for N in `grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ print $5 }'`; do if [ -z "$(grep "$N=ide-scsi" /proc/cmdline)" ]; then # no ide-scsi hdparm -q -d0 /dev/$N else # ide-scsi -- ignore or disable DMA differently [...] fi done fi [...] Just noticed that rc.sysinit will ignore CDROMs/DVDs when evaluating /etc/sysconfig/harddisk*. Very bad manners -- if I want wilfully to turn DMA on, don't be standing in my way ;-). Watching DVDs just isn't possible with PIO (and this is a 1.4GHz Athlon) and my DVD works very well with DMA, thank you. And rc.local just isn't an option if there are hooks in rc.sysinit for it. Maybe evaluate /etc/sysconfig/harddisk* for CDROMs/DVDs only when the user waives all support right there? Maybe like this (/etc/sysconfig/harddiskhd*): [...] # DMA on CDROM or DVD causes many problems. # Do not turn this on unless you know what you're doing. This configuration # isn't supported! #I_KNOW_WHAT_IM_DOING=1 [...] The error messages should go away in initscripts-6.62-1. |