Abit BP-6 has both the native intel 440BX/PIIX4 chipset and HPT366
integrated. ide0 & 1 = U/33, ide 2 & 3 = U/66. Yes, that's 8 EIDE
devices. Note that the HPT366 will take the highest available
interrupt. Sharable with the usual cautions.
Unanswered questions:
1. Why does hdparm show drive as PIO=2/DMA=2?
2. Does this setup == file corruption waiting to happen?
3. Does the 17MB/s hdparm v3.5 number seem correct?
Basic procedure:
CAUTION: disk corruption risks unknown.
1. Install with IDE set as primary master on /dev/hda (ide0).
2. Upgrade to 2.2.13 selecting U/66 particulars (config file block
devices segment attached).
3. Apply ide patch
(ftp.us.kernel.org/pub/linux/kernel/people/hedrick/). Recompile kernel.
4. Change all /dev/hda* references to /dev/hdc* in /etc/lilo.conf and
/etc/fstab. Rerun /sbin/lilo. LILO was installed with the partition
option rather than MBR.
5. Power down.
6. Move disk to ide3/master, 80pin cable, reboot (dmesg output
attached).
*****
kernel: 2.2.13 + ide.2.2.13.19991111 patch + HPT366 config file
particulars. No other patches.
main board: Abit BP-6 (S370 Celeron, 2x466), set to boot UDMA66 first.
drive: IBM DJNE (9.1GB, 7200RPM, UDMA66, 80pin cable).
[tim@asap21 tim]# hdparm -tT /dev/hd{c,c,c}
/dev/hdc:
Timing buffer-cache reads: 128 MB in 1.67 seconds =76.65 MB/sec
Timing buffered disk reads: 64 MB in 3.76 seconds =17.02 MB/sec
/dev/hdc:
Timing buffer-cache reads: 128 MB in 1.65 seconds =77.58 MB/sec
Timing buffered disk reads: 64 MB in 3.77 seconds =16.98 MB/sec
/dev/hdc:
Timing buffer-cache reads: 128 MB in 1.64 seconds =78.05 MB/sec
Timing buffered disk reads: 64 MB in 3.77 seconds =16.98 MB/sec
[tim@asap21 tim]# hdparm -iv /dev/hdc
/dev/hdc:
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 = 1027/255/63, sectors = 17803440, start = 0
Model=IBM-DJNA-370910, FwRev=J74OA30K, SerialNo=GH0GHT3Y699
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
BuffType=3(DualPortCache), BuffSize=1966kB, MaxMultSect=16,
MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=1027/255/63, CurSects=-1464860401, LBA=yes
LBA CHS=554/510/63 Remapping, LBA=yes, LBAsects=17803440
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2
config file particulars
-----------------------
# Block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_IDECD_SLOTS is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
IDEDMA_NEW_DRIVE_LISTINGS=y
IDEDMA_PCI_EXPERIMENTAL=y
CONFIG_BLK_DEV_OFFBOARD=y
# CONFIG_BLK_DEV_AEC6210 is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_CMD646 is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_HPT34X is not set
CONFIG_BLK_DEV_HPT366=y
HPT366_FAST_IRQ_PREDICTION=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_PIIX_TUNING=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_DEV_HD is not set
dmesg
-----
Linux version 2.2.13 (root@asap21) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #1 SMP Tue No
v 23 16:18:31 PST 1999
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 525004497 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 524.29 BogoMIPS
Memory: 127816k/131008k available (1032k kernel code, 424k reserved,
1684k data, 52k init)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
per-CPU timeslice cutoff: 25.00 usecs.
CPU0: Intel Celeron (Mendocino) stepping 05
calibrating APIC timer ...
..... CPU clock speed is 524.9971 MHz.
..... system bus clock speed is 74.9995 MHz.
Booting processor 1 eip 2000
Calibrating delay loop... 524.29 BogoMIPS
OK.
CPU1: Intel Celeron (Mendocino) stepping 05
Total of 2 processors activated (1048.58 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0, 19, 20, 21, 22, 23 not connected.
number of MP IRQ sources: 21.
number of IO-APIC registers: 24.
testing the IO APIC.......................
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 0 0 0 0 0 1 1 59
02 0FF 0F 0 0 0 0 0 1 1 51
03 000 00 0 0 0 0 0 1 1 61
04 000 00 0 0 0 0 0 1 1 69
05 000 00 0 0 0 0 0 1 1 71
06 000 00 0 0 0 0 0 1 1 79
07 000 00 0 0 0 0 0 1 1 81
08 000 00 0 0 0 0 0 1 1 89
09 000 00 0 0 0 0 0 1 1 91
0a 000 00 0 0 0 0 0 1 1 99
0b 000 00 0 0 0 0 0 1 1 A1
0c 000 00 0 0 0 0 0 1 1 A9
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 0 0 0 0 0 1 1 B1
0f 000 00 0 0 0 0 0 1 1 B9
10 0FF 0F 1 1 0 1 0 1 1 C1
11 0FF 0F 1 1 0 1 0 1 1 C9
12 0FF 0F 1 1 0 1 0 1 1 D1
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 10
IRQ11 -> 11
IRQ12 -> 12
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ17 -> 17
IRQ18 -> 18
.................................... done.
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs
PCI: PCI BIOS revision 2.10 entry at 0xfb420
PCI: Probing PCI hardware
PCI->APIC IRQ transform: (B0,I13,P0) -> 17
PCI->APIC IRQ transform: (B0,I15,P0) -> 16
PCI->APIC IRQ transform: (B0,I19,P0) -> 18
PCI->APIC IRQ transform: (B0,I19,P1) -> 18
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.9)
apm: disabled - APM is not SMP safe.
Real Time Clock Driver v1.09
loop: registered device at major 7
Uniform Multi-Platform E-IDE driver Revision: 6.20
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:pio, hdb:pio
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
HPT366: not 100% native mode: will probe irqs later
ide1: BM-DMA at 0xe000-0xe007, BIOS settings: hdc:DMA, hdd:pio
HPT366: IDE controller on PCI bus 00 dev 99
HPT366: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xec00-0xec07, BIOS settings: hde:pio, hdf:pio
hda: FX400_02, ATAPI CDROM drive
hdc: IBM-DJNA-370910, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0xd800-0xd807,0xdc02 on irq 18
hdc: IBM-DJNA-370910, 8693MB w/1966kB Cache, CHS=17662/16/63, UDMA(66)
hda: ATAPI 4X CD-ROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]
eth0: Lite-On 82c168 PNIC at 0xd400, 00 a0 cc 58 f8 67, IRQ 17.
eth0: MII transceiver found at MDIO address 1, config 3000 status 7829.
eth0: Advertising 01e1 on PHY 1, previously advertising 01e1.
Partition check:
hdc: [PTBL] [1027/255/63] hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 52k freed
Adding Swap: 514040k swap-space (priority -1)
eth0: Changing PNIC configuration to full-duplex, CSR6 812e0200.
>
--