ide-dma

From: Holluby István holluby@interware.hu (holluby@interware.hu)
Date: Mon Jan 17 2000 - 15:25:33 EST


    Hi !
    
A few days ago I bought an ide hard disk. It works, but the ide driver is
not able to use dma.
I have kernel 2.2.14 and a Gigabye TX motherboard. I could use ide-dma on the
same motherboard with a quantum disk years ago. Now all other devices are scsi.

I do not know what is wrong, the motherbord, the disk or the ide driver.

Here is the output of hdparm:
*********************************************
cica:~#
cica:~# hdparm -i /dev/hda
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
hda: ST38410A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >

/dev/hda:

 Model=ST38410A, FwRev=3.20, SerialNo=7DX03FB8
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=0(?), BuffSize=512kB, MaxMultSect=32, MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes
 LBA CHS=1023/256/63 Remapping, LBA=yes, LBAsects=16841664
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2

cica:~# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma = 1 (on)

cica:~# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads: hda: dma_intr: status=0x51 { DriveReady SeekComple
te Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: DMA disabled
ide0: reset: success
64 MB in 13.64 seconds = 4.69 MB/sec
***********************************************************

if you have any idea, please mail me.

Holluby Istvan Budapest
(holluby@interware.hu)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:16 EST