From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 15 14:20:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F95C1065670 for ; Tue, 15 Jul 2008 14:20:01 +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 1BA3C8FC2D for ; Tue, 15 Jul 2008 14:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6FEK1iF096054 for ; Tue, 15 Jul 2008 14:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6FEK1f8096053; Tue, 15 Jul 2008 14:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 15 Jul 2008 14:20:01 GMT Resent-Message-Id: <200807151420.m6FEK1f8096053@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, alex Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E2AF106566B for ; Tue, 15 Jul 2008 14:16:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD7E8FC19 for ; Tue, 15 Jul 2008 14:16:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6FEG9MR059442 for ; Tue, 15 Jul 2008 14:16:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m6FEG9wn059441; Tue, 15 Jul 2008 14:16:09 GMT (envelope-from nobody) Message-Id: <200807151416.m6FEG9wn059441@www.freebsd.org> Date: Tue, 15 Jul 2008 14:16:09 GMT From: alex To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/125637: src/sys/kern/uipc_sockbuf.c, v 1.171.2.3 causing kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 14:20:01 -0000 >Number: 125637 >Category: kern >Synopsis: src/sys/kern/uipc_sockbuf.c,v 1.171.2.3 causing kernel panic >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 15 14:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: alex >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jun 30 12:40:54 CEST 2008 root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL i386 >Description: FreeBSD panics every now and then. I don't know which app is causing the panic. I've attached a backtrace, my kernel config and dmesg (although no output concering the panic is being output to it). Cheers alex --- crash begins here --- 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 "i386-marcel-freebsd"... Unread portion of the kernel message buffer: panic: sbdrop cpuid = 1 Syncing disks, vnodes remaining...3 Syncing disks, buffers remaining... 7154 7153 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 Giving up on 7152 buffers Uptime: 1d19h37m25s Physical memory: 2034 MB Dumping 257 MB: 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2 Reading symbols from /boot/kernel/cd9660.ko...Reading symbols from /boot/kernel/cd9660.ko.symbols...done. done. Loaded symbols for /boot/kernel/cd9660.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /boot/kernel/pseudofs.ko.symbols...done. done. Loaded symbols for /boot/kernel/pseudofs.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /boot/kernel/procfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/procfs.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done. done. Loaded symbols for /boot/kernel/ums.ko Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done. done. Loaded symbols for /boot/kernel/umass.ko Reading symbols from /boot/kernel/cam.ko...Reading symbols from /boot/kernel/cam.ko.symbols...done. done. Loaded symbols for /boot/kernel/cam.ko Reading symbols from /boot/kernel/random.ko...Reading symbols from /boot/kernel/random.ko.symbols...done. done. Loaded symbols for /boot/kernel/random.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/wlan_wep.ko...Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done. done. Loaded symbols for /boot/kernel/wlan_wep.ko Reading symbols from /boot/kernel/wlan_scan_sta.ko...Reading symbols from /boot/kernel/wlan_scan_sta.ko.symbols...done. done. Loaded symbols for /boot/kernel/wlan_scan_sta.ko Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ubt.ko Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done. done. Loaded symbols for /boot/kernel/netgraph.ko Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done. done. Loaded symbols for /boot/kernel/atapicam.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_bluetooth.ko Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_hci.ko Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_l2cap.ko Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_btsocket.ko Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_socket.ko #0 doadump () at pcpu.h:195 in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc04ddff6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc04de2f6 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc053012b in sbdrop_internal (sb=0xca153a24, len=2069) at /usr/src/sys/kern/uipc_sockbuf.c:848 #4 0xc053031e in sbdrop_locked (sb=0xca153a24, len=2800) at /usr/src/sys/kern/uipc_sockbuf.c:898 #5 0xc05ac807 in tcp_do_segment (m=0xc6360d00, th=0xc7694838, so=0xca153948, tp=0xca1371d0, drop_hdrlen=52, tlen=0) at /usr/src/sys/netinet/tcp_input.c:2031 #6 0xc05adbbf in tcp_input (m=0xc6360d00, off0=20) at /usr/src/sys/netinet/tcp_input.c:845 #7 0xc05a5798 in ip_input (m=0xc6360d00) at /usr/src/sys/netinet/ip_input.c:665 #8 0xc05748d5 in netisr_dispatch (num=2, m=0xc6360d00) at /usr/src/sys/net/netisr.c:185 #9 0xc057367a in ether_demux (ifp=0xc528a000, m=0xc6360d00) at /usr/src/sys/net/if_ethersubr.c:834 #10 0xc0573a73 in ether_input (ifp=0xc528a000, m=0xc6360d00) at /usr/src/sys/net/if_ethersubr.c:692 #11 0xc05825dd in ieee80211_deliver_data (ic=0xc528e22c, ni=0xc566b000, m=0xc6360d00) at /usr/src/sys/net80211/ieee80211_input.c:779 #12 0xc0587cdc in ieee80211_input (ic=0xc528e22c, m=0xc6360d00, ni=0xc566b000, rssi=31, noise=-98, rstamp=23523) at /usr/src/sys/net80211/ieee80211_input.c:519 #13 0xc0457bdd in ath_rx_proc (arg=0xc528e000, npending=1) at /usr/src/sys/dev/ath/if_ath.c:3673 #14 0xc05111f5 in taskqueue_run (queue=0xc5288080) at /usr/src/sys/kern/subr_taskqueue.c:255 #15 0xc05113fb in taskqueue_thread_loop (arg=0xc528f674) at /usr/src/sys/kern/subr_taskqueue.c:374 #16 0xc04bbf49 in fork_exit (callout=0xc0511340 , arg=0xc528f674, frame=0xe4211d38) at /usr/src/sys/kern/kern_fork.c:783 #17 0xc063e4a0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) q --- crash ends here --- --- kern_conf begins here --- cpu I686_CPU ident ARUNDEL maxusers 10 makeoptions DEBUG=-g makeoptions CONF_CFLAGS=-fno-builtin options MPTABLE_FORCE_HTT # Enable HTT CPUs with the MP Table options CPU_SUSP_HLT options CPU_UPGRADE_HW_CACHE options CPU_FASTER_5X86_FPU options ATA_STATIC_ID #options MSDOSFS #options CD9660 #options USB_DEBUG #options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN #options HZ=100 options PREEMPTION options IPI_PREEMPTION #options SCHED_4BSD #4BSD scheduler options SCHED_ULE options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_43TTY #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options COMPAT_FREEBSD5 #Compatible with FreeBSD5 options COMPAT_FREEBSD6 #Compatible with FreeBSD6 options SC_HISTORY_SIZE=1000 #number of history buffer lines options KDB #Compile with kernel debugger related code options KDB_TRACE #Print a stack trace of the current thread on the console for a panic. options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV #install a CDEV entry in /dev options UKBD_DFLT_KEYMAP #specify the built-in keymap makeoptions UKBD_DFLT_KEYMAP="german.iso" options AUTO_EOI_1 options AUTO_EOI_2 options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC #devices device eisa device pci device ata device atadisk device atapicd device usb device uhci device ehci device vga device sc device ukbd device ulpt device ath device ath_hal device ath_rate_sample device wlan device cpufreq device coretemp #pseudo devices device loop device ether device pty --- kern_conf ends here --- --- dmesg begins here --- Copyright (c) 1992-2008 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.0-STABLE #0: Mon Jun 30 12:40:54 CEST 2008 root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz (1800.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2146304000 (2046 MB) avail memory = 2090729472 (1993 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 2 ioapic0 irqs 0-23 on motherboard ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xb000-0xb07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] uhci0: port 0xe100-0xe11f 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 0xe200-0xe21f irq 21 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 uhci2: port 0xe000-0xe01f irq 18 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfa205000-0xfa2053ff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcm0: mem 0xfa200000-0xfa203fff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 atapci0: port 0xc000-0xc007,0xc100-0xc103,0xc200-0xc207,0xc300-0xc303,0xc400-0xc40f mem 0xfa000000-0xfa001fff irq 19 at device 0.0 on pci3 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pcib4: irq 16 at device 28.4 on pci0 pci4: on pcib4 uhci3: port 0xe300-0xe31f irq 23 at device 29.0 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 0xe400-0xe41f irq 19 at device 29.1 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 uhci5: port 0xe500-0xe51f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xfa204000-0xfa2043ff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 ath0: mem 0xfa100000-0xfa10ffff irq 18 at device 2.0 on pci5 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:0f:b5:82:07:c8 ath0: mac 7.9 phy 4.5 radio 5.6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at device 31.2 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci2: port 0xe700-0xe707,0xe800-0xe803,0xe900-0xe907,0xea00-0xea03,0xeb00-0xeb0f,0xec00-0xec0f irq 19 at device 31.5 on pci0 atapci2: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 925092506000925 device_attach: est0 attach returned 6 p4tcc0: on cpu0 coretemp0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 925092506000925 device_attach: est1 attach returned 6 p4tcc1: on cpu1 coretemp1: on cpu1 acpi_button0: 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 ubt0: on uhub0 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 ums0: on uhub1 ums0: 7 buttons and Z dir. ukbd0: on uhub1 kbd0 at ukbd0 Timecounters tick every 1.000 msec ad0: 238474MB at ata0-master SATA300 ad8: 6105MB at ata4-master UDMA33 acd0: DVDR at ata4-slave UDMA33 pcm0: pcm0: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 SMP: AP CPU #1 Launched! cd0 at ata4 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [341391 x 2048 byte records] Trying to mount root from ufs:/dev/ad8s1a WARNING: / was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 4 files 1 WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() WARNING: attempt to net_add_domain(netgraph) after domainfinalize() linux: pid 26039 (rm): syscall fstatat64 not implemented ulpt0: on uhub0 ulpt0: using bi-directional mode ulpt0: at uhub0 port 2 (addr 3) disconnected ulpt0: detached --- dmesg ends here --- >How-To-Repeat: Seems to appear randomly. >Fix: You tell me. >Release-Note: >Audit-Trail: >Unformatted: