kern/121962: Kernel panics with device polling and snd_emu10k1.ko enabled and network load

Dmitry Demidov dima_bsd at inbox.lv
Sat May 24 20:50:03 UTC 2008


The following reply was made to PR kern/121962; it has been noted by GNATS.

From: Dmitry Demidov <dima_bsd at inbox.lv>
To: volker at vwsoft.com
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: kern/121962: Kernel panics with device polling and  snd_emu10k1.ko enabled and network load
Date: Sat, 24 May 2008 22:42:40 +0300

 >Dmitry,
 >
 >can you please send us a backtrace? Using the kgdb, fire a 'bt' command
 >and send us the output.
 >
 >Thanks!
 
 Here it is.
 
 
 ===
 
 Script started on Sat May 24 22:17:34 2008
 
 [root at hius /usr/obj/usr/src/sys/GENERIC_COPY]# uname -a
 FreeBSD hius.local.home 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Sat May 24 
 21:41:59 EEST 2008 root at hius.local.home:/usr/obj/usr/src/sys/GENERIC_COPY  
 i386
 [root at hius /usr/obj/usr/src/sys/GENERIC_COPY]# kgdb 
 kernel.debug /var/crash/vmcore.9
 
 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
 Undefined symbol "ps_pglobal_lookup"]
 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: sbflush_internal: cc 4294967230 || mb 0 || mbcnt 0
 cpuid = 0
 Uptime: 3m30s
 Physical memory: 1007 MB
 Dumping 62 MB: 47 31 15
 
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:241
 241		dumptid = curthread->td_tid;
 (kgdb) bt
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:241
 #1  0xc0852d7f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
 #2  0xc08531ad in panic (fmt=Could not find the frame base for "panic".
 ) at /usr/src/sys/kern/kern_shutdown.c:563
 #3  0xc08bce07 in sbflush_internal (sb=0xc48c8cb0)
     at /usr/src/sys/kern/uipc_sockbuf.c:815
 #4  0xc08bce1a in sbflush_locked (sb=0xc48c8cb0)
     at /usr/src/sys/kern/uipc_sockbuf.c:824
 #5  0xc08bcebb in sbflush (sb=0xc48c8cb0)
     at /usr/src/sys/kern/uipc_sockbuf.c:832
 #6  0xc0a1d011 in tcp_disconnect (tp=0xc4bddcb0)
     at /usr/src/sys/netinet/tcp_usrreq.c:1491
 #7  0xc0a1a902 in tcp_usr_disconnect (so=0xc48c8c60)
     at /usr/src/sys/netinet/tcp_usrreq.c:578
 #8  0xc08bf5d1 in sodisconnect (so=0xc48c8c60)
     at /usr/src/sys/kern/uipc_socket.c:787
 #9  0xc08bec08 in soclose (so=0xc48c8c60)
     at /usr/src/sys/kern/uipc_socket.c:642
 #10 0xc08a083b in soo_close (fp=0xc481e360, td=0xc4977210)
     at /usr/src/sys/kern/sys_socket.c:274
 #11 0xc0816377 in fo_close (fp=0xc481e360, td=0xc4977210) at file.h:297
 #12 0xc081629c in fdrop_locked (fp=0xc481e360, td=0xc4977210)
     at /usr/src/sys/kern/kern_descrip.c:2175
 #13 0xc0816153 in fdrop (fp=0xc481e360, td=0xc4977210)
     at /usr/src/sys/kern/kern_descrip.c:2140
 #14 0xc08158e2 in closef (fp=0xc481e360, td=0xc4977210)
     at /usr/src/sys/kern/kern_descrip.c:1958
 #15 0xc0812d15 in kern_close (td=0xc4977210, fd=8)
     at /usr/src/sys/kern/kern_descrip.c:1054
 #16 0xc0812b82 in close (td=0xc4977210, uap=0xe6cb1ccc)
     at /usr/src/sys/kern/kern_descrip.c:1006
 #17 0xc0c4b3d4 in syscall (frame=0xe6cb1d38)
     at /usr/src/sys/i386/i386/trap.c:1035
 #18 0xc0c29340 in Xint0x80_syscall ()
     at /usr/src/sys/i386/i386/exception.s:196
 #19 0x00000033 in ?? ()
 Previous frame inner to this frame (corrupt stack?)
 (kgdb) 
 (kgdb) quit
 [root at hius /usr/obj/usr/src/sys/GENERIC_COPY]# exit
 exit
 
 Script done on Sat May 24 22:19:18 2008
 
 ===
 
 #cat /var/crash/info.9
 Dump header from device /dev/ad0s2b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 65564672B (62 MB)
   Blocksize: 512
   Dumptime: Sat May 24 22:12:53 2008
   Hostname: hius.local.home
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 7.0-RELEASE-p1 #0: Sat May 24 21:41:59 EEST 2008
     terminus at hius.local.home:/usr/obj/usr/src/sys/GENERIC_COPY
   Panic String: sbflush_internal: cc 4294967230 || mb 0 || mbcnt 0
   Dump Parity: 4246574967
   Bounds: 9
   Dump Status: good
 
 ===
 


More information about the freebsd-bugs mailing list