Anthony Campbell <[EMAIL PROTECTED]> schrieb:
> I had dma running with kernel 2.4.20. On 2.4.21 hdparm gives an error:
> 
>       HDIO_SET_DMA failed
> 
> Anyone know why this is or what has changed between the two kernels?

Do you have CONFIG_IDEDMA_AUTO or CONFIG_IDEDMA_ONLYDISK enabled ? Try to disable "Use 
PCI DMA by default when available". That should work.

btw: I can't get my cdrom work in DMA mode. I'm getting:

kernel: scsi : aborting command due to timeout : pid 33, scsi0, channel 0, id 0, lun 0 
Read (10) 00 00 00 00 10 00 00 01 00 
kernel: hdb: DMA interrupt recovery
kernel: hdb: lost interrupt
kernel: hdb: status timeout: status=0xd0 { Busy }
kernel: hdb: DMA disabled
kernel: hdb: drive not ready for command
kernel: hdb: ATAPI reset complete
kernel:  I/O error: dev 0b:00, sector 68
kernel: isofs_read_super: bread failed, dev=0b:00, iso_blknum=17, block=17

Or using ide-cd instead of ide-scsi:

kernel: hdb: DMA interrupt recovery
kernel: hdb: lost interrupt
kernel: hdb: status timeout: status=0xd0 { Busy }
kernel: hdb: status timeout: error=0x00
kernel: hdb: DMA disabled
kernel: hdb: drive not ready for command
kernel: hdb: ATAPI reset complete

Everything works fine in PIO mode. In 2.4.20 and earlier kernels I hadn't any problems 
so far.

*Kristian 

-- 

  :... [snd.science] ...:
 ::                             _o)
 :: http://www.korseby.net      /\\
 ::                            _\_V
  :.........................:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to