View previous topic :: View next topic |
Author |
Message |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Wed Nov 09, 2005 9:55 am Post subject: hdparm and DMA(solved) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bollucks l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 27 Oct 2004 Posts: 606
|
Posted: Wed Nov 09, 2005 10:33 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Wed Nov 09, 2005 11:58 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Thu Nov 10, 2005 11:26 am Post subject: |
|
|
That seems to have worked. Thanks. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|