OK, since today is dma-day...:)
I have two HDs, hda and hdc (hdb is the DVD/ROM drive and hdd doesn't 
exist). Both IDE channels have 80-conductor 40-pin cables. 
This is what hdparm -t says:

root $ hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  120 MB in  3.01 seconds =  39.87 MB/sec
 
root $ hdparm -t /dev/hdc

/dev/hdc:
 Timing buffered disk reads:  116 MB in  3.02 seconds =  38.41 MB/sec


Now, it seems that hdc is in udma/100 mode (I didn't set it, guess that 
the kernel probes it...):

root $ hdparm -i -v /dev/hdc

/dev/hdc:
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0

 Model=ST380021A, FwRev=3.19, SerialNo=3HV3V8CL
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 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
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

My problem is the corresponding message for hda:

root $ hdparm -i -v /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 4865/255/63, sectors = 78165360, start = 0

 Model=ST340016A, FwRev=3.05, SerialNo=3HS0QRKR
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
 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
 UDMA modes: udma0 udma1 udma2
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:


As you can see, it would seem that the drive isn't capable of modes 
udma3-5, and moreover hdparm doesn't say what current mode is!
Why not?

When I boot from the RedHat8 partition, hdparm gives messages (for both 
disks) similar to the message for hdc above. Also, in gentoo, dmesg seems 
to say that hda is in udma5 mode:

root $ dmesg|grep hda
    ide0: BM-DMA at 0x8800-0x8807, BIOS settings: hda:DMA, hdb:DMA
hda: ST340016A, ATA DISK drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, 
UDMA(100)

I added hdparm to the default runlevel, but this happened before as well.
Thanks in advance for any idea.
 -- 
Jorge Almeida


--
[EMAIL PROTECTED] mailing list

Reply via email to