From owner-freebsd-current Sat Mar 15 21:59:56 2003 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 5E79D37B404 for ; Sat, 15 Mar 2003 21:59:54 -0800 (PST) Received: from web11408.mail.yahoo.com (web11408.mail.yahoo.com [216.136.131.238]) by mx1.FreeBSD.org (Postfix) with SMTP id C7C5443FB1 for ; Sat, 15 Mar 2003 21:59:53 -0800 (PST) (envelope-from shizukakudo_99@yahoo.com) Message-ID: <20030316055953.48314.qmail@web11408.mail.yahoo.com> Received: from [219.76.96.9] by web11408.mail.yahoo.com via HTTP; Sat, 15 Mar 2003 21:59:53 PST Date: Sat, 15 Mar 2003 21:59:53 -0800 (PST) From: Shizuka Kudo Subject: Re: panic on boot (devfs_find) To: Bryan Liesner , Poul-Henning Kamp Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <20030314103535.K605@gravy.kishka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- Bryan Liesner wrote: > > I was able to get a kernel up and running (strangely) on 3/12, but > commits after that cause an immediate panic as soon as init starts. > > If I build a kernel from sources cut off at 3/10/2003 at 12:00, > everything works fine. > It is related to the sys/geom/geom_event.c commit on 3/11/2003: > Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 10 23:41:41 2003 UTC (5 days, 5 hours ago) by phk > Branch: MAIN > CVS Tags: HEAD > Changes since 1.19: +5 -0 lines > Diff to previous 1.19 (colored) > > If we run out of consumers while orphaning them, and the provider's geom > is withering, destroy the provider when done. > > This was exposed by the recent change to geom_dev's orphaning logic If I reverted it back to a previous version (1.19) then the machine booted OK. BTW, I also found that adding INVARIANTS options into the kernel can prevent this problem as well. Regards, __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message