Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm and DMA(solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Wed Nov 09, 2005 9:55 am    Post subject: hdparm and DMA(solved) Reply with quote

My computer it seems does not want to do DMA, hdparm reports below are confising at best; the drive is in UDMA2 mode, but using dma is off?

Code:

anferny init.d # hdparm -i /dev/hda

/dev/hda:

 Model=QUANTUM FIREBALLP LM15, FwRev=A35.0700, SerialNo=183016435537
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1900kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=29336832
 IORDY=on/off, tPIO={min:120,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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:

 * signifies the current active mode

anferny init.d # hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
anferny init.d #


This is about all dmesg says about hardware
Code:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: QUANTUM FIREBALLP LM15, ATA DISK drive
Probing IDE interface ide1...
hdd: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 29336832 sectors (15020 MB) w/1900KiB Cache, CHS=29104/16/63
hda: cache flushes not supported
 hda: hda1 hda2 hda3
hdd: max request size: 128KiB
hdd: Host Protected Area detected.
        current capacity is 66055248 sectors (33820 MB)
        native  capacity is 78177792 sectors (40027 MB)
hdd: Host Protected Area disabled.
hdd: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63
hdd: cache flushes supported
 hdd: hdd1 hdd2 < hdd5 hdd6 hdd7 hdd8 >
libata version 1.12 loaded.

lspci says:
Code:
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)


Can anyone help me enable DMA on this system, for at least the first, proferably both drives?
_________________
My Public Key

Wanted: Instructor in the art of Bowyery


Last edited by nevynxxx on Thu Nov 10, 2005 11:27 am; edited 1 time in total
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Wed Nov 09, 2005 10:33 am    Post subject: Reply with quote

You are using the generic IDE driver and it has no idea what DMA is doing. Hdparm cannot enable dma with the generic ide driver. Disable it in your kernel config and enable the correct IDE driver for your chipset (VIAsomething).
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Wed Nov 09, 2005 11:58 am    Post subject: Reply with quote

Ahh I see. I have done that, and installed the new kernel.

I will wait untill I get home to restart the machine and see if theer is any effect though :)

Thanks
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Thu Nov 10, 2005 11:26 am    Post subject: Reply with quote

That seems to have worked. Thanks.
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum