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

Re: No dma for via82cxxx



Andree Zeulner schrieb:
Ok here is what I have done:

In /etc/discover.conf blocked loading the module ide_generic to make shure it is not loading before via82cxxx, after that I included ide_generic in /etc/modules.

lsmod | grep ide
ide_generic             1856  0
ide_cd                 42016  0
cdrom                  39208  2 sr_mod,ide_cd
ide_disk               20864  2
ide_core              154400  4 via82cxxx,ide_generic,ide_cd,ide_disk

lsmod | grep via
via82cxxx              13872  1
i2c_viapro              7884  0
i2c_core               26264  4 fscher,eeprom,i2c_sensor,i2c_viapro
ide_core              154400  4 via82cxxx,ide_generic,ide_cd,ide_disk
sata_via                8644  3
libata                 42568  1 sata_via

hdparm -m 16 -d 1 -c 3 -X69 /dev/hda

/dev/hda:
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 69 (UltraDMA mode5)
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 using_dma    =  0 (off)

unfortunately still the same...

my question is now do I realy need discover?
otherwise I would delete and give /etc/modules the full control over my modules.

Since I have nearly the same setup, here is what I get:

>lsmod | egrep "via|ide"
snd_via82xx            29092  1
snd_ac97_codec         73284  1 snd_via82xx
snd_pcm               100876  2 snd_via82xx,snd_pcm_oss
snd_page_alloc         12944  2 snd_via82xx,snd_pcm
gameport                5120  1 snd_via82xx
snd_mpu401_uart         8192  1 snd_via82xx
snd 56936 9 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ide_cd                 42016  0
cdrom                  39208  2 sr_mod,ide_cd
ide_generic             1856  0
via82cxxx              13872  1
ide_disk               20864  5
ide_core              154400  4 ide_cd,ide_generic,via82cxxx,ide_disk

Note, that ide_generic is loaded!

>hdparm /dev/hda
/dev/hda:
 multcount    =  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 16383/255/63, sectors = 80060424192, start = 0

So probably you should check your cables. Those 80pin IDE cables seem somewhat unreliable to me. Try changing the cable with a new/unused one.

Good luck,
Mike



Reply to: