From owner-freebsd-current Wed Dec 18 22:22:53 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 0ED5437B401 for ; Wed, 18 Dec 2002 22:22:52 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 343BE43EC5 for ; Wed, 18 Dec 2002 22:22:51 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gBJ6Mjp0014741; Thu, 19 Dec 2002 07:22:46 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Craig Rodrigues Cc: freebsd-current@freebsd.org Subject: Re: GEOM panic From: phk@freebsd.org In-Reply-To: Your message of "Wed, 18 Dec 2002 20:34:18 EST." <20021218203418.A550@attbi.com> Date: Thu, 19 Dec 2002 07:22:45 +0100 Message-ID: <14740.1040278965@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 <20021218203418.A550@attbi.com>, Craig Rodrigues writes: >Hi, > >I just did a cvsup and rebuilt my kernel, and now my kernel >panics upon bootup. I don't have a serial console, so I wrote >down the error messages that I saw: > >I saw this one in the middle of some GEOM debug statements: >ar: FreeBSD check1 failed Can you try this patch please ? Index: geom_mbr.c =================================================================== RCS file: /home/ncvs/src/sys/geom/geom_mbr.c,v retrieving revision 1.28 diff -u -r1.28 geom_mbr.c --- geom_mbr.c 17 Dec 2002 09:44:10 -0000 1.28 +++ geom_mbr.c 19 Dec 2002 06:22:00 -0000 @@ -393,6 +397,7 @@ g_mbr_print(1, dp + 1); if ((dp[0].dp_flag & 0x7f) == 0 && dp[0].dp_size != 0 && dp[0].dp_typ != 0) { + g_topology_lock(); g_slice_config(gp, slice, G_SLICE_CONFIG_SET, (((off_t)dp[0].dp_start) << 9ULL) + off, ((off_t)dp[0].dp_size) << 9ULL, -- 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