Seagate ST38641A Drives w/ 440LX MB - UDMA problem?

Seagate ST38641A Drives w/ 440LX MB - UDMA problem?

Post by Christopher Crame » Thu, 09 Jul 1998 04:00:00



I was hoping someone could help me out.  We just recently got in a PC that
will be running as a disk server for both Unix machines and some Wintel
machines (using Samba).  We have 2 8.6 GB drives (Seagate ST38641A).
During the installation of Linux (RedHat 5.1 - 2.0.34 kernel) the system
kept crashing.  I finally got the OS installed by tweaking some of the
BIOS settings.  

The problem is that once the system was up and running, disk access was
painfully slow (between 0.07MB/s and 0.21 MB/s).  I am not sure if this is
a problem with the UDMA onboard controller or not.

I don't know if this is related, but we get the following error message
during system boot:

Jul  7 11:49:09 aardvark kernel: Partition check:
Jul  7 11:49:09 aardvark kernel:  hda:hda: set_multmode: status=0x51 {
    DriveReady SeekComplete Error }
Jul  7 11:49:09 aardvark kernel: hda: set_multmode: error=0x04 {
    DriveStatusError }

Doing a cat of /proc/pci gives (among other things) the following info
about the IDE controller:

  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  
      I/O at 0xf000.

hdparm -i /dev/hda gives:

/dev/hda:

 Model=ST38641A, FwRev=3.05, SerialNo=VR135340
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16676/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=0(?), BuffSize=128kB, MaxMultSect=32, MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
 CurCHS=16676/16/63, CurSects=16809408, LBA=yes, LBAsects=16809660
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4

hdparm /dev/hda gives:

/dev/hda:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1046/255/63, sectors = 16809660, start = 0

If anyone has some ideas, they would be greatly appreciated.

Thanks,
Chris

-----------------------------------------------------------------------
Chris Cramer, PhD  -     "The world is my country, all mankind are my

                                       -Thomas Paine

 
 
 

Seagate ST38641A Drives w/ 440LX MB - UDMA problem?

Post by Brion Vibbe » Thu, 09 Jul 1998 04:00:00



> The problem is that once the system was up and running, disk access was
> painfully slow (between 0.07MB/s and 0.21 MB/s).  I am not sure if this is
> a problem with the UDMA onboard controller or not.

You might try applying the UDMA patch to your kernel, this should speed
up your drives (though I can't think why they'd be _that_ slow); the
2.0.34/35 patch is more or less in beta at the moment but seems fairly
stable... I am forwarding you a copy of the patch against 2.0.35pre5 by
e-mail.

Hope this helps...