From owner-freebsd-current@FreeBSD.ORG Fri Apr 3 07:18:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D6931065675 for ; Fri, 3 Apr 2009 07:18:59 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.freebsd.org (Postfix) with ESMTP id 396AA8FC1B for ; Fri, 3 Apr 2009 07:18:59 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 8FD22E43407; Fri, 3 Apr 2009 15:18:36 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mmlab.cse.yzu.edu.tw; s=test; t=1238743116; bh=r73zju83p8MLkCr/DI28mYyPfSnXt3eRrlYZVHGzSk8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=uXI4POXeaMWdrrD1UdSBTvtQoO+q+LN3EtQDdxm+gsv98A5Up3JRSa2sbK+23tuac i49l3vQs5KqTH0g9oJ+b788xDanECQuiMkPGd2LcrsIVFM85cMpVRAFCj9IE7Im2mU UwTH9hjoeDSGbINw9bSD5CcmzD0d86V6d/9O+JCs= Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 8E1A0E43406; Fri, 3 Apr 2009 15:18:36 +0800 (CST) Date: Fri, 3 Apr 2009 15:18:36 +0800 (CST) From: Tai-hwa Liang To: Marcel Moolenaar In-Reply-To: <8583A3BA-2871-4DF4-9792-1031044A4A22@mac.com> Message-ID: <09040315161311.79260@www.mmlab.cse.yzu.edu.tw> References: <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> <0904021314574.37737@www.mmlab.cse.yzu.edu.tw> <09040309313414.76643@www.mmlab.cse.yzu.edu.tw> <0904031327195.78401@www.mmlab.cse.yzu.edu.tw> <8583A3BA-2871-4DF4-9792-1031044A4A22@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 07:18:59 -0000 On Thu, 2 Apr 2009, Marcel Moolenaar wrote: > > On Apr 2, 2009, at 10:29 PM, Tai-hwa Liang wrote: > >>> The real fix will be a bit more involved, because we should >>> avoid wiping out the boot menu entry on a write. But at least >>> with the patch you should be able to read the EBR. >> >> Much better. I can see extended partition nodes after booting with the >> patched kernel: > > I dug a bit deeper and it's not a boot manager menu entry, > but some signature particular to some tool. I'm not going > to worry about preserving that. > > Patch committed. Thanks! > *snip* >> => 0 192855600 ad0s3 EBR (92G) >> 0 16783200 1 !131 (8.0G) >> 16783200 50243760 266401 !11 (24G) >> 67026960 31251024 1063921 freebsd (15G) >> 98277984 94577616 1559969 freebsd (45G) >> >> The only downside is that I'll have to update /etc/fstab to boot correctly >> as /dev/ad0s7a is still missing. > > Ok, let's look at those sectors as well. Can you send the > output of: > dd if=/dev/ad0s7 of=dump.dd count=2 bs=512 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200 57 45 56 82 00 00 00 00 61 6d 6e 65 73 69 61 63 |WEV.....amnesiac| 00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000220 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...| 00000230 10 00 00 00 1a 79 00 00 f0 03 00 00 11 da dc 01 |.....y..........| 00000240 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................| 00000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000280 00 00 00 00 57 45 56 82 93 e0 08 00 00 20 00 00 |....WEV...... ..| 00000290 00 00 00 00 01 da dc 01 a0 40 1d 02 00 08 00 00 |.........@......| 000002a0 07 08 88 6f 00 00 00 00 00 00 00 00 00 00 00 00 |...o............| 000002b0 00 00 00 00 11 da dc 01 a0 40 1d 02 00 00 00 00 |.........@......| 000002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 > BTW: Thanks for testing! Thanks for fixing! :) -- Cheers, Tai-hwa Liang