Description of Problem: On a computer with only one ide cdrom device ( scsi disks and 1 ide cdrom ) the rc.sysinit script failed to turn off DMA on cdrom. I have met the problem on a compaq proliant 3xx server, because the kernel crashes if you try to use the cdrom with the dma enabled ! Version-Release number of selected component (if applicable): initscripts 6.67 How Reproducible: each time Steps to Reproduce: 1. just boot a system with only one ide cdrom ( scsi disks ) Actual Results: the DMA is ON for the cdrom Expected Results: it should be OFF Additional Information: the problem comes from the : grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ print $5 }'` if you have only one ide device, the grep does not add the path of the file before the matching string, and thus the awk find nothing ! using grep -lv ide-disk..... will solve the problem. Best Regards
Yeah, that code is broken. It's removed in current releases due to it being the wrong way to do things.