From owner-freebsd-current Thu Dec 19 1:55:11 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 5DCF237B401; Thu, 19 Dec 2002 01:55:09 -0800 (PST) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6EC243E4A; Thu, 19 Dec 2002 01:55:07 -0800 (PST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242]) by franky.speednet.com.au (8.12.6/8.12.6) with ESMTP id gBJ9t0gw055026; Thu, 19 Dec 2002 20:55:01 +1100 (EST) (envelope-from andyf@speednet.com.au) Received: from proxy.af.speednet.com.au (proxy.af.speednet.com.au [172.22.2.21]) by hewey.af.speednet.com.au (8.12.6/8.12.6) with ESMTP id gBJ9sxc9071484; Thu, 19 Dec 2002 19:55:00 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Thu, 19 Dec 2002 19:54:59 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: phk@FreeBSD.ORG Cc: freebsd-current@FreeBSD.ORG Subject: Re: GEOM panic In-Reply-To: <14740.1040278965@critter.freebsd.dk> Message-ID: <20021219195339.Y70361-100000@hewey.af.speednet.com.au> 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 This fixes it, thanks. On Thu, 19 Dec 2002 phk@FreeBSD.ORG wrote: > 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 > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message