From owner-freebsd-stable@FreeBSD.ORG Tue May 10 12:52:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5437106564A for ; Tue, 10 May 2011 12:52:25 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 66FC38FC15 for ; Tue, 10 May 2011 12:52:24 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 26F373982B; Tue, 10 May 2011 14:52:20 +0200 (SAST) Date: Tue, 10 May 2011 14:52:20 +0200 From: John Hay To: freebsd-stable@freebsd.org Message-ID: <20110510125220.GA88338@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: MCA: CPU 0 UNCOR PCC DTLB L1 error 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: Tue, 10 May 2011 12:52:26 -0000 Hi, I have seen this panic a few times on a Gigabyte E350N-USB3 running 8-STABLE. I have only seen it while in X, but then the machine is always in X. At first, I just got these hangs, so bought a PCI-express RS232 card and could see these at last. For some reason it does not go past this, so I have not been able to get a dump yet. Have anybody an idea of why this is or how to debug it further? I searched the archives and found something similar about a year ago, but it looks like it was solved with a fix that got committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=140338 I have now disabled mca in loader.conf with 'hw.mca.enabled="0"' and I have not seen that panic again. I do occasionally see a panic in devfs_open(), but I guess that should be handled in another thread. The kernel is basically a GENERIC kernel with puc uncommented and the following in loader.conf vm.kmem_size="12G" hw.mca.enabled="0" zfs_load="YES" ahci_load="YES" xhci_load="YES" amdtemp_load="YES" ng_ubt_load="YES" uplcom_load="YES" Here is the panic message and after that dmesg. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org #################################################### MCA: Bank 0, Status 0xb600000000010015 MCA: Global Cap 0x0000000000000106, Status 0x0000000000000004 MCA: Vendor "AuthenticAMD", ID 0x500f10, APIC ID 0 MCA: CPU 0 UNCOR PCC DTLB L1 error MCA: Address 0x8016c4000 Fatal trap 28: machine check trap while in user mode cpuid = 0; apic id = 00 instruction pointer = 0x43:0x80156af85 stack pointer = 0x3b:0x7fffffffcb18 frame pointer = 0x3b:0x80fe87800 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 3, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 2484 (initial thread) trap number = 28 panic: machine check trap cpuid = 0 KDB: stack backtrace: #0 0xffffffff80608d5e at kdb_backtrace+0x5e #1 0xffffffff805d6707 at panic+0x187 #2 0xffffffff808bf4c0 at trap_fatal+0x290 #3 0xffffffff808bfaa9 at trap+0x109 #4 0xffffffff808a7d94 at calltrap+0x8 #################################################### 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 8.2-STABLE #1: Fri Apr 29 10:14:26 SAST 2011 jhay@angel.cids.org.za:/usr/obj/usr/src/sys/ANGEL amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD E-350 Processor (1600.07-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x500f10 Family = 14 Model = 1 Stepping = 0 Features=0x178bfbff Features2=0x802209 AMD Features=0x2e500800 AMD Features2=0x35ff TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 7841800192 (7478 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cfcf0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xf800-0xf8ff mem 0xd0000000-0xdfffffff,0xfdfc0000-0xfdffffff irq 18 at device 1.0 on pci0 pci0: at device 1.1 (no driver attached) pcib1: irq 16 at device 4.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 puc0: port 0xef00-0xef1f,0xee00-0xee0f irq 16 at device 8.0 on pci2 puc0: [FILTER] uart0: <16950 or compatible> on puc0 uart0: [FILTER] uart1: <16950 or compatible> on puc0 uart1: [FILTER] ahci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 19 at device 17.0 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.20 with 4 6Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ahcich2: at channel 2 on ahci0 ahcich2: [ITHREAD] ahcich3: at channel 3 on ahci0 ahcich3: [ITHREAD] ohci0: mem 0xfe02e000-0xfe02efff irq 18 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xfe02d000-0xfe02d0ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 ohci1: mem 0xfe02c000-0xfe02cfff irq 18 at device 19.0 on pci0 ohci1: [ITHREAD] usbus2: on ohci1 ehci1: mem 0xfe02b000-0xfe02b0ff irq 17 at device 19.2 on pci0 ehci1: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci1 pci0: at device 20.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 20.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 20.2 (no driver attached) isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 ACPI Warning: For \\_SB_.PCI0.P2P_._PRT: Return Package has no elements (empty) (20101013/nspredef-572) pci3: on pcib3 ohci2: mem 0xfe02a000-0xfe02afff irq 18 at device 20.5 on pci0 ohci2: [ITHREAD] usbus4: on ohci2 pcib4: at device 21.0 on pci0 pci4: on pcib4 re0: port 0xce00-0xceff mem 0xfdbff000-0xfdbfffff,0xfdbf8000-0xfdbfbfff irq 17 at device 0.0 on pci4 re0: Using 1 MSI-X message re0: Chip rev. 0x2c000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 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: 1c:6f:65:c2:00:a7 re0: [ITHREAD] pcib5: at device 21.1 on pci0 pci5: on pcib5 xhci0: mem 0xfdafe000-0xfdafffff irq 17 at device 0.0 on pci5 xhci0: [ITHREAD] xhci0: 32 byte context size. usbus5 on xhci0 ohci3: mem 0xfe029000-0xfe029fff irq 18 at device 22.0 on pci0 ohci3: [ITHREAD] usbus6: on ohci3 ehci2: mem 0xfe028000-0xfe0280ff irq 17 at device 22.2 on pci0 ehci2: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci2 amdtemp0: on hostb4 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] atrtc0: port 0x70-0x73 irq 8 on acpi0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range hwpstate0: on cpu0 ZFS filesystem version 4 ZFS storage pool version 15 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 5.0Gbps Super Speed USB v3.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: <0x1033> at usbus5 uhub5: <0x1033 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 3.x device ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 3.x device ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) SMP: AP CPU #1 Launched! uhub4: 2 ports with 2 removable, self powered uhub6: 4 ports with 4 removable, self powered uhub0: 5 ports with 5 removable, self powered uhub2: 5 ports with 5 removable, self powered uhub5: 4 ports with 4 removable, self powered Root mount waiting for: usbus7 usbus3 usbus1 Root mount waiting for: usbus7 usbus3 usbus1 uhub7: 4 ports with 4 removable, self powered uhub1: 5 ports with 5 removable, self powered uhub3: 5 ports with 5 removable, self powered Root mount waiting for: usbus3 usbus1 Trying to mount root from zfs:dam/ROOT/amd64 ugen2.2: at usbus2 ugen0.2: at usbus0 uplcom0: on usbus0 ukbd0: on usbus2 kbd2 at ukbd0 ums0: on usbus2 ums0: 18 buttons and [XYZT] coordinates ID=2 ugen2.3: at usbus2 ubt0: on usbus2 ugen0.3: at usbus0 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() ubt0: ubt_ctrl_write_callback:667: control transfer failed: USB_ERR_TIMEOUT ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout