[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Unable to enable IDE harddisc DMA on VIA KT 880, VIA VT 8237 chipset

[Please include my email address in replies]


I was directed here from another mailing list.

I wonder if someone could help me get my hard drives running a a
reasonable performance.  I installed a debian sarge preview in Jan this
year.  See attatched install report if you would like to see the details.

I am currently runing 2.6.8-2-k7, if necessary I can try and get this
package from testing working:


I wanted to see if I had everything setup right first. Let me know if
you know this newer testing kernel has VIA updates.. (I could not find
any in the ChangeLogs on kernel.org for .8->.11)

My /dev/hdc is a Western Digital 180GB drive:

# hdparm -i /dev/hdc


   Model=WDC WD2000LB-00EDA0, FwRev=15.05R15, SerialNo=WD-WMAEP1272292
   Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs
FmtGapReq }
   RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
   BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
   CurCHS=16383/16/63, CurSects=16514064, 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

now2g:/home/now3d# hdparm -d 1 /dev/hdc

   setting using_dma to 1 (on)
   HDIO_SET_DMA failed: Operation not permitted
   using_dma    =  0 (off)

(you can see I was root. Also the drive was not mounted. When mounted it works fine, but is just very slow. I had with iwth DMA working on Mandrake 2.4.x kernel)

I seem unable to enable DMA, which means it is very slow to use.. and
causes my whole system to slow (even with nice -n19).

Kind regards
Debian-installer-version: I got netinst, from the debian site around 2005-01-27
uname -a: Linux now2g 2.6.8-2-k7 #1 Mon Jan 24 03:29:52 EST 2005 i686 GNU/Linux
Date: 2005-01-30 20:00 GMT aprox
Method: <How did you install?  What did you boot off?  If network
      install, from where?  Proxied?>

Machine: ASUS K7T880 custom build
Processor: AthlonXP 3200+ (2.2Ghz)
Memory: 1GB
Root Device: /dev/sda3 SATA drive
# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda3       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda2       /boot           ext3    defaults        0       2
/dev/scd0        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

Output of lspci and lspci -n:

$ lspci -n
0000:00:00.0 0600: 1106:0269 (rev 80)
0000:00:00.1 0600: 1106:1269
0000:00:00.2 0600: 1106:2269
0000:00:00.3 0600: 1106:3269
0000:00:00.4 0600: 1106:4269
0000:00:00.7 0600: 1106:7269
0000:00:01.0 0604: 1106:b198
0000:00:09.0 0200: 11ab:4320 (rev 13)
0000:00:0e.0 0c03: 1045:c861 (rev 10)
0000:00:0f.0 0104: 1106:3149 (rev 80)
0000:00:0f.1 0101: 1106:0571 (rev 06)
0000:00:10.0 0c03: 1106:3038 (rev 81)
0000:00:10.1 0c03: 1106:3038 (rev 81)
0000:00:10.2 0c03: 1106:3038 (rev 81)
0000:00:10.3 0c03: 1106:3038 (rev 81)
0000:00:10.4 0c03: 1106:3104 (rev 86)
0000:00:11.0 0601: 1106:3227
0000:00:11.5 0401: 1106:3059 (rev 60)
0000:00:13.0 0200: 1106:3106 (rev 86)
0000:01:00.0 0300: 10de:0333 (rev a1)

$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0269 (rev 80)
0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1269
0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2269
0000:00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3269
0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4269
0000:00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7269
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:09.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:00:0e.0 USB Controller: OPTi Inc. 82C861 (rev 10)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller(rev 60)
0000:00:13.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV38 [GeForce FX 5950 Ultra] (rev a1)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]


/dev/fd0 missing, and cd/dvd writing not setup.  CD/DVD writer is:
_NEC    ' 'DVD_RW ND-2500A ' '1.06'.
This is an IDE model, which is on /dev/hda, I had to convert it to work as /dev/scd0 to write cds.

Reply to: