pitiful performance of an SATA150 drive

Mikhail Teterin mi+kde at aldan.algebra.com
Mon Mar 26 20:32:06 UTC 2007


On Monday 26 March 2007 15:21, Søren Schmidt wrote:
= What HW was this again, there has been alot of updates/changes over the 
= last year ?

It is now a quad core (dual CPU) Opteron-275 using IWill's DK8X motherboard.

	http://www.google.com/search?q=iwill+dk8x

The SATA controller(s) are by LSI, not NVidia's (unlike in Jeremy's case).

= Could you try an up to date -current kernel on this, at least to get me 
= a decent dmesg from ?

Not easily -- this is my main machine... But _you_ have an account here :-). 
Try ssh-ing to sos at aldan.algebra.com. Your ssh key (same one you use on 
freefall) should work...

= If thats impossible take ATA from current modulus the busdma changes and 
= use that on an up to date 6-stable.

If you create a patch, I'll apply it, and rebuild/reboot, but I'm afraid to 
mess it up... Since I'm not using the drive most of the time (my regular work 
lives on the SCSI disks), I can even build ata and atadisk as modules, so you
can try different changes without rebooting (umount, kldunload, kldload, 
mount).

= I cant tell what interrupts go where without a dmesg...

Attached.

= Other than that, single bit/byte corruption are normally HW troubles of 
= some kind, usually involving bad/incompatible memory or bad chipsets.

The system uses 4Gb of registered ECC memory and is quite stable in other 
respects...

= However, if your drive has been overheated the media might have taken 
= permanent damage that makes it loose data.

The highest temperature the drive has recorded is 63 Celsius.

= What does SMART say on corrected errors etc (if the drive has that info).

Attached.

Thanks! Yours,

	-mi
