dma problems with 2.6 kernel and vt8233A southbridge

dma problems with 2.6 kernel and vt8233A southbridge

Post by Duane Even » Wed, 24 Aug 2005 11:24:51


have a problem activating dma on my vt8233A southbridge.
I have 2 identical disks, the second controller works fine -- dma
automatically. I cannot get any dma through my southbridge though.
I have identical disks on the vt8233A controller (hdb) and a HPT372
controller (hdg). The HighPoint controller works fine with the drive,
Maxtor 60G, ATA100.
In the kernel, I've compiled support for the HighPoint chipset in the
kernel, BLK_DEV_HPT366. I've also set automatic use of DMA for IDE
drives, IDEDMA_PCI_AUTO. I don't see any special compile options in
regards to the VT8233A chipset.
On the net, there was some discussion about early 2.4 kernels not
supporting this chipset, but as of 2.4.19, it had been fixed. I've
recently upgraded from my old 2.4.xx to 2.6.11 and now to 2.6.12-6 and
have noticed this performance problem since then.

Here is a sample of some commands I've used to gather information and
correct the problem:
# hdparm -i /dev/hd[abeg]
/dev/hda:
Model=WDC WD1600JB-00FUA0, FwRev=15.05R15, SerialNo=WD-WMAEP1214820
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=268435455
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 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode

/dev/hdb:
Model=Maxtor 96147H6, FwRev=ZAH814Y0, SerialNo=V603P98C
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=120064896
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 *udma5
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 0:
* signifies the current active mode

/dev/hde:
Model=WDC WD1200BB-60CJA0, FwRev=16.06V16, SerialNo=WD-WMAA91061045
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
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 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode

/dev/hdg:
Model=Maxtor 96147H6, FwRev=ZAH814Y0, SerialNo=V60C42GC
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120064896
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 *udma5
AdvancedPM=yes:
 
 
 

dma problems with 2.6 kernel and vt8233A southbridge

Post by Duane Even » Wed, 24 Aug 2005 17:29:00

uane Evenson wrote:
BTW The BIOS allows me to set DMA to OFF or AUTO; it's set to AUTO.