From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 19 16:40:02 2007 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C42CB16A41B for ; Fri, 19 Oct 2007 16:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B105313C478 for ; Fri, 19 Oct 2007 16:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9JGe2at057114 for ; Fri, 19 Oct 2007 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9JGe2xA057113; Fri, 19 Oct 2007 16:40:02 GMT (envelope-from gnats) Date: Fri, 19 Oct 2007 16:40:02 GMT Message-Id: <200710191640.l9JGe2xA057113@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: "Lawrence Farr" Cc: Subject: RE: amd64/117316: ACPI lockups on SuperMicro motherboard X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lawrence Farr List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 16:40:02 -0000 The following reply was made to PR amd64/117316; it has been noted by GNATS. From: "Lawrence Farr" To: "'Doichin Dokov'" , Cc: Subject: RE: amd64/117316: ACPI lockups on SuperMicro motherboard Date: Fri, 19 Oct 2007 17:17:51 +0100 > -----Original Message----- > From: owner-freebsd-amd64@freebsd.org [mailto:owner-freebsd- > amd64@freebsd.org] On Behalf Of Doichin Dokov > Sent: 19 October 2007 00:59 > To: freebsd-gnats-submit@FreeBSD.org > Subject: amd64/117316: ACPI lockups on SuperMicro motherboard > > > >Number: 117316 > >Category: amd64 > >Synopsis: ACPI lockups on SuperMicro motherboard > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Oct 19 00:00:06 UTC 2007 > >Closed-Date: > >Last-Modified: > >Originator: Doichin Dokov > >Release: RELENG_7 > >Organization: > NetOne > >Environment: > FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Thu Oct 18 21:14:22 > UTC 2007 root@:/usr/src/sys/amd64/compile/NETONE amd64 > >Description: > FreeBSD 7.0-PRERELEASE #0: Thu Oct 18 21:14:22 UTC 2007 > root@:/usr/src/sys/amd64/compile/NETONE > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Dual-Core AMD Opteron(tm) Processor 1210 (1795.51-MHz K8-class > CPU) > Origin = "AuthenticAMD" Id = 0x40f32 Stepping = 2 > > Features=0x178bfbff E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD > Features=0xea500800 > AMD Features2=0x1f > Cores per package: 2 > usable memory = 1064964096 (1015 MB) > avail memory = 1026363392 (978 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > ioapic2 irqs 32-47 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > acpi0: reservation of 540, 20 (4) failed > acpi0: reservation of 500, 20 (4) failed > acpi0: reservation of 560, 20 (4) failed > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 3ff00000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 13.0 on pci1 > pci2: on pcib2 > twe0: <3ware Storage Controller. Driver version 1.50.01.002> port > 0xbc00-0xbc0f mem 0xfeaffc00-0xfeaffc0f,0xfe000000-0xfe7fffff irq 20 at > device 1.0 on pci2 > twe0: [GIANT-LOCKED] > twe0: [ITHREAD] > twe0: AEN: > twe0: AEN: > twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 > pci0:2:3:0: bad VPD cksum, remain 14 > bge0: 0x2100> mem 0xfead0000-0xfeadffff irq 24 at device 3.0 on pci2 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:30:48:57:c3:80 > bge0: [ITHREAD] > pci0:2:3:1: bad VPD cksum, remain 14 > bge1: 0x2100> mem 0xfeac0000-0xfeacffff irq 25 at device 3.1 on pci2 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge1: Ethernet address: 00:30:48:57:c3:81 > bge1: [ITHREAD] > isab0: at device 2.2 on pci0 > isa0: on isab0 > pci0: at device 3.0 (no driver attached) > pci0: at device 3.1 (no driver attached) > pci0: at device 3.2 (no driver attached) > vgapci0: port 0xe000-0xe0ff mem 0xf0000000- > 0xf7ffffff,0xfebf0000-0xfebfffff at device 5.0 on pci0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse Explorer, device ID 4 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > When i try to do: > * ifconfig bge0 inet (whatever)... > the system just freezes - no panic, no errors - nothing. the only way > to make it come back is hit the reset button > > When i do: > * reboot > * shutdown -p now > it comes up to: > * twed0: detached > and then bails out again (no restart/shutdown follows) > > Tried several ACPI settings in the SuperMicro motherboard BIOS (ACPI > 1.0, 2.0, 3.0, MPTable 1.1, 1.4), but nothing helps. > > When i repeatedly do 'ifconfig' to see the status of the ifs, the media > status of bge0 changes from time to time (very frequently): > # ifconfig bge0 > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:30:48:57:c3:80 > media: Ethernet autoselect > status: no carrier > > # ifconfig bge0 > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:30:48:57:c3:80 > media: Ethernet autoselect (none ) > status: no carrier > # ifconfig bge0 > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:30:48:57:c3:80 > media: Ethernet autoselect (autoselect ) > status: no carrier > # ifconfig bge0 > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:30:48:57:c3:80 > media: Ethernet autoselect (10baseT/UTP loopback>) > status: active > > Here's the complete dmesg, i've pointed some strange lines with ">>": > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > ioapic2 irqs 32-47 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > >How-To-Repeat: > Setup the latest RELENG_7 on a SuperMicro H8SSL-i2 motherboard > (ServerWorks HT1000-based, maybe other mobos with this chipset show the > same behaviour), then try to ifconfig bge0, or try to reboot or > shutdown the system. > >Fix: > > > >Release-Note: > >Audit-Trail: > >Unformatted: > >> acpi0: reservation of 540, 20 (4) failed > >> acpi0: reservation of 500, 20 (4) failed > >> acpi0: reservation of 560, 20 (4) failed > >> acpi0: reservation of 0, a0000 (3) failed > >> acpi0: reservation of 100000, 3ff00000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib2: at device 13.0 on pci1 > pci2: on pcib2 > twe0: <3ware Storage Controller. Driver version 1.50.01.002> port > 0xbc00-0xbc0f mem 0xfeaffc00-0xfeaffc0f,0xfe000000-0xfe7fffff irq 20 at > device 1.0 on pci2 > twe0: [GIANT-LOCKED] > twe0: [ITHREAD] > twe0: AEN: > twe0: AEN: > twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 > >> pci0:2:3:0: bad VPD cksum, remain 14 > bge0: 0x2100> mem 0xfead0000-0xfeadffff irq 24 at device 3.0 on pci2 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:30:48:57:c3:80 > bge0: [ITHREAD] > >> pci0:2:3:1: bad VPD cksum, remain 14 > bge1: 0x2100> mem 0xfeac0000-0xfeacffff irq 25 at device 3.1 on pci2 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge1: Ethernet address: 00:30:48:57:c3:81 > bge1: [ITHREAD] > isab0: at device 2.2 on pci0 > isa0: on isab0 > pci0: at device 3.0 (no driver attached) > pci0: at device 3.1 (no driver attached) > pci0: at device 3.2 (no driver attached) > vgapci0: port 0xe000-0xe0ff mem 0xf0000000- > 0xf7ffffff,0xfebf0000-0xfebfffff at device 5.0 on pci0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse Explorer, device ID 4 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 > on acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff 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 > Timecounters tick every 1.000 msec > twed0: on twe0 > twed0: 78166MB (160084480 sectors) > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/twed0s1a > bge1: link state changed to DOWN > bge1: link state changed to UP > > Some notes: > * the RAID status of the 3ware unit IS degraded, so the messages about > it are okay. > * the bge1 interface does work ok. > * usb was disabled in the kernel (thus the "no driver attached" > messages - they are okay too) > This is the same as kern/116328