Michael Nottebrock
2005-Jul-06 00:31 UTC
Panic: don't do that ... while unloading snd_ich.ko
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@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
Greg 'groggy' Lehey
2005-Jul-06 00:47 UTC
Panic: don't do that ... while unloading snd_ich.ko
On Wednesday, 6 July 2005 at 2:31:37 +0200, Michael Nottebrock wrote:> 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/3This is a phkism. It's supposed to tell the developer to fix his code. You'll have to look at the code and work out what's wrong. I don't understand how this could get into STABLE, though. Greg -- The virus contained in this message was detected by LEMIS anti-virus. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. -------------- 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/f264fb5e/attachment.bin