Cant set DMA mode with hdparm and SiS 5513 IDE
Hi there!
I am having the following problem with setting DMA mode on my SIS 5513 IDE. All help hugely appreciated. hdparm -d 1 /dev/hda gives the following error: /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) cat /proc/pci says: IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 0). Master Capable. Latency=128. I/O at 0x1000 [0x100f]. Bus 0, device 2, function 6: hdparm -i /dev/hda says: /dev/hda: Model=HTS548060M9AT00, FwRev=MGBOA53A, SerialNo=MRLB20L4G85EPC Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: hdparm /dev/hda says: /dev/hda: multcount = 16 (on) IO_support = 1 (32-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 7296/255/63, sectors = 117210240, start = 0 and dmesg says: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx hda: HTS548060M9AT00, ATA DISK drive hdc: UJDA740 DVD/CDRW, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 117210240 sectors (60012 MB) w/7877KiB Cache, CHS=7296/255/63 hdc: attached ide-cdrom driver. hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache Uniform CD-ROM driver Revision: 3.12 Partition check: hda: hda1 hda2 hda3 I am using the debian woody distribution on the latest stable kernel: 2.4.23 Thank you! |
You need to enable 5513 support in the kernel configuration in order to get DMA mode out of your IDE controller. From the kernel docs:
Quote:
Håkan |
All times are GMT -5. The time now is 04:07 PM. |