From owner-freebsd-stable Sat Oct 6 22:27:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-172.zoominternet.net [24.154.28.172]) by hub.freebsd.org (Postfix) with ESMTP id 692B737B403 for ; Sat, 6 Oct 2001 22:27:49 -0700 (PDT) Received: from topperwein.dyndns.org (topperwein.dyndns.org [192.168.168.10]) by topperwein.dyndns.org (8.11.6/8.11.6) with ESMTP id f975S3c10942 for ; Sun, 7 Oct 2001 01:28:03 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Sun, 7 Oct 2001 01:27:58 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: kern/30280: Fatal trap 12 in kldunload() on 4.4-RC (fwd) In-Reply-To: Message-ID: <20011007012409.L10737-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Followup: I had linuxelf support compiled into my kernel. Some port (probably VMWare) attempted to kldload it anyway. Although I got error messages about linuxelf already being present, a half-finished entry (visible with kldstat -v) was entered anyway. Upon shutdown, an attempt was made to unload this bogus linux module entry, and the machine panicked. I verified that this was indeed what was causing my panic by removing linuxelf support from my kernel config, so that it only gets kldload'ed from now on. No more panics. IMHO, this represents a bug in kldload. It should not leave crap in the kld area when it detects that the support that would be added by a module is already present in the kernel. So, what should I do with this PR? On Mon, 3 Sep 2001, Chris BeHanna wrote: > I filed a PR for the trap 12 panic that I get, so it won't get > dropped on the floor: > > ---------- Forwarded message ---------- > Date: Sun, 2 Sep 2001 22:40:00 -0700 (PDT) > From: gnats-admin@FreeBSD.org > To: Chris BeHanna > Subject: Re: kern/30280: Fatal trap 12 in kldunload() on 4.4-RC > > Thank you very much for your problem report. > It has the internal identification `kern/30280'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=30280 > > >Category: kern > >Responsible: freebsd-bugs > >Synopsis: Fatal trap 12 in kldunload() on 4.4-RC > >Arrival-Date: Sun Sep 02 22:40:00 PDT 2001 -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message