From owner-freebsd-stable@FreeBSD.ORG Mon Mar 26 20:32:06 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5917F16A405 for ; Mon, 26 Mar 2007 20:32:06 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 29C1913C448 for ; Mon, 26 Mar 2007 20:32:06 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: (qmail 30534 invoked from network); 26 Mar 2007 20:32:05 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Mar 2007 20:32:04 -0000 Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.8/8.13.8) with ESMTP id l2QKW2Ys055773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Mar 2007 16:32:02 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.8/8.13.8/Submit) id l2QKW1kw055772; Mon, 26 Mar 2007 16:32:01 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: =?iso-8859-1?q?S=F8ren_Schmidt?= Date: Mon, 26 Mar 2007 16:32:00 -0400 User-Agent: KMail/1.9.5 References: <200603010505.k2155HfQ003205@aldan.algebra.com> <200703261436.28659@aldan> <46081D3E.5070204@deepcore.dk> In-Reply-To: <46081D3E.5070204@deepcore.dk> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: Dmitry Pryanishnikov , stable@freebsd.org, Derek Ragona , Brian Candler Subject: Re: pitiful performance of an SATA150 drive X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 20:32:06 -0000 --Boundary-00=_B3CCGjbT7xEuqrM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline 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@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 --Boundary-00=_B3CCGjbT7xEuqrM Content-Type: text/plain; charset="iso-8859-1"; name="dmesg.boot.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg.boot.txt" 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@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 Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x3 Cores per package: 2 real memory = 4865392640 (4640 MB) avail memory = 4133154816 (3941 MB) ACPI APIC Table: 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 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: 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: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: at device 0.0 on pci0 agp0: 0xffffffff80000000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). device_attach: agp0 attach returned 12 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: 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: at device 0.1 (no driver attached) pcib2: at device 6.0 on pci0 pci2: on pcib2 ohci0: mem 0xde3fd000-0xde3fdfff irq 19 at device 0.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: 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: mem 0xde3fe000-0xde3fefff irq 19 at device 0.1 on pci2 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: 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: 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: 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: on fwohci0 fwe0: 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: 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: mem 0xde3f6000-0xde3f6fff irq 19 at device 7.0 on pci2 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0 usb2: 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: mem 0xde3f7000-0xde3f7fff irq 16 at device 7.1 on pci2 ohci3: [GIANT-LOCKED] usb3: OHCI version 1.0 usb3: 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: 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: 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: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 7.2 (no driver attached) amdpm0: port 0x50e0-0x50ff at device 7.3 on pci0 smbus0: on amdpm0 smb0: on smbus0 pci0: at device 7.5 (no driver attached) pcib3: at device 10.0 on pci0 pci3: on pcib3 bge0: mem 0xde5f0000-0xde5fffff irq 25 at device 1.0 on pci3 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0a:5e:51:8c:f8 atapci1: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xde5dfc00-0xde5dffff irq 25 at device 5.0 on pci3 ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 pci0: at device 10.1 (no driver attached) pcib4: at device 11.0 on pci0 pci4: on pcib4 ciss0: 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: at device 11.1 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: 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: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: 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: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcb7ff,0xcb800-0xcbfff,0xcc000-0xd0fff,0xd1000-0xd4fff,0xd5000-0xd5fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: 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 at ata1-master UDMA66 ad6: 476940MB at ata3-master SATA150 Waiting 8 seconds for SCSI devices to settle da0 at ciss0 bus 0 target 0 lun 0 da0: 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: 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: 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: 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: 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: 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: 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: 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: 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 --Boundary-00=_B3CCGjbT7xEuqrM Content-Type: text/plain; charset="iso-8859-1"; name="ad10.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ad10.txt" 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. --Boundary-00=_B3CCGjbT7xEuqrM--