Re: [SLUG] DMA doesn't seem to be be working, but everything looks aok...

From: Eric Jahn (eric@ejahn.net)
Date: Tue Mar 29 2005 - 12:34:17 EST


On Tue, 2005-03-29 at 00:17 -0500, Eben King wrote:
...
> What about your IDE controller? Mine looks like this:
>
> Bus 0, device 17, function 1:
> IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
> Master Capable. Latency=32.
> I/O at 0xa400 [0xa40f].

Here's my IDE controller:

Bus 0, device 8, function 0:
    IDE interface: nVidia Corporation nForce3 IDE (rev 165).
      Master Capable. No bursts. Min Gnt=3.Max Lat=1.
      I/O at 0xf000 [0xf00f].

> You need to have support for that controller available (compiled in if you
> boot from IDE, although an initrd may remove that restriction). I have
> this:
>
> ATA/IDE/MFM/RLL support --->
> <*> ATA/IDE/MFM/RLL support

I have it as a module: <M> ATA/ATAPI/MFM/RLL support

> IDE, ATA and ATAPI Block devices --->
> <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support

I have it as a module: <M> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy
support

> [*] PCI IDE chipset support

I also have it compiled in: [*] PCI IDE chipset support

> [*] Generic PCI bus-master DMA support

same here: [*] Generic PCI bus-master DMA support

> [*] Use PCI DMA by default when available

same here: [*] Use PCI DMA by default when available
                [ ] Enable DMA only for disks

> [*] ATA Work(s) In Progress (EXPERIMENTAL)

don't seem to have that one.

> <*> VIA82CXXX chipset support

I have: <M> AMD and nVidia IDE support

Could it be my modules aren't getting loaded? Okay, here is my lsmod
output while running a dvd movie:

64funky:/usr/src/linux# lsmod
Module Size Used by
isofs 36556 0
radeon 130384 2
ipv6 264232 8
parport_pc 37256 0
lp 12456 0
parport 44940 2 parport_pc,lp
amd74xx 14768 1
snd_intel8x0 35988 3
snd_ac97_codec 73220 1 snd_intel8x0
snd_pcm_oss 56680 0
snd_mixer_oss 19520 1 snd_pcm_oss
snd_pcm 100876 3 snd_intel8x0,snd_pcm_oss
snd_timer 24904 1 snd_pcm
snd_page_alloc 12944 2 snd_intel8x0,snd_pcm
gameport 5120 1 snd_intel8x0
snd_mpu401_uart 8192 1 snd_intel8x0
snd_rawmidi 26532 1 snd_mpu401_uart
snd_seq_device 9164 1 snd_rawmidi
snd 56936 14
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 11232 1 snd
mousedev 11852 1
joydev 11456 0
evdev 10944 0
usbhid 33600 0
ohci_hcd 21252 0
eth1394 21776 0
ehci_hcd 30788 0
forcedeth 18432 0
ohci1394 33540 0
vfat 14592 0
fat 48064 1 vfat
it87 23436 0
i2c_sensor 3328 1 it87
i2c_isa 2752 0
i2c_core 26264 3 it87,i2c_sensor,i2c_isa
sbp2 24392 0
ieee1394 372632 3 eth1394,ohci1394,sbp2
psmouse 19340 0
ide_generic 1856 0
ide_disk 20864 0
ide_cd 42016 1
ext3 119760 1
jbd 58224 1 ext3
mbcache 9928 1 ext3
sr_mod 17956 0
cdrom 39208 2 ide_cd,sr_mod
sd_mod 21440 3
usb_storage 68672 0
ide_core 154336 5
amd74xx,ide_generic,ide_disk,ide_cd,usb_storage
sata_sil 9604 2
libata 42632 1 sata_sil
scsi_mod 129888 5 sbp2,sr_mod,sd_mod,usb_storage,libata
unix 29696 572
font 9152 0
vesafb 6960 0
cfbcopyarea 4160 1 vesafb
cfbimgblt 3328 1 vesafb
cfbfillrect 4352 1 vesafb

It looks like every module is being loaded for ide. I'm thinking that
my hardware is not being supported by the modules available. Sounds
like I just need to wait for a later kernel version to come
downstream.

> [snip]
> > PIO modes: pio0 pio1 pio2 pio3 pio4
> > DMA modes: mdma0 mdma1 mdma2
> > UDMA modes: udma0 udma1 *udma2
> > AdvancedPM=no
> >
> > * signifies the current active mode
>
> Maybe that asterisk means that _if_ it uses UDMA, _then_ it uses udma2?

That's what I'm thinking also. Thanks Eben for your thoughts!

-The Ghost of Jim Varney



-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:25:52 EDT