|
Home > Archive > alt.os.linux > October 2002 > dma and i845 chipset
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
dma and i845 chipset
|
|
| Allen Gilliland 2002-10-28, 7:24 am |
| I've just been poking around on my system and found that dma is
certainly not working on my system. I found a couple sites noting
that dma may not work with the i845 chipset. Is this still true?
Does anyone have information on how to work around this or is there a
patch available?
here's some specs:
Albatron PX845PEV Pro motherboard using i845PE chipset with intel
Pentium 4
Western Digital 100GB Special Edition WD1000JB HD
Gentoo Linux 1.4_rc1 using linux 2.4.19 vanilla-source
Here's the steps I've gone through ...
bash-2.05a# ./hdparm -i /dev/hda
/dev/hda:
Model=WDC WD1000JB-00CRA0, FwRev=16.06V16, SerialNo=WD-WMA8C1493992
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs
FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
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: 1 2 3 4 5
bash-2.05a# ./hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 8 (on)
geometry = 12161/255/63, sectors = 195371568, start = 0
bash-2.05a# ./hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
same exact thing happens on hdb, which is a totally different hard
drive.
I'd love to hear how I can get this working ... drive speeds this slow
are excruciating 
| |
| Brian Riehman 2002-10-28, 12:25 pm |
| I have the same exact thing on my system. I am using Gentoo 1.2 w/ 2.4.19.
I am using 2 Maxtor HDs though and I get the exact same error message as
you. I am using EpoX 4G4A+ w/ i845G chipset and have found no solutions to
the problem. Let me know if you figure it out.
-Brian
"Allen Gilliland" <alleng4@yahoo.com> wrote in message
news:565e160a.0210280247.509ca717@posting.google.com...
> I've just been poking around on my system and found that dma is
> certainly not working on my system. I found a couple sites noting
> that dma may not work with the i845 chipset. Is this still true?
> Does anyone have information on how to work around this or is there a
> patch available?
>
> here's some specs:
>
> Albatron PX845PEV Pro motherboard using i845PE chipset with intel
> Pentium 4
> Western Digital 100GB Special Edition WD1000JB HD
> Gentoo Linux 1.4_rc1 using linux 2.4.19 vanilla-source
>
> Here's the steps I've gone through ...
>
>
> bash-2.05a# ./hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=WDC WD1000JB-00CRA0, FwRev=16.06V16, SerialNo=WD-WMA8C1493992
> Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs
> FmtGapReq }
> RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
> BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
> 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: 1 2 3 4 5
>
> bash-2.05a# ./hdparm /dev/hda
>
> /dev/hda:
> multcount = 16 (on)
> IO_support = 3 (32-bit w/sync)
> unmaskirq = 0 (off)
> using_dma = 0 (off)
> keepsettings = 1 (on)
> readonly = 0 (off)
> readahead = 8 (on)
> geometry = 12161/255/63, sectors = 195371568, start = 0
>
>
> bash-2.05a# ./hdparm -d1 /dev/hda
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
>
> same exact thing happens on hdb, which is a totally different hard
> drive.
>
> I'd love to hear how I can get this working ... drive speeds this slow
> are excruciating 
| |
| Allen Gilliland 2002-10-28, 7:24 pm |
| Well ... I finally got this to work. I had to go ahead and compile
the 2.4.20_pre11 development kernel, but at least it works. I tried
the gentoo-sources kernel, but that didn't fix the problem for me.
Some other posts I found said something about using 2.4.19_ac4 ... but
I couldn't even get that to compile, so I dropped it.
Anyways ... 2.4.20_pre11 works for me. Its the latest prepatch of the
stable kernel on kernel.org right now.
[root@knox:/home/knox ]$ hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 8 (on)
geometry = 12161/255/63, sectors = 195371568, start = 0
[root@knox:/home/knox ]$ hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 1.75 seconds = 36.57 MB/sec
now thats more like it 
"Brian Riehman" <briehman@purdue.edu> wrote in message news:<apjtkf$q3p$1@mozo.cc.purdue.edu>...
> I have the same exact thing on my system. I am using Gentoo 1.2 w/ 2.4.19.
> I am using 2 Maxtor HDs though and I get the exact same error message as
> you. I am using EpoX 4G4A+ w/ i845G chipset and have found no solutions to
> the problem. Let me know if you figure it out.
>
> -Brian
|
|
|
|
|