From owner-freebsd-current Sun Oct 27 11:12:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9739337B401 for ; Sun, 27 Oct 2002 11:12:56 -0800 (PST) Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26DCD43E42 for ; Sun, 27 Oct 2002 11:12:56 -0800 (PST) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id D7124414D9; Sun, 27 Oct 2002 13:12:50 -0600 (CST) Date: Sun, 27 Oct 2002 13:12:50 -0600 From: Sean Kelly To: current@freebsd.org Subject: "don't do that" w/ snd_emu10k1.ko Message-ID: <20021027191246.GA696@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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