Date: Sun, 27 Oct 2002 13:12:50 -0600 From: Sean Kelly <smkelly@zombie.org> To: current@freebsd.org Subject: "don't do that" w/ snd_emu10k1.ko Message-ID: <20021027191246.GA696@edgemaster.zombie.org>
index | next in thread | raw e-mail
When attempting to kldunload snd_emu10k1.ko, I was greeted with a panic
saying "don't do that". I wasn't able to get any traces or anything, as
things went downhill from there. I'm not exactly sure what happened after
that, but it wasn't a graceful crash to say the least. I'll try it again
later for amusement.
Anyway, I would guess that this bit from sys/kern/kern_conf.c is doing it:
void
destroy_dev(dev_t dev)
{
if (!(dev->si_flags & SI_NAMED)) {
printf( "WARNING: Driver mistake: destroy_dev on %d/%d\n",
major(dev), minor(dev));
panic("don't do that");
return;
}
...
I don't recall seeing the WARNING, but things happened rather fast.
Any ideas or anybody else seeing this?
--
Sean Kelly | PGP KeyID: 77042C7B
smkelly@zombie.org | http://www.zombie.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021027191246.GA696>
