Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2009 13:16:57 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL
Message-ID:  <0904021314574.37737@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com>
References:  <DED07257-A1C7-4504-9A9E-CAAC2A9737D6@mac.com> <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <gqt3um$f77$3@ger.gmane.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <DC771BC5-F356-4D81-9082-91C922CCBF38@mac.com> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0904021314574.37737>