From owner-freebsd-current@FreeBSD.ORG Thu Apr 2 05:17:21 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 54AFB1065672 for ; Thu, 2 Apr 2009 05:17:21 +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 A90008FC13 for ; Thu, 2 Apr 2009 05:17:19 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 12CCCE43407; Thu, 2 Apr 2009 13:16:57 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mmlab.cse.yzu.edu.tw; s=test; t=1238649417; bh=foHr3uv1MRnTp81H2rJpIOELPhWplGpZpuRy0hIaabw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=egcZl9Oe5vjddtWepiN6Tc2t1Yekiwm5znTK1IYK3JFQiBil5D9ofMfpJgUfNvR2b tK0ak7QZhykrkDc8VuiilEKk8uTfZPQnbO0484iliPuuh7+k9wkMBRMqk30Hprm2tD 35LWzck+2dsqXHH+nQ+qOBJrJlfOatjQOVVHkXxQ= Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 1274CE43406; Thu, 2 Apr 2009 13:16:57 +0800 (CST) Date: Thu, 2 Apr 2009 13:16:57 +0800 (CST) From: Tai-hwa Liang To: Marcel Moolenaar In-Reply-To: <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> Message-ID: <0904021314574.37737@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> 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: Thu, 02 Apr 2009 05:17:22 -0000 On Wed, 1 Apr 2009, Marcel Moolenaar wrote: > On Apr 1, 2009, at 6:44 PM, Tai-hwa Liang wrote: >> On Wed, 1 Apr 2009, Marcel Moolenaar wrote: >>> On Apr 1, 2009, at 4:16 AM, Tai-hwa Liang wrote: >>>> >>>> that's too bad. Since my /home is sitting on the extended partition, >>>> the OS won't boot unless the kernel is built with various GEOM_PART_ >>>> removed from i386/conf/DEFAULT plus GEOM_{BSD,MBR} added back to the >>>> kernel configuration file(ie: GENERIC kernel cvsup'ed today doesn't >>>> boot). >>> >>> That sounds like a bug, because logical partitions are >>> supported. Can you enable GEOM_PART_BSD, GEOM_PART_EBR >>> and GEOM_PART_MBR and tell me which GEOMs are available >>> at the mount root prompt? >> >> Following are what gpart sees with a GEOM_PART_{BSD,EBR,MBR} and >> GEOM_{BSD,MBR} enabled kernel: > > Please remove GEOM_{BSD,MBR} when enabling GEOM_PART_{BSD,EBR,MBR} > (and vice versa) and let me know how things look then. GENERIC kernel as of today(read: with GEOM_PART_{BSD,EBR,MBR} in DEFAULT and no GEOM{BSD,MBR}): # geom show => 63 228338775 ad0 MBR (109G) 63 18688257 1 !12 (8.9G) 18688320 16783200 2 freebsd [active] (8.0G) 35471520 192855600 3 !15 (92G) 228327120 11718 - free - (5.7M) => 0 16783200 ad0s2c BSD (8.0G) 0 786432 1 freebsd-ufs (384M) 786432 4194304 2 freebsd-swap (2.0G) 4980736 393216 4 freebsd-ufs (192M) 5373952 11409248 5 freebsd-ufs (5.4G) # geom list Geom name: ad0 fwheads: 16 fwsectors: 63 last: 228338837 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ad0s1 Mediasize: 9568387584 (8.9G) Sectorsize: 512 Mode: r0w0e0 rawtype: 12 length: 9568387584 offset: 32256 type: !12 index: 1 end: 18688319 start: 63 2. Name: ad0s2 Mediasize: 8592998400 (8.0G) Sectorsize: 512 Mode: r2w2e3 attrib: active rawtype: 165 length: 8592998400 offset: 9568419840 type: freebsd index: 2 end: 35471519 start: 18688320 3. Name: ad0s3 Mediasize: 98742067200 (92G) Sectorsize: 512 Mode: r0w0e0 rawtype: 15 length: 98742067200 offset: 18161418240 type: !15 index: 3 end: 228327119 start: 35471520 Consumers: 1. Name: ad0 Mediasize: 116909491200 (109G) Sectorsize: 512 Mode: r2w2e5 Geom name: ad0s2 fwheads: 16 fwsectors: 63 last: 16783199 first: 0 entries: 8 scheme: BSD Providers: 1. Name: ad0s2a Mediasize: 402653184 (384M) Sectorsize: 512 Mode: r1w1e1 rawtype: 7 length: 402653184 offset: 0 type: freebsd-ufs index: 1 end: 786431 start: 0 2. Name: ad0s2b Mediasize: 2147483648 (2.0G) Sectorsize: 512 Mode: r1w1e0 rawtype: 1 length: 2147483648 offset: 402653184 type: freebsd-swap index: 2 end: 4980735 start: 786432 3. Name: ad0s2d Mediasize: 201326592 (192M) Sectorsize: 512 Mode: r0w0e0 rawtype: 7 length: 201326592 offset: 2550136832 type: freebsd-ufs index: 4 end: 5373951 start: 4980736 4. Name: ad0s2e Mediasize: 5841534976 (5.4G) Sectorsize: 512 Mode: r0w0e0 rawtype: 7 length: 5841534976 offset: 2751463424 type: freebsd-ufs index: 5 end: 16783199 start: 5373952 Consumers: 1. Name: ad0s2 Mediasize: 8592998400 (8.0G) Sectorsize: 512 Mode: r2w2e3