johnnysd455 |
11-18-2008 04:15 AM |
Is one of my hard drives borked?
All three disks are on a Promise 20269 controller. Two with CSEL on the primary channel, and one on the secondary jumpered to master.
Previously I was using kernel version 2.4.23, and had extremely poor performance for ALL my drives. 2.6.27.6 has greatly improved the performance of hdf/hdg, but hde is still utter crap. hde/hdf should be identical, same firmware, both serials start with WMA8C4, so they should've been produced around the same time.
I can list my kernel configuration options if you think it'd help but seeing as how only one drive exhibits these symptoms I didn't think it relevant.. then I didn't think lspci output was really relevant, either.
Is one of my drives FUBAR, or is there something else I can check? I've tried everything I could think of! I even tried turning off DMA and got measly 2.5MB/s reads from hde. I set acoustic management to 254, which I believe it may have already been set at. No change.
hdparm -i output for each 120GB drive:
Code:
root@shrike:~# hdparm -i /dev/hde; hdparm -i /dev/hdf; hdparm -i /dev/hdg
/dev/hde:
Model=WDC WD1200JB-00CRA1, FwRev=17.07W17, SerialNo=WD-WMA8C4554712
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,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: Unspecified: ATA/ATAPI-1,2,3,4,5
* signifies the current active mode
/dev/hdf:
Model=WDC WD1200JB-00CRA1, FwRev=17.07W17, SerialNo=WD-WMA8C4612467
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,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: Unspecified: ATA/ATAPI-1,2,3,4,5
* signifies the current active mode
/dev/hdg:
Model=WDC WD1200JB-00GVA0, FwRev=08.02D08, SerialNo=WD-WCALK1026982
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,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: Unspecified: ATA/ATAPI-1,2,3,4,5,6
* signifies the current active mode
hdparm output with no options for each drive:
Code:
root@shrike:~# hdparm /dev/hde;hdparm /dev/hdf; hdparm /dev/hdg
/dev/hde:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 234441648, start = 0
/dev/hdf:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 234441648, start = 0
/dev/hdg:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 234441648, start = 0
hdparm -Tt results, read tests:
Code:
root@shrike:~# hdparm -Tt /dev/hde; hdparm -Tt /dev/hdf; hdparm -Tt /dev/hdg
/dev/hde:
Timing cached reads: 498 MB in 2.00 seconds = 248.83 MB/sec
Timing buffered disk reads: 14 MB in 3.48 seconds = 4.02 MB/sec
/dev/hdf:
Timing cached reads: 578 MB in 2.00 seconds = 288.96 MB/sec
Timing buffered disk reads: 120 MB in 3.02 seconds = 39.73 MB/sec
/dev/hdg:
Timing cached reads: 572 MB in 2.00 seconds = 285.96 MB/sec
Timing buffered disk reads: 156 MB in 3.00 seconds = 51.96 MB/sec
Write Tests (to a filesystem) using dd and /dev/zero:
Code:
/dev/hde:
root@shrike:/mnt/storage1# dd if=/dev/zero of=./wtest bs=16k count=12k
12288+0 records in
12288+0 records out
201326592 bytes (201 MB) copied, 71.317 s, 2.8 MB/s
/dev/hdf:
root@shrike:/mnt/storage3# dd if=/dev/zero of=./wtest bs=16k count=12k
12288+0 records in
12288+0 records out
201326592 bytes (201 MB) copied, 3.85981 s, 52.2 MB/s
/dev/hdg:
root@shrike:/mnt/sto1# dd if=/dev/zero of=./wtest bs=16k count=12k
12288+0 records in
12288+0 records out
201326592 bytes (201 MB) copied, 4.31751 s, 46.6 MB/s
System information.. uname output + dmesg snippets:
Code:
root@shrike:~# uname -a
Linux shrike 2.6.27.6 #1 Fri Nov 14 23:43:22 EST 2008 i686 AMD Athlon(tm) XP 2100+ AuthenticAMD GNU/Linux
[ 0.548411] Uniform Multi-Platform E-IDE driver
[ 0.548629] pdc202xx_new 0000:00:0a.0: IDE controller (0x105a:0x4d69 rev 0x02)
[ 0.548782] PCI: setting IRQ 11 as level-triggered
[ 0.548787] pci 0000:00:0a.0: found PCI INT A -> IRQ 11
[ 0.548884] pci 0000:00:0a.0: sharing IRQ 11 with 0000:00:06.0
[ 0.548998] pci 0000:00:0a.0: sharing IRQ 11 with 0000:00:10.1
[ 0.559141] pdc202xx_new 0000:00:0a.0: PLL input clock is 16643 kHz
[ 0.589235] pdc202xx_new 0000:00:0a.0: 100% native mode on irq 11
[ 0.589337] ide2: BM-DMA at 0xc400-0xc407
[ 0.589439] ide3: BM-DMA at 0xc408-0xc40f
[ 0.589536] Probing IDE interface ide2...
[ 0.853143] hde: WDC WD1200JB-00CRA1, ATA DISK drive
[ 1.108106] hdf: WDC WD1200JB-00CRA1, ATA DISK drive
[ 1.158910] hde: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1.159883] hde: UDMA/100 mode selected
[ 1.161015] hdf: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1.162000] hdf: UDMA/100 mode selected
[ 1.163137] Probing IDE interface ide3...
[ 1.427060] hdg: WDC WD1200JB-00GVA0, ATA DISK drive
[ 2.038775] hdg: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 2.040058] hdg: UDMA/100 mode selected
[ 2.041456] ide2 at 0xd400-0xd407,0xd002 on irq 11
[ 2.041608] ide3 at 0xcc00-0xcc07,0xc802 on irq 11
[ 4.141556] hde: max request size: 128KiB
[ 4.611932] hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=65535/16/63
[ 4.612148] hde: cache flushes not supported
[ 4.612306] hde: hde1 hde2 < hde5 >
[ 4.629529] hdf: max request size: 128KiB
[ 4.637249] hdf: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=65535/16/63
[ 4.637476] hdf: cache flushes not supported
[ 4.637604] hdf: hdf1 hdf2 < hdf5 >
[ 4.656432] hdg: max request size: 512KiB
[ 4.672864] hdg: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
[ 4.675073] hdg: cache flushes supported
[ 4.675185] hdg: hdg1
lspci -v output:
Code:
root@shrike:~# lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Subsystem: VIA Technologies, Inc. Unknown device 0000
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [80] Power Management version 2
00:06.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Matrox Graphics, Inc. Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 192, IRQ 11
Memory at dfffc000 (32-bit, non-prefetchable) [size=16K]
Memory at de000000 (32-bit, prefetchable) [size=8M]
Memory at df000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at dffe0000 [disabled] [size=64K]
00:07.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
Subsystem: VIA Technologies, Inc. VT6421 IDE RAID Controller
Flags: bus master, medium devsel, latency 192, IRQ 10
I/O ports at ec00 [size=16]
I/O ports at e800 [size=16]
I/O ports at e400 [size=16]
I/O ports at e000 [size=16]
I/O ports at dc00 [size=32]
I/O ports at d800 [size=256]
Expansion ROM at dffd0000 [disabled] [size=64K]
Capabilities: [e0] Power Management version 2
00:0a.0 Mass storage controller: Promise Technology, Inc. 20269 (rev 02) (prog-if 85)
Subsystem: Promise Technology, Inc. Ultra133TX2
Flags: bus master, 66MHz, slow devsel, latency 192, IRQ 11
I/O ports at d400 [size=8]
I/O ports at d000 [size=4]
I/O ports at cc00 [size=8]
I/O ports at c800 [size=4]
I/O ports at c400 [size=16]
Memory at dfff8000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at dffc0000 [disabled] [size=16K]
Capabilities: [60] Power Management version 1
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 192, IRQ 5
I/O ports at b800 [size=32]
Capabilities: [80] Power Management version 2
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 192, IRQ 11
I/O ports at bc00 [size=32]
Capabilities: [80] Power Management version 2
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 192, IRQ 10
I/O ports at c000 [size=32]
Capabilities: [80] Power Management version 2
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 192, IRQ 12
Memory at dfff7f00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: VIA Technologies, Inc. Unknown device 0000
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 14
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable)
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable)
I/O ports at fc00 [size=16]
Capabilities: [c0] Power Management version 2
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: medium devsel, IRQ 10
I/O ports at b400 [size=256]
Capabilities: [c0] Power Management version 2
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Micro-Star International Co., Ltd. Unknown device 7120
Flags: bus master, medium devsel, latency 192, IRQ 5
I/O ports at b000 [size=256]
Memory at dfff7e00 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
|