In message <[EMAIL PROTECTED]>, 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
[EMAIL PROTECTED]         | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to