Date: Thu, 19 Dec 2002 19:54:59 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: phk@FreeBSD.ORG Cc: freebsd-current@FreeBSD.ORG Subject: Re: GEOM panic Message-ID: <20021219195339.Y70361-100000@hewey.af.speednet.com.au> In-Reply-To: <14740.1040278965@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021219195339.Y70361-100000>
