LinHES Forums
http://forum.linhes.org/

DMA And Mixed SATA / PATA System?
http://forum.linhes.org/viewtopic.php?f=2&t=17758
Page 1 of 1

Author:  opel70 [ Mon Jan 28, 2008 9:52 pm ]
Post subject:  DMA And Mixed SATA / PATA System?

Hello,

I am currently running a 500GB SATA hard drive with a PATA DVD drive. I can't seem to enable DMA on the DVD drive. I always get:
Code:
HDIO_SET_DMA failed: Operation not permitted

The results from hdparm -I /dev/dvd are:
Code:
Capabilities:
      LBA, IORDY(can be disabled)
      Buffer size: 64.0kB
      DMA: mdma0 mdma1 mdma2 udma0 *udma1 udma2
             Cycle time: min=120ns recommended=120ns
      PIO: pio0 pio1 pio2 pio3 pio4
          Cycle time: no flow control=120ns IORDY flow control=120ns

when I run hdparm /dev/dvd, it always ends with:
Code:
HDIO_GETGEO failed: Inappropriate ioctl for device

Anyone know what I should do to get DMA enabled? I read (on this page http://thomer.com/howtos/dma_on_sata_dvd.html) about enabling IDE and SATA in the kernel, but I'm not sure whether this is something I need to do, or not. I just know that DVDs are very choppy for me at the moment. Any help would be appreciated.

Thanks,

Author:  larrybpsu [ Mon Jan 28, 2008 10:06 pm ]
Post subject: 

Seeing that you have the DVD as the only drive on the ide chain, it IS setup as the MASTER drive, correct? That may be causing your problem.

Author:  opel70 [ Mon Jan 28, 2008 10:16 pm ]
Post subject: 

Well, I haven't double checked, but when I had a PATA hard drive, they were both configured as primary on the two PATA channels. I may have switched the DVD while getting the SATA drive configured, but I doubt it.

Author:  larrybpsu [ Mon Jan 28, 2008 10:55 pm ]
Post subject: 

Not a problem, Tim!

I can even overlook the obvidous at times....just making sure. I had a problem with my bootup, and it turned out to be the jumper on my DVD drive.

I assume that you're booting from the HD, so that sould show up as /dev/sdan. Does the DVD show up as /dev/hda?

Author:  opel70 [ Tue Jan 29, 2008 8:04 am ]
Post subject: 

I checked last night, and it is set to the master of the chain.

No, the HD is /dev/sda and the DVD is /dev/hdc. No setting in the BIOS has the DVD showing up as anything other than hdc.

Author:  craigtv [ Wed Jan 30, 2008 4:40 pm ]
Post subject: 

I had the same issue, and it turned out to be the cable. Try switching to a pata cable for a hard drive (connect to the master connection), rather than the cable for an optical drive

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/