[ale] kernel frustrations

phrostie pfrostie at yahoo.com
Mon Apr 1 09:04:24 EST 2002


for give my ignorance but what are DMA and PIO modes.

acctually it's slower in 2.4 with the errors than when i'm running the 2.2.
i'm guessing it's spending a lot of time writting error messages.

anyway hdparm -i /dev/hda gives:

<snip>
/dev/hda:

 Model=WDC WD300AB-00BVA0, FwRev=21.01H21, SerialNo=WD-WMA7H1453518
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=58633344
 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 udma0 udma1 udma2 udma3 udma4 udma5 
 AdvancedPM=no
 Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 
</snip>


>
> 	My first stab: are you running in DMA mode of > 2 (UDMA 66 or 100?)
> with a 40 pin cable?  Usually, the driver recognizes this, and disallows
> it.  Try 'hdparm -i /dev/hda' to see what it sez.
>
> 	Another stab would be to see if it happens in PIO mode.  It can be
> incredibly slower, but you'd rather have it slow and right rather than
> fast and wrong....

-- 
Oh, I have slipped the surly bonds of DOS,
and danced the skies on Linux silvered wings.
http://pfrostie.freeservers.com/cad-tastrafy/
http://www.freelists.org/list/cad-linux

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list