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

Bug#339057: linux-image-2.6.14-1-686: Cannot turn DMA on for /dev/hda



hi,

with the upgrade to 2.6.14 my system has a horrible interactive feel.
$ uname -a
Linux alan 2.6.14-2-k7 #1 Mon Nov 14 15:33:15 UTC 2005 i686 GNU/Linux
$ lspci -v -s 00:07.1
0000:00:07.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a 
[Master SecP PriP])
        Flags: bus master, medium devsel, latency 32
        I/O ports at d000 [size=16]
        Capabilities: [c0] Power Management version 2


i hit the same problem reported by Curt:
#  hdparm -d1 /dev/hdb
/dev/hdb:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
# hdparm -i /dev/hdb
/dev/hdb:
 Model=Maxtor 6Y120L0, FwRev=YAR41BW0, SerialNo=Y3KGN5ME
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=240121728
 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 udma6
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: (null):
 * signifies the current active mode

and the same goes for hda.

i use initramfs-tools, and as far as i can tell *the via82cxxx module is 
driving the disks*.

$ lsmod
[...]
ide_cd                 43780  0
cdrom                  40800  1 ide_cd
ide_disk               18944  8
ide_generic             1280  0 [permanent]
ide_core              130908  5 generic,via82cxxx,ide_cd,ide_disk,ide_generic
unix                   28336  532
$ ls /sys/bus/pci/drivers/
8139too  PCI_IDE  VIA 82xx Audio  VIA_IDE  agpgart-via  parport_pc [...]
$ ls /sys/bus/pci/drivers/VIA_IDE/
0000:00:07.1  bind  new_id  unbind

cheers,
alessandro

--
Alessandro Amici  <a.amici@bopen.it>  -  PGP 1024D/B6E5103F
Responsabile Tecnico - B-Open Solutions srl - http://www.bopen.it/
Via Casilina, 3/T - 00182 Roma - tel: +39 06 9784 5062



Reply to: