On Monday September 9 2002 11:28 pm, dfox wrote:
> >     Run (as root) 'hdparm -i /dev/hdx' on it (also try 'hdparm -I'
> > to=20 read the drive info directly from the drive's firmware), for
> > example
>
> OK. I'll bite - I have my /dev/hda and /dev/hdb set with 32-bit on
> and dma on.
>
> I do an 'hdparm -i /dev/hdb' and see that my drive (IBM deskstar
> 30 gig) is capable of udma5, but there's an asterisk in front.

  That means Mandrake optimized your drive for udma5, if you didn't

>  Model=IBM-DTLA-307030, FwRev=TX4OA50C, SerialNo=YKDYKTJ8513
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
>  BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=60036480
>  IORDY=on/off, tPIO={min:240,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=yes: disabled (255)
>  Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-2 ATA-3
> ATA-4 ATA-5

    ata/100 drive, 7200rpm, 2mb cache. I had one (it died after 9 
months). Mandrake always automagically set mine at ata/100, hdparm -t 
reported burst tranfers of 36mb/sec.

> And what (if relevant) is the difference between udma and mdma? I
> should add that I have not put this drive on ATA-100 because of
> reported issues with that interface - this may also be a non-issue
> right now, but I don't think it was ca March of 2001, and I already
> have an older drive (Maxtor) on /dev/hda. So, I didn't want to hose
> things *too* much.

     Basically mdma (or just dma) is plain direct memory access, udma is 
Ultra-dma.  Look at the Programmed Input/Output (PIO) modes line, then 
the dma line.  The progression is pio0 (3.3mb/s) to udma5 (100mb/s).
If the drive supports udma5, as yours does, then that's where you want 
to run it.  Unless you overclock the FSB (and correspondingly the PCI 
bus the drive runs on) too much, or have some other hardware (usually 
mobo) problems, you should have no worries runnin a drive at it's peak 
udma setting.

> Needless to say, I suppose I can try "better" modes (does hdparm
> display which? it seems just to say that I'm using DMA, but doesn't
> mention which).

     That asterisk says your at udma5 (ie, *udma5)

     I'll bet you're already there David (ie, ata/100) Look at your 
dmesg ouput. You'll probly see a line similar to this

tom# less /var/log/dmesg   (and scroll down)
hdb: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, 
UDMA(100)     [<--- ata/100]
-- 
    Tom Brinkman                  Corpus Christi, Texas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to