[ale] enable stubborn DMA mode?

ChangingLINKS.com x3 at ChangingLINKS.com
Thu Feb 6 02:55:37 EST 2003


I am trying to get the DVD player to work on RedHat 8.0.
>From experience, I guess that kernel versions higher than 2.4.9-13 (the last 
kernel my DVD worked with) have DMA disabled. My DVD pauses every 10 seconds 
or so (but works a LOT better on my latest installation).

I tried following the following directions with no luck:
http://k-lug.org/pipermail/klug/2002-October/011545.html

Holely snap-bubbles! I just realized that when I tested the DVD I was able to 
get into X! Apparently the rpm -e for the video drivers worked.

By the way the symptoms that I am having with RedHat 8.0 seem to be due to a 
lack of DMA. 

The exact problems that I am having are listed here: 
http://www.exocore.com/technologies/linux/rhl71dma/
(But, they imply that these problems occur when DMA is on - I get the problems 
with DMA off, and it even caused me not to do a full install just so that I 
could make it through the install).

I have been looking around the Net for a solution, "How do I 'enable via 
support'?

  Jens Axboe <axboe at suse.de> writes:
  > looks like you forgot to enable via support
  That's it, thanks.
  Everything else runs smoothly so far.
  Regards, Olaf.

Here is my system info:

root]# dmesg|grep CD
hdc: DVDROM 10X, ATAPI CD/DVD-ROM drive

root]# hdparm -d1 /dev/hdc
/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)

root]# hdparm -i /dev/hdc

/dev/hdc:

 Model=DVDROM 10X, FwRev=41, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no

root]# hdparm -i /dev/hda

/dev/hda:

 Model=WDC AC310200R, FwRev=17.01J17, SerialNo=WD-WM6750136912
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=512kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=20044080
 IORDY=on/off, tPIO={min:160,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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4

root]# /sbin/hdparm -d1 -m16 -c3 -a1 -u1 /dev/hdc

/dev/hdc:
 setting fs readahead to 1
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 HDIO_SET_MULTCOUNT failed: Invalid argument
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 HDIO_GET_MULTCOUNT failed: Invalid argument
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)
 readahead    =  1 (on)

-- 
Wishing you Happiness, Joy, and Laughter,
Drew Brown
http://www.ChangingLINKS.com
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list