On Wed, 21 Jun 2000, you wrote:
> Vic wrote:
> > 
> > I just type
> > 
> > hdparm -c3d1 /dev/hda
> > 
> > for the first ide drive
> > 
> > On Tue, 20 Jun 2000, you wrote:
> > > Hi all,
> > >   I hope this doesn't cover too well trod ground but I couldn't find any
> > > good answer to it in the archives.  I recently decided to switch to Mandrake
> > > from Red hat when 7.1 came out. One of the statements I saw sent around about it
> > > was that it natively supported the HPT366 UDMA66 interface that is part of the
> > > BP6 motherboard.  Mandrake does successfully work and install on a drive that
> > > is on that bus but the performance I'm getting is horrible, worse than the
> > > drives I have on the BX chip set's native IDE interface.
> > >
> > > I have tried doing "hdparm -d1 -X66 /dev/hde" but the system just locks up
> > > after a few seconds. I've also tried various variations on that but none seem
> > > to work and most lock the machine up.
> > >
> > > Here is a sample of the output from hdparm:
> > > [root@gratz1 /root]# hdparm -i /dev/hde
> > >
> > > /dev/hde:
> > >
> > >  Model=ST317242A, FwRev=3.09, SerialNo=7BP03H3M
> > >  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
> > >  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
> > >  BuffType=unknown, BuffSize=512kB, MaxMultSect=16, MultSect=16
> > >  CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=33683328
> > >  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
> > > [root@gratz1 /root]# hdparm -t /dev/hde
> > >
> > > /dev/hde:
> > >  Timing buffered disk reads:  64 MB in 23.67 seconds =  2.70 MB/sec
> > >
> > > as you can see I'm only getting 2.7 MB/sec when I should be able to get around
> > > 20MB/sec
> > >
> > > Here is info from dmesg regarding HPT366:
> > >
> > > Uniform Multi-Platform E-IDE driver Revision: 6.30
> > > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> > > PIIX4: IDE controller on PCI bus 00 dev 39
> > > PIIX4: not 100% native mode: will probe irqs later
> > >     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
> > >     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
> > > HPT366: onboard version of chipset, pin1=1 pin2=2
> > > PCI: HPT366: Fixing interrupt 18 pin 2 to ZERO
> > > HPT366: IDE controller on PCI bus 00 dev 98
> > > HPT366: not 100% native mode: will probe irqs later
> > >     ide2: BM-DMA at 0xb800-0xb807, BIOS settings: hde:DMA, hdf:pio
> > > HPT366: IDE controller on PCI bus 00 dev 99
> > > HPT366: not 100% native mode: will probe irqs later
> > >     ide3: BM-DMA at 0xc400-0xc407, BIOS settings: hdg:pio, hdh:pio
> > > hda: FUJITSU MPA3035ATU, ATA DISK drive
> > > hdb: Maxtor 83500D4, ATA DISK drive
> > > hdc: E-IDE CD-ROM CR-854E, ATAPI CDROM drive
> > > hde: ST317242A, ATA DISK drive
> > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > > ide1 at 0x170-0x177,0x376 on irq 15
> > > ide2 at 0xb000-0xb007,0xb402 on irq 18
> > > hda: FUJITSU MPA3035ATU, 3337MB w/0kB Cache, CHS=847/128/63
> > > hdb: Maxtor 83500D4, 3339MB w/256kB Cache, CHS=848/128/63
> > > hde: ST317242A, 16446MB w/512kB Cache, CHS=33416/16/63
> > > hdc: ATAPI 54X CD-ROM drive, 128kB Cache
> > >
> > > Here are the entries from /proc/pci:
> > >
> > >   Bus  0, device  19, function  0:
> > >     Unknown mass storage controller: Triones Technologies, Inc. HPT366 IDE 
>UltraDMA/66 (rev 1).
> > >       Medium devsel.  IRQ 18.  Master Capable.  Latency=120.  Min Gnt=8.Max 
>Lat=8.
> > >       I/O at 0xb000 [0xb001].
> > >       I/O at 0xb400 [0xb401].
> > >       I/O at 0xb800 [0xb801].
> > >   Bus  0, device  19, function  1:
> > >     Unknown mass storage controller: Triones Technologies, Inc. HPT366 IDE 
>UltraDMA/66 (rev 1).
> > >       Medium devsel.  IRQ 18.  Master Capable.  Latency=120.  Min Gnt=8.Max 
>Lat=8.
> > >       I/O at 0xbc00 [0xbc01].
> > >       I/O at 0xc000 [0xc001].
> > >       I/O at 0xc400 [0xc401].
> > >
> > > (Just to be pedantic) here is other info from /proc:
> > > [root@gratz1 /proc]# cat interrupts
> > >            CPU0       CPU1
> > >   0:      50435      40884    IO-APIC-edge  timer
> > >   1:       1528        955    IO-APIC-edge  keyboard
> > >   2:          0          0          XT-PIC  cascade
> > >   5:          3          0    IO-APIC-edge  soundblaster
> > >   8:          0          1    IO-APIC-edge  rtc
> > >  12:       3459       4142    IO-APIC-edge  PS/2 Mouse
> > >  13:          1          0          XT-PIC  fpu
> > >  14:        136         88    IO-APIC-edge  ide0
> > >  15:          2          0    IO-APIC-edge  ide1
> > >  17:         10         13   IO-APIC-level  aic7xxx
> > >  18:      33817      33596   IO-APIC-level  ide2, eth0
> > >  19:         37         31   IO-APIC-level  eth1
> > > NMI:          0
> > > ERR:          0
> > > [root@gratz1 /proc]# cat dma
> > >  3: SoundBlaster8
> > >  4: cascade
> > >  5: SoundBlaster16
> > > [root@gratz1 /proc]# cat ioports
> > > 0000-001f : dma1
> > > 0020-003f : pic1
> > > 0040-005f : timer
> > > 0060-006f : keyboard
> > > 0070-007f : rtc
> > > 0080-008f : dma page reg
> > > 00a0-00bf : pic2
> > > 00c0-00df : dma2
> > > 00f0-00ff : fpu
> > > 0170-0177 : ide1
> > > 01f0-01f7 : ide0
> > > 0220-022f : soundblaster
> > > 0330-0333 : MPU-401 UART
> > > 0376-0376 : ide1
> > > 0388-038b : Yamaha OPL3
> > > 03c0-03df : vga+
> > > 03f6-03f6 : ide0
> > > 03f8-03ff : serial(auto)
> > > a400-a41f : eth1
> > > a800-a8ff : eth0
> > > ac00-acfe : aic7xxx
> > > b000-b007 : ide2
> > > b402-b402 : ide2
> > > b800-b807 : ide2
> > > b810-b8ff : HPT366
> > > c400-c407 : ide3
> > > c410-c4ff : HPT366
> > > f000-f007 : ide0
> > > f008-f00f : ide1
> > >
> > >
> > > If anyone can help me with this one I will send you a six pack of your favorite
> > > beer (provided you are of age of course :-).
> > >
> > > Thanks
> > > Paul
> 
> recompile for 386 code, kernel and driver.
> 
> The Seagate IDE drive is marginal at the timing and signal gating
> requirements of 586 code and often locks up.  So do MOST WDs,
> though some of them will work without the Xxx parm and often run
> close to the UDMA66 speed required.
> 
> Read kernel traffic in February to learn why.  It has to do with
> the fact that drive and chipset mfgrs are assuming timing for 386
> code instead of the "official" specs for the interface, and 586
> code timing is tighter, hence reflections on signal gating lines
> that should NOT be there are being observed.
> 
> IBMs, Maxtors, and Quantums in the same position on the same
> board seem to work just fine.
> 

Err, unfortiunatly no, both Diamond Max 6800 ATA/33 & ATA/66 series (eg.
91000D8, 91360U4), seem to be affected with timing issues as well, on the
HPT366... (though they seem to work okay on the Promise Ultra66 (PDC 20262).
I also own an ATA/33 Seagate ST36531A with screwy DMA transfers on the HPT366
as well :-( 


> Civileme

Cheers,
-- 
/* Manu�l Beunder. (aka MBr) 
- http://how.to/sblive the SB Live! Linux page -
'You must be the change you wish to see in this world. -Gandi' */

Reply via email to