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

Ariff Abdullah skywizard at MyBSD.org.my
Wed Jul 6 03:42:42 GMT 2005



On Wed, 6 Jul 2005 10:16:59 +0930
Greg 'groggy' Lehey <grog at FreeBSD.org> wrote:
> 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/3
> 
> This 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

It's a long standing sound driver unloading routine bug, not really
phkism.

http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/mixer.c.diff
http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/sound.c.diff
http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/dsp.c.diff

will solve the problem.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)


More information about the freebsd-stable mailing list