From owner-freebsd-i386@FreeBSD.ORG Thu Jan 8 02:30:33 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD0C16A4CE for ; Thu, 8 Jan 2004 02:30:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2D7A43D5D for ; Thu, 8 Jan 2004 02:30:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i08AU9FR030691 for ; Thu, 8 Jan 2004 02:30:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i08AU9V2030688; Thu, 8 Jan 2004 02:30:09 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 8 Jan 2004 02:30:09 -0800 (PST) Resent-Message-Id: <200401081030.i08AU9V2030688@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Petri Helenius Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DAB816A4CE for ; Thu, 8 Jan 2004 02:22:22 -0800 (PST) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63CD843D5D for ; Thu, 8 Jan 2004 02:22:18 -0800 (PST) (envelope-from pete@silver.he.iki.fi) Received: from silver.he.iki.fi (localhost [127.0.0.1]) by silver.he.iki.fi (8.12.9p2/8.11.4) with ESMTP id i08AMHgr081635 for ; Thu, 8 Jan 2004 12:22:17 +0200 (EET) (envelope-from pete@silver.he.iki.fi) Received: (from pete@localhost) by silver.he.iki.fi (8.12.9p2/8.12.5/Submit) id i08AMGWd081634 for freebsd-gnats-submit@freebsd.org; Thu, 8 Jan 2004 12:22:16 +0200 (EET) Message-Id: <200401081022.i08AMGWd081634@silver.he.iki.fi> Date: Thu, 8 Jan 2004 12:22:16 +0200 (EET) From: Petri Helenius To: freebsd-gnats-submit@FreeBSD.org Subject: i386/61063: ata hangs in smp system X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:30:33 -0000 >Number: 61063 >Category: i386 >Synopsis: ata hangs in smp system >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 08 02:30:09 PST 2004 >Closed-Date: >Last-Modified: >Originator: Petri Helenius >Release: FreeBSD 5.2-RC i386 >Organization: >Environment: System: FreeBSD 5.2-RC FreeBSD 5.2-RC #1: Thu Jan 8 09:01:07 GMT 2004 i386 Dual Xeon E7505VB2 Intel motherboard >Description: When running the machine with SMP kernel, semi-heavy to heavy io will result in disks hanging. The system still runs but processes waiting on the partition which resides on hung disk stop in D state. No messages appear on the console when activity stops. >How-To-Repeat: In this particular case, the application doing the IO is mysql. >Fix: Workaround is to disable SMP operation, the system will then run fine. This dmesg is from the system when running without SMP. Copyright (c) 1992-2003 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 5.2-RC #1: Thu Jan 8 09:01:07 GMT 2004 Preloaded elf kernel "/boot/kernel/kernel" at 0xc08ac000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08ac294. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2146893824 (2047 MB) avail memory = 2080129024 (1983 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 21 entries at 0xc00fde70 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 10 pcib0: slot 29 INTC is routed to irq 5 pcib0: slot 29 INTD is routed to irq 7 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 2.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND pci2: on pcib2 pci2: at device 28.0 (no driver attached) pcib3: at device 29.0 on pci2 pci3: on pcib3 pcib3: slot 1 INTA is routed to irq 12 pcib3: slot 2 INTA is routed to irq 12 atapci0: port 0x7000-0x707f,0x7480-0x748f,0x7400-0x743f mem 0xf0200000-0xf021ffff,0xf0240000-0xf0240fff irq 12 at device 1.0 on pci3 atapci0: [MPSAFE] ata2: at 0xf0240000 on atapci0 ata2: [MPSAFE] ata3: at 0xf0240000 on atapci0 ata3: [MPSAFE] ata4: at 0xf0240000 on atapci0 ata4: [MPSAFE] ata5: at 0xf0240000 on atapci0 ata5: [MPSAFE] atapci1: port 0x7080-0x70ff,0x7490-0x749f,0x7440-0x747f mem 0xf0220000-0xf023ffff,0xf0241000-0xf0241fff irq 12 at device 2.0 on pci3 atapci1: [MPSAFE] ata6: at 0xf0241000 on atapci1 ata6: [MPSAFE] ata7: at 0xf0241000 on atapci1 ata7: [MPSAFE] ata8: at 0xf0241000 on atapci1 ata8: [MPSAFE] ata9: at 0xf0241000 on atapci1 ata9: [MPSAFE] pci2: at device 30.0 (no driver attached) pcib4: at device 31.0 on pci2 pci4: on pcib4 pcib4: slot 1 INTA is routed to irq 12 pcib4: slot 2 INTA is routed to irq 12 atapci2: port 0x8000-0x807f,0x8400-0x840f,0x8080-0x80bf mem 0xf0300000-0xf031ffff,0xf0340000-0xf0340fff irq 12 at device 1.0 on pci4 atapci2: [MPSAFE] ata10: at 0xf0340000 on atapci2 ata10: [MPSAFE] ata11: at 0xf0340000 on atapci2 ata11: [MPSAFE] ata12: at 0xf0340000 on atapci2 ata12: [MPSAFE] ata13: at 0xf0340000 on atapci2 ata13: [MPSAFE] em0: port 0x80c0-0x80ff mem 0xf0320000-0xf033ffff irq 12 at device 2.0 on pci4 em0: Speed:N/A Duplex:N/A pci0: at device 2.1 (no driver attached) uhci0: port 0x6800-0x681f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x6820-0x683f irq 10 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x6840-0x685f irq 5 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib5: at device 30.0 on pci0 pci5: on pcib5 pcib5: slot 2 INTA is routed to irq 11 pcib5: slot 3 INTA is routed to irq 5 pci5: at device 2.0 (no driver attached) fxp0: port 0x9400-0x943f mem 0xf0420000-0xf043ffff,0xf0401000-0xf0401fff irq 5 at device 3.0 on pci5 fxp0: Ethernet address 00:04:23:88:0c:ad miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci3: port 0x6860-0x686f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci3 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci3 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 orm0: