From owner-freebsd-stable@FreeBSD.ORG Wed May 6 10:05:13 2009 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 9C4241065677 for ; Wed, 6 May 2009 10:05:13 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id EE6C28FC1B for ; Wed, 6 May 2009 10:05:12 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out2.tiscali.nl with esmtp id 1M1dzz-0006nN-0F for ; Wed, 06 May 2009 12:05:11 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 84BDFA218 for ; Wed, 6 May 2009 12:05:10 +0200 (CEST) Date: Wed, 06 May 2009 12:05:10 +0200 To: "freebsd-stable@freebsd.org" From: "Ronald Klop" Content-Type: multipart/mixed; boundary=----------ESLH01tHZyv2bPjGWDQAWF MIME-Version: 1.0 References: <820356.29.1241424820214.JavaMail.tomcat@localhost> Message-ID: In-Reply-To: <820356.29.1241424820214.JavaMail.tomcat@localhost> User-Agent: Opera Mail/9.64 (FreeBSD) Subject: coredump in usb stack 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: Wed, 06 May 2009 10:05:14 -0000 ------------ESLH01tHZyv2bPjGWDQAWF Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I had a coredump from within the usb stack at work a couple of days ago. GENERIC kernel amd64 Apr 28 12:59:12 ronald kernel: FreeBSD 7.2-PRERELEASE #32: Mon Apr 27 17:35:55 CEST 2009 Attached is the kgdb output and dmesg. Is this known? Did I forget something. Ronald. ------------ESLH01tHZyv2bPjGWDQAWF Content-Disposition: attachment; filename=dmesg.txt Content-Type: text/plain; name=dmesg.txt Content-Transfer-Encoding: 7bit Copyright (c) 1992-2009 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 7.2-PRERELEASE #32: Mon Apr 27 17:35:55 CEST 2009 root@ronald.office.base.nl:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (2992.50-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3fd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 4145065984 (3953 MB) avail memory = 3976499200 (3792 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xdc00-0xdcff mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on pci1 pci0: at device 3.0 (no driver attached) atapci0: port 0xfe80-0xfe87,0xfe90-0xfe93,0xfea0-0xfea7,0xfeb0-0xfeb3,0xfef0-0xfeff irq 18 at device 3.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 3.3 (no driver attached) em0: port 0xecc0-0xecdf mem 0xfebe0000-0xfebfffff,0xfebdb000-0xfebdbfff irq 21 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:1e:4f:ee:e8:5f uhci0: port 0xff20-0xff3f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xff00-0xff1f irq 17 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xfebd9c00-0xfebd9fff irq 22 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: wrong number of companions (3 != 2) usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 6 ports with 6 removable, self powered hdac0: mem 0xfebdc000-0xfebdffff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090329_0131 hdac0: [ITHREAD] pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 uhci2: port 0xff80-0xff9f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: on uhci2 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered uhci3: port 0xff60-0xff7f irq 17 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xff40-0xff5f irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xff980800-0xff980bff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: on usb6 uhub6: 6 ports with 6 removable, self powered uhub7: on uhub6 uhub7: multiple transaction translators uhub7: 4 ports with 4 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfedf mem 0xff970000-0xff9707ff irq 18 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.20 controller with 6 ports detected ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] ata7: on atapci1 ata7: port not implemented ata7: [ITHREAD] ata8: on atapci1 ata8: port not implemented ata8: [ITHREAD] ata9: on atapci1 ata9: [ITHREAD] ichsmb0: port 0xece0-0xecff mem 0xfebd9b00-0xfebd9bff irq 18 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] ichsmb0: [ITHREAD] smbus0: on ichsmb0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] 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] cpu0: on acpi0 coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xd0fff,0xd1000-0xd37ff,0xd3800-0xd3fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 8 buttons and Z dir. ukbd0: on uhub0 kbd2 at ukbd0 ums1: on uhub0 ums1: 5 buttons and Z dir. ubt0: on uhub1 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Timecounters tick every 1.000 msec ad8: 238418MB at ata4-master SATA300 acd0: DVDROM at ata5-master SATA150 hdac0: HDA Codec #0: Analog Devices AD1984 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad8s1a is ufsid/48aed81cc4f3cefd. GEOM_LABEL: Label for provider ad8s1d is ufsid/48aed8252c64bcc1. GEOM_LABEL: Label for provider ad8s1e is ufsid/48aed81ca20f6419. GEOM_JOURNAL: Journal 4268017618: ad8s1f contains data. GEOM_JOURNAL: Journal 4268017618: ad8s1g contains journal. GEOM_JOURNAL: Journal ad8s1f consistent. GEOM_JOURNAL: Journal 3980389559: ad8s1h contains data. GEOM_JOURNAL: Journal 3980389559: ad8s1h contains journal. GEOM_JOURNAL: Journal ad8s1h consistent. GEOM_LABEL: Label for provider ad8s1f.journal is ufsid/4947eceea4f32377. GEOM_LABEL: Label for provider ad8s1h.journal is ufsid/48e3ab88aa9b5e37. Trying to mount root from ufs:/dev/ad8s1a WARNING: / was not properly dismounted GEOM_LABEL: Label ufsid/48aed81cc4f3cefd removed. GEOM_LABEL: Label for provider ad8s1a is ufsid/48aed81cc4f3cefd. GEOM_LABEL: Label ufsid/48aed81ca20f6419 removed. GEOM_LABEL: Label for provider ad8s1e is ufsid/48aed81ca20f6419. GEOM_LABEL: Label ufsid/48e3ab88aa9b5e37 removed. GEOM_LABEL: Label for provider ad8s1h.journal is ufsid/48e3ab88aa9b5e37. GEOM_LABEL: Label ufsid/4947eceea4f32377 removed. GEOM_LABEL: Label for provider ad8s1f.journal is ufsid/4947eceea4f32377. GEOM_LABEL: Label ufsid/48aed8252c64bcc1 removed. GEOM_LABEL: Label for provider ad8s1d is ufsid/48aed8252c64bcc1. GEOM_LABEL: Label ufsid/48aed81cc4f3cefd removed. GEOM_LABEL: Label ufsid/48aed81ca20f6419 removed. WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD. GEOM_LABEL: Label ufsid/48e3ab88aa9b5e37 removed. GEOM_LABEL: Label ufsid/4947eceea4f32377 removed. GEOM_LABEL: Label ufsid/48aed8252c64bcc1 removed. WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() WARNING: attempt to net_add_domain(netgraph) after domainfinalize() netsmb_dev: loaded drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 info: [drm] Setting GART location based on new memory map info: [drm] Loading RV610 CP Microcode info: [drm] Loading RV610 PFP Microcode info: [drm] Resetting GPU info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] ------------ESLH01tHZyv2bPjGWDQAWF Content-Disposition: attachment; filename=coredump.txt Content-Type: text/plain; name=coredump.txt Content-Transfer-Encoding: 7bit # root@ronald [/usr/obj/usr/src/sys/GENERIC] kgdb kernel.debug /var/crash/vmcore.2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x8:0xffffffff80434d75 stack pointer = 0x10:0xfffffffe8002db50 frame pointer = 0x10:0x4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13 (swi4: clock sio) trap number = 9 panic: general protection fault cpuid = 1 Uptime: 5d21h0m13s Physical memory: 3953 MB Dumping 643 MB: 628 612 596 580 564 548 532 516 500 484 468 452 436 420 404 388 372 356 340 324 308 292 276 260 244 228 212 196 180 164 148 132 116 100 84 68 52 36 20 4 #0 doadump () at pcpu.h:195 195 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) list *0xffffffff80434d75 0xffffffff80434d75 is in ehci_timeout (/usr/src/sys/dev/usb/ehci.c:2729). 2724 #ifdef USB_DEBUG 2725 if (ehcidebug > 1) 2726 usbd_dump_pipe(exfer->xfer.pipe); 2727 #endif 2728 2729 if (sc->sc_dying) { 2730 ehci_abort_xfer(&exfer->xfer, USBD_TIMEOUT); 2731 return; 2732 } 2733 (kgdb) bt #0 doadump () at pcpu.h:195 #1 0x0000000000000004 in ?? () #2 0xffffffff804e38a1 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #3 0xffffffff804e3cdc in panic (fmt=0x104
) at /usr/src/sys/kern/kern_shutdown.c:574 #4 0xffffffff8078ae6a in trap_fatal (frame=0xffffff0001419000, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:757 #5 0xffffffff8078b922 in trap (frame=0xfffffffe8002daa0) at /usr/src/sys/amd64/amd64/trap.c:558 #6 0xffffffff80770fee in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209 #7 0xffffffff80434d75 in ehci_timeout (addr=0xffffff00046f7800) at /usr/src/sys/dev/usb/ehci.c:2729 #8 0xffffffff804f50ee in softclock (dummy=Variable "dummy" is not available. ) at /usr/src/sys/kern/kern_timeout.c:274 #9 0xffffffff804c5880 in ithread_loop (arg=0xffffff0001415920) at /usr/src/sys/kern/kern_intr.c:1088 #10 0xffffffff804c284d in fork_exit (callout=0xffffffff804c5716 , arg=0xffffff0001415920, frame=0xfffffffe8002dc80) at /usr/src/sys/kern/kern_fork.c:810 #11 0xffffffff807713ae in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:455 #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000001 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000d85000 in ?? () #37 0xffffffff80ae7540 in tdg_maxid () #38 0xffffffff80af3d40 in tdq_cpu () #39 0xffffffff80af3d40 in tdq_cpu () #40 0xffffff0001419000 in ?? () #41 0xffffff0001419330 in ?? () #42 0xfffffffe8002d3b8 in ?? () #43 0x0000000000000000 in ?? () #44 0xffffffff805054d3 in sched_switch (td=0xffffffff804c5716, newtd=0x8006968d0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1938 #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000000000 in ?? () #54 0x0000000000000000 in ?? () #55 0x0000000000000000 in ?? () #56 0x0000000000000000 in ?? () #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () #83 0x0000000000000000 in ?? () #84 0x0000000000000000 in ?? () #85 0x0000000000000000 in ?? () #86 0x0000000000000000 in ?? () #87 0x0000000000000000 in ?? () #88 0x0000000000000000 in ?? () #89 0x0000000000000000 in ?? () #90 0x0000000000000000 in ?? () #91 0x0000000000000000 in ?? () #92 0x0000000000000000 in ?? () #93 0x0000000000000000 in ?? () #94 0x0000000000000000 in ?? () #95 0x0000000000000000 in ?? () #96 0x0000000000000000 in ?? () #97 0x0000000000000000 in ?? () #98 0x0000000000000000 in ?? () #99 0x0000000000000000 in ?? () #100 0x0000000000000000 in ?? () #101 0x0000000000000000 in ?? () #102 0x0000000000000000 in ?? () #103 0x0000000000000000 in ?? () #104 0x0000000000000000 in ?? () #105 0x0000000000000000 in ?? () #106 0x0000000000000000 in ?? () #107 0x0000000000000000 in ?? () #108 0x0000000000000000 in ?? () #109 0x0000000000000000 in ?? () #110 0x0000000000000000 in ?? () #111 0x0000000000000000 in ?? () #112 0x0000000000000000 in ?? () Cannot access memory at address 0xfffffffe8002e000 ------------ESLH01tHZyv2bPjGWDQAWF--