Hmmm well actually hda is not on the hpt366 its drive hde
 In anyevent I tried that on hde and after a few seconds this is what happens:

[root@gratz1 /root]# hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 12
hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hde: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 12
hde: irq timeout: status=0xd0 { Busy }
hde: DMA disabled
ide2: reset: success
 
[root@gratz1 /root]# hdparm /dev/hde
 
/dev/hde:
 multcount    = 16 (on)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 33416/16/63, sectors = 33683328, start = 0
 
[root@gratz1 /root]# hdparm -t /dev/hde
 
/dev/hde:
 Timing buffered disk reads:  64 MB in 17.06 seconds =  3.75 MB/sec
[root@gratz1 /root]#                                                            
On Tue, 20 Jun 2000, you 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

Reply via email to