From owner-freebsd-geom@FreeBSD.ORG Wed Oct 22 22:09:07 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40AD71065672; Wed, 22 Oct 2008 22:09:07 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 2A85C8FC1B; Wed, 22 Oct 2008 22:09:07 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9500AEOUV6SF20@asmtp016.mac.com>; Wed, 22 Oct 2008 15:09:06 -0700 (PDT) Message-id: From: Marcel Moolenaar To: Andriy Gapon In-reply-to: <48FFA1F8.40709@icyb.net.ua> Date: Wed, 22 Oct 2008 15:09:05 -0700 References: <48FF2607.10807@icyb.net.ua> <63F8346D-0116-4F41-BCAA-C235E9657BD8@mac.com> <48FF82BA.3020309@icyb.net.ua> <48FF913A.9070700@icyb.net.ua> <7334715F-FAE1-40EE-92EB-468041587410@mac.com> <48FFA1F8.40709@icyb.net.ua> X-Mailer: Apple Mail (2.929.2) Cc: Marcel Moolenaar , freebsd-geom@freebsd.org Subject: Re: gpart oddity X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 22:09:07 -0000 On Oct 22, 2008, at 2:58 PM, Andriy Gapon wrote: > on 23/10/2008 00:03 Marcel Moolenaar said the following: >> On Oct 22, 2008, at 1:46 PM, Andriy Gapon wrote: >>> I'll try to boot into a new kernel now (the one without GEOM_MBR >>> and GEOM_BSD). >> Could you send a quick "it works" message if this was the >> problem? > > Unfortunately, no. But I can't really tell what's going wrong. > > I do a verbose boot, but I don't see any GEOM message whatsoever after > GEOM: new disk ad4 > And then kernel can not find root filesystem and at the prompt it > reports that it sees only slice devices, ad4s1 and ad4s2, but not > ad4s1a or any other partition. > So I can not complete booting and I don't know how to debug that. It's possible that I haven't merged all the changes from HEAD to 7-stable. Try the following patch: Index: g_part_bsd.c =================================================================== --- g_part_bsd.c (revision 183454) +++ g_part_bsd.c (revision 183455) @@ -293,7 +293,7 @@ magic2 = le32dec(buf + 132); g_free(buf); return ((magic1 == DISKMAGIC && magic2 == DISKMAGIC) - ? G_PART_PROBE_PRI_NORM : ENXIO); + ? G_PART_PROBE_PRI_HIGH : ENXIO); } static int FYI, -- Marcel Moolenaar xcllnt@mac.com