From owner-freebsd-current Sun Mar 16 0:29:21 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 9E16837B404 for ; Sun, 16 Mar 2003 00:29:19 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD10643F85 for ; Sun, 16 Mar 2003 00:29:18 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2G8TFDs004709; Sun, 16 Mar 2003 09:29:16 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Bryan Liesner Cc: Shizuka Kudo , freebsd-current@FreeBSD.ORG Subject: Re: panic on boot (devfs_find) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 16 Mar 2003 01:36:48 EST." <20030316012828.Q460@gravy.kishka.net> Date: Sun, 16 Mar 2003 09:29:15 +0100 Message-ID: <4708.1047803355@critter.freebsd.dk> 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 In message <20030316012828.Q460@gravy.kishka.net>, Bryan Liesner writes: >> >> > 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, > >I have reverted back to rev 1.19 and all seems to be running OK. I >have /dev/null, /dev/stderr, /dev/apm, and /dev/mixer back. >When the faulty kernel _did_ boot (after about a million retries to >coax a core dump), these devices were missing at boot, or would >disappear shortly after. > >Thanks. >I think Poul-Henning will have enough information to go with now... You guys _way_ overestimate my abilities here. Right now I have a hard time imagining what geom's eventhandling for "withering" geoms can possibly have to do with any non-geom device node being present in /dev or not, and even more so how INVARIANTS could affect that. The only influence I can imagine is one of timing... I don't think I'll stand a chance on this one until I can reproduce it on one of my machines :-( One thing I'd like you to try is to remove any trace of USB from your systems. USB does some ugly VOP_REVOKES which I am not happy about, and I would like to exclude them from the list of suspects. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message