Carlos E. R. wrote:
The 03.01.02 at 17:46, David Herman wrote:
My Drives are all IDE drives and the cdrw and dvd are ATAPI. On the first IDE cable I have Seagate Hard drive #1......./dev/hda, the dvd player....................../dev/dvd (a link to /dev/scd0) On the second IDE cable is Seagate HD #2..................../dev/hdc and the cdrw......................../dev/cdrom (a link to /dev/sr0)
I've tried yast2 and hdparm to enable dma on the drives but when all is said and done everything stays as it was :-( (Yast reports "Device /dev/hdx: Cannot set DMA to value 1") hdparm -d1 /dev/hda gets the following result /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) hdparm on the other devices gives similar results
I understand that hdparm fails to set DMA on your Seagate HD, and that is a bad signal. What I would try is connecting both hardisks on IDE cable number one, and the DVD and CDrom on the second cable. I had to do that on my system to get it working faster.
I see that your devices are both scd0 and sr0 which are intrinsically scsi devices, unlike the hdx which non-recording cdroms are generally listed as, e.g. lr-xr-xr-- /dev/cdrom -->/dev/hdd or hdc, hde.....hdx. So, if your device reads something like lrwxrwxr-x /dev/cdrom -->/dev/sr0 I'm banking that you have the ide-scsi module loaded and therefore it is a quasi scsi device. So, the problem is the hparm will not interact with this, such is the case on my system. My CDRW is under the ide-scsi module and my CDrom is under the cd-ide module -- I can set the CDrom but the the RW. Do and lsmod and see if "ide-scsi" is indeed loaded. If so then this is the situation I have explained and hdparm will not interface with these devices because it thinks they're scsi. There are scsi programs but I haven't found one that will do things in the same manner that hdparm will YMMV. Cheers, Curtis.