From owner-freebsd-current@FreeBSD.ORG Fri Aug 5 18:53:46 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 348DD106566C; Fri, 5 Aug 2011 18:53:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5548FC1E; Fri, 5 Aug 2011 18:53:45 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 9C5832A28C30; Fri, 5 Aug 2011 20:53:44 +0200 (CEST) Date: Fri, 5 Aug 2011 20:53:44 +0200 From: Ed Schouten To: current@FreeBSD.org Message-ID: <20110805185344.GA1767@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: mav@FreeBSD.org Subject: ahci(4) breaks on MSI X58 Pro-E X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 18:53:46 -0000 --U+BazGySraz5kW0T Content-Type: multipart/mixed; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, The day before yesterday I upgraded a server of mine at Hetzner to FreeBSD 9. It seems to use an MSI X58 Pro-E motherboard, having an ICH10 SATA-controller. It seems that under high load, I get timeouts on the SATA controller. It seems disabling MSI has no effect. Unfortunately it's a sort-of production system, so I can't do a lot of testing with it and I also don't have any hands-on console access. Is there anyone out there who has a system at home that also has an X58 motherboard and can test latest HEAD to see whether it is a recurring problem? I've attached the output of dmesg for now. Disabling the ahci driver and using ata seems to work. --=20 Ed Schouten WWW: http://80386.nl/ --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2011 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 9.0-BETA1 #0 r+4f5f78a: Wed Aug 3 10:42:02 CEST 2011 ed@hertog.hoeg.nl:/usr/obj/export/pub/src/sys/HERTOG amd64 CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (2673.36-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Family = 6 Model = 1a Stepping = 5 Features=0xbfebfbff Features2=0x98e3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 8594128896 (8196 MB) avail memory = 8233840640 (7852 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <7522MS A7522800> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard acpi0: <7522MS A7522800> on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 0xD0, should be 0xCF (20110527/tbutils-282) cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 vgapci0: port 0xcc00-0xcc7f mem 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci2 pcib3: at device 7.0 on pci0 pci3: on pcib3 pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) pci0: at device 26.0 (no driver attached) pci0: at device 26.1 (no driver attached) pci0: at device 26.2 (no driver attached) pci0: at device 26.7 (no driver attached) pcib4: irq 17 at device 28.0 on pci0 pci4: on pcib4 pcib5: irq 17 at device 28.4 on pci0 pci6: on pcib5 re0: port 0xe800-0xe8ff mem 0xfbeff000-0xfbefffff,0xf6ff0000-0xf6ffffff irq 16 at device 0.0 on pci6 re0: Using 1 MSI-X message re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 40:61:86:be:cd:da pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.7 (no driver attached) pcib6: at device 30.0 on pci0 pci7: on pcib6 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xb000-0xb007,0xac00-0xac03,0xa880-0xa887,0xa800-0xa803,0xa480-0xa49f mem 0xf7ffa000-0xf7ffa7ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd0: [GIANT-LOCKED] hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 qpi0: on motherboard pcib7: pcibus 255 on qpi0 pci255: on pcib7 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-7 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad1 SMP: AP CPU #1 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #4 Launched! GEOM_MIRROR: Device mirror/hertog launched (2/2). Trying to mount root from ufs:/dev/mirror/hertoga [rw,noatime]... ahcich0: Timeout on slot 17 port 0 ahcich0: is 00000000 cs 00020000 ss 00000000 rs 00020000 tfd c0 serr 00000000 cmd 0000d117 ahcich0: Timeout on slot 17 port 0 ahcich0: is 00000000 cs ffe0ffff ss fffeffff rs fffeffff tfd c0 serr 00000000 cmd 0000d517 ahcich0: Timeout on slot 13 port 0 ahcich0: is 00000000 cs 00006000 ss 00000000 rs 00006000 tfd c0 serr 00000000 cmd 0000cd17 ahcich0: Timeout on slot 15 port 0 ahcich0: is 00000000 cs fff81fff ss ffff9fff rs ffff9fff tfd c0 serr 00000000 cmd 0000d317 ahcich0: Timeout on slot 9 port 0 ahcich0: is 00000000 cs 00000200 ss 00000000 rs 00000200 tfd c0 serr 00000000 cmd 0000c917 ahcich0: Timeout on slot 9 port 0 ahcich0: is 00000000 cs 00000000 ss 00000200 rs 00000200 tfd 40 serr 00000000 cmd 0000c917 ahcich0: Timeout on slot 9 port 0 ahcich0: is 00000000 cs 00000200 ss 00000000 rs 00000200 tfd c0 serr 00000000 cmd 0000c917 ahcich0: Timeout on slot 9 port 0 ahcich0: is 00000000 cs ffffe03f ss fffffe3f rs fffffe3f tfd c0 serr 00000000 cmd 0000cd17 ahcich0: Timeout on slot 1 port 0 ahcich0: is 00000000 cs 0000001e ss 00000000 rs 0000001e tfd c0 serr 00000000 cmd 0000c117 ahcich0: Timeout on slot 7 port 0 ahcich0: is 00000000 cs fffff807 ss ffffff87 rs ffffff87 tfd c0 serr 00000000 cmd 0000cb17 ahcich0: Timeout on slot 29 port 0 ahcich0: is 00000000 cs 20000000 ss 00000000 rs 20000000 tfd c0 serr 00000000 cmd 0000dd17 ahcich0: Timeout on slot 29 port 0 ahcich0: is 00000000 cs 00000000 ss e0000000 rs e0000000 tfd 40 serr 00000000 cmd 0000df17 ahcich0: Timeout on slot 1 port 0 ahcich0: is 00000000 cs 00000002 ss 00000000 rs 00000002 tfd c0 serr 00000000 cmd 0000c117 ahcich0: Timeout on slot 1 port 0 ahcich0: is 00000000 cs 0fffffe0 ss 0ffffffe rs 0ffffffe tfd c0 serr 00000000 cmd 0000c517 ahcich0: Timeout on slot 22 port 0 ahcich0: is 00000000 cs 00400000 ss 00000000 rs 00400000 tfd d0 serr 00000000 cmd 0000d617 ahcich0: Timeout on slot 22 port 0 ahcich0: is 00000000 cs 00000000 ss 00c00000 rs 00c00000 tfd 40 serr 00000000 cmd 0000d717 --/9DWx/yDrRhgMJTb-- --U+BazGySraz5kW0T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOPDw4AAoJEG5e2P40kaK7SK0QAKSPB+8QeAzd0cbrrjk8x+qg gAITNNg7woJd5nf8D9WLHAk3Um1KWeG8S8m598Wgpd4S4BQD8nYRmyPB8YB21oMh 8eK/oYnwWFZDDH9DDMb7tTHUIDgNWbSM0B752NBjCqeYcFqeTPfL70MStRKlj6Zs 4DQpnNz3ZJRerpjZYkzn1NfOhOUjPs1fhuR07wvAD/6ZqcrNGIAs9OrBpIlVpFCo 7hLb9hilKIKhF4L4XqeRd02wz6oxCjdc1+jt1n1O//M3qlfQqFlRID8k2mTRfWXW 59mSD29lvnLRFhGWgRiDG7R51/l/f4kK9hkYSuea1S+P1ZRBd/b+Ht8fKoAaRJKH qdzlSvQSx1qOB17q644R2prvvK0Q2e7yvcWuCCvHvooEFTDtkDOItooOmnrd053V MGuOyIAFzRrpjX/cyD5SeCIGCdxTsdCt/OCa5uVybTXC98Rxp24WbEkL8UrCFIj4 Q+zPYKqxhWTpyEQzF4+Is9eVjIrAajSlpQvBGtrRzsyjqLR5ocybXQiTyY++y/OQ iFN9W9FOCI7ucs8HdqOBFRLRz63aNdfrqPQYIPJ15oolBAm/7RyiiDY50pM79uQp PUYGz2vB0wFa8mXhfo4JUx5vb38txJmSjW3IzvMK7Yj9XdZlln7uCFvfaD26p2Dp vwf8oqFbEFLEUuhaYNGC =Rn8b -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--