Panic: don't do that ... while unloading snd_ich.ko

Michael Nottebrock lofi at freebsd.org
Wed Jul 6 00:31:50 GMT 2005


Readily reproducable, 5.4-STABLE as of last week.

Kernel messages prior to panic (from memory):

pcm0: unregister: mixer busy
WARNING: Driver mistake: destroy_dev on 30/3

Backtrace:

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".
#0  0xc04ea796 in doadump () at pcpu.h:160
160             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  0xc04ea796 in doadump () at pcpu.h:160
#1  0xc04eacc0 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:413
#2  0xc04eaf54 in poweroff_wait (junk=0xc067dd2a, howto=-1066935045) 
at /usr/src/sys/kern/ker
#3  0xc04c455a in idestroy_dev (dev=0xc337e190) 
at /usr/src/sys/kern/kern_conf.c:563
#4  0xc04c4684 in destroy_dev (dev=0xc06d3428) 
at /usr/src/sys/kern/kern_conf.c:612
#5  0xc07a0f6c in ?? ()
#6  0xc06d3428 in devt_stash ()
#7  0xc2379980 in ?? ()
#8  0xc2379980 in ?? ()
#9  0xc2324200 in ?? ()
#10 0xe96c2c18 in ?? ()
#11 0xc07b0d7e in ?? ()
#12 0xc2379980 in ?? ()
#13 0xc2379980 in ?? ()
#14 0xc2379980 in ?? ()
#15 0xe96c2c30 in ?? ()
#16 0xc04feb37 in device_detach (dev=0xc23b65e0) 
at /usr/src/sys/kern/subr_bus.c:2301
Previous frame inner to this frame (corrupt stack?)

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050706/fc3ab322/attachment.bin


More information about the freebsd-stable mailing list