-------------- next part --------------
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #1: Fri Mar  2 02:11:01 EST 2007
    root at aldan.algebra.com:/meow/obj/var/src/sys/SILVER
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 275 (2205.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f12  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x3<LAHF,CMP>
  Cores per package: 2
real memory  = 4865392640 (4640 MB)
avail memory = 4133154816 (3941 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 8151 AGP graphics tunnel> at device 0.0 on pci0
agp0: 0xffffffff80000000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
device_attach: agp0 attach returned 12
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
drm0: <ATI Radeon NG R300 FireGL X1> port 0x8000-0x80ff mem 0xf0000000-0xf7ffffff,0xde2f0000-0xde2fffff irq 16 at device 0.0 on pci1
info: [drm] Initialized radeon 1.25.0 20060524
pci1: <display> at device 0.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci0: <OHCI (generic) USB controller> mem 0xde3fd000-0xde3fdfff irq 19 at device 0.0 on pci2
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xde3fe000-0xde3fefff irq 19 at device 0.1 on pci2
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x9800-0x98ff mem 0xde3ff000-0xde3fffff irq 16 at device 4.0 on pci2
ahc0: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xde3fc800-0xde3fcfff,0xde3f8000-0xde3fbfff irq 18 at device 6.0 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:00:00:00:00:f0:12
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:00:00:f0:12
fwe0: Ethernet address: 02:00:00:00:f0:12
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ohci2: <NEC uPD 9210 USB controller> mem 0xde3f6000-0xde3f6fff irq 19 at device 7.0 on pci2
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0
usb2: <NEC uPD 9210 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ohci3: <NEC uPD 9210 USB controller> mem 0xde3f7000-0xde3f7fff irq 16 at device 7.1 on pci2
ohci3: [GIANT-LOCKED]
usb3: OHCI version 1.0
usb3: <NEC uPD 9210 USB controller> on ohci3
usb3: USB revision 1.0
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xde3fc400-0xde3fc4ff irq 17 at device 7.2 on pci2
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 3 ports each: usb2 usb3
usb4: <NEC uPD 720100 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 5 ports with 5 removable, self powered
umass0: Generic Mass Storage Device, rev 2.00/1.29, addr 2
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
amdpm0: <AMD 756/766/768/8111 Power Management Controller> port 0x50e0-0x50ff at device 7.3 on pci0
smbus0: <System Management Bus> on amdpm0
smb0: <SMBus generic I/O> on smbus0
pci0: <multimedia, audio> at device 7.5 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci3: <ACPI PCI bus> on pcib3
bge0: <Broadcom BCM5701 B5, ASIC rev. 0x105> mem 0xde5f0000-0xde5fffff irq 25 at device 1.0 on pci3
miibus0: <MII bus> on bge0
brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:0a:5e:51:8c:f8
atapci1: <SiI 3114 SATA150 controller> port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xde5dfc00-0xde5dffff irq 25 at device 5.0 on pci3
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
ata4: <ATA channel 2> on atapci1
ata5: <ATA channel 3> on atapci1
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci4: <ACPI PCI bus> on pcib4
ciss0: <HP Smart Array 642> port 0xb800-0xb8ff mem 0xde7fe000-0xde7fffff,0xde780000-0xde7bffff irq 29 at device 1.0 on pci4
ciss0: [GIANT-LOCKED]
Ambiguous scbus configuration for ciss0 bus 32, cannot wire down.  The kernel config entry for scbus0 should specify a controller bus.
Scbus will be assigned dynamically.
Ambiguous scbus configuration for ciss0 bus 33, cannot wire down.  The kernel config entry for scbus0 should specify a controller bus.
Scbus will be assigned dynamically.
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xcb000-0xcb7ff,0xcb800-0xcbfff,0xcc000-0xd0fff,0xd1000-0xd4fff,0xd5000-0xd5fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ulpt0: hp photosmart 7350, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
Timecounters tick every 1.000 msec
acd0: DVDR <MATSHITADVD-RAM SW-9585/B100> at ata1-master UDMA66
ad6: 476940MB <HDS725050KLA360 K2AOA11A> at ata3-master SATA150
Waiting 8 seconds for SCSI devices to settle
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da0: 135.168MB/s transfers
da0: 69419MB (142171680 512 byte sectors: 255H 32S/T 17423C)
da1 at ciss0 bus 0 target 1 lun 0
da1: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da1: 135.168MB/s transfers
da1: 70001MB (143363040 512 byte sectors: 255H 32S/T 17569C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
cd2 at ata1 bus 0 target 0 lun 0
cd2: <MATSHITA DVD-RAM SW-9585 B100> Removable CD-ROM SCSI-0 device 
cd2: 66.000MB/s transfers
cd2: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 target 0 lun 0
da2: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device 
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW4416S 1.0g> Removable CD-ROM SCSI-2 device 
cd0: 8.333MB/s transfers (8.333MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <NEC CD-ROM DRIVE:465 1.13> Removable CD-ROM SCSI-2 device 
cd1: 20.000MB/s transfers (20.000MHz, offset 15)
cd1: Attempt to query device size failed: NOT READY, Medium not present
da3 at umass-sim0 bus 0 target 0 lun 1
da3: <Generic USB CF Reader 1.01> Removable Direct Access SCSI-0 device 
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
da4 at umass-sim0 bus 0 target 0 lun 2
da4: <Generic USB SM Reader 1.02> Removable Direct Access SCSI-0 device 
da4: 40.000MB/s transfers
da4: Attempt to query device size failed: NOT READY, Medium not present
da5 at umass-sim0 bus 0 target 0 lun 3
da5: <Generic USB MS Reader 1.03> Removable Direct Access SCSI-0 device 
da5: 40.000MB/s transfers
da5: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 28 files 1
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 172 files 5
bge0: link state changed to UP
-------------- next part --------------
smartctl version 5.37 [amd64-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K500 series
Device Model:     HDS725050KLA360
Serial Number:    KRVN02ZAG0Z7YC
Firmware Version: K2AOA11A
User Capacity:    500 107 862 016 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 1
Local Time is:    Mon Mar 26 16:29:30 2007 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		 (10419) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 174) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   099   099   016    Pre-fail  Always       -       3
  2 Throughput_Performance  0x0004   159   159   050    Old_age   Offline      -       205
  3 Spin_Up_Time            0x0007   109   109   024    Pre-fail  Always       -       649 (Average 624)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       125
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   067    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   136   136   020    Old_age   Offline      -       31
  9 Power_On_Hours          0x0012   099   099   000    Old_age   Always       -       8183
 10 Spin_Retry_Count        0x0012   100   100   060    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       87
192 Power-Off_Retract_Count 0x0032   100   100   050    Old_age   Always       -       557
193 Load_Cycle_Count        0x0012   100   100   050    Old_age   Always       -       557
194 Temperature_Celsius     0x0002   134   134   000    Old_age   Always       -       41 (Lifetime Min/Max 25/63)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       708         -
# 2  Short captive       Completed without error       00%         2         -

Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum.
SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.



More information about the freebsd-stable mailing list