Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 12:10:20 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        dave jones <s.dave.jones@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gpart cannot find ada0
Message-ID:  <AANLkTi=kTjM8Z9b9%2BydnDv8FnKXBbPG7m0Hj3W6rh4Pu@mail.gmail.com>
In-Reply-To: <AANLkTik2Ssdf7owbsRzze01kxtzKC-yYaGNnAx9xqS5g@mail.gmail.com>
References:  <AANLkTik2GZThmVuFiaH3tMYT5r9Vr0NF37GdeTjGUYi2@mail.gmail.com> <20100909085007.00001b09@unknown> <AANLkTikUGXG%2BFKNbY2%2BdtzLQpDpXqL4-fyM=wwbiDzP0@mail.gmail.com> <i6aias$h9m$1@dough.gmane.org> <AANLkTikhH83CZWMnJsU%2BwRk6FLMG-VSkjxg6A4voyxvj@mail.gmail.com> <i6cuq5$bjq$1@dough.gmane.org> <AANLkTim1LgcxNNxdd_e1fsVE=foZWngVZP9TWrygTYhV@mail.gmail.com> <AANLkTi==Q%2B6%2Bjd5fS1Qi4b8BS__SKwzFN8k6Ch8QRkNU@mail.gmail.com> <AANLkTik2Ssdf7owbsRzze01kxtzKC-yYaGNnAx9xqS5g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 September 2010 03:58, dave jones <s.dave.jones@gmail.com> wrote:
> On Mon, Sep 13, 2010 at 9:29 PM, Ivan Voras =C2=A0wrote:
>> On 13 September 2010 03:38, dave jones =C2=A0wrote:
>>> On Fri, Sep 10, 2010 at 5:46 PM, Ivan Voras =C2=A0wrote:
>>>> On 09/10/10 04:50, dave jones wrote:
>>>>
>>>>> Ok, in /boot/loader.conf, I have added the following:
>>>>
>>>>> geom_mbr_load=3D"YES"
>>>>
>>>> Remove this line and report what happens then.
>>>
>>> It seems that works after removing that line:
>>>
>>> # gpart show ada0
>>> =3D> =C2=A0 =C2=A0 =C2=A0 63 =C2=A0126189504 =C2=A0ada0 =C2=A0MBR =C2=
=A0(60G)
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 63 =C2=A0 81919089 =C2=A0 =C2=A0 1 =C2=A0fr=
eebsd =C2=A0[active] =C2=A0(39G)
>>> =C2=A0 81919152 =C2=A0 44255358 =C2=A0 =C2=A0 2 =C2=A0!12 =C2=A0(21G)
>>> =C2=A0126174510 =C2=A0 =C2=A0 =C2=A015057 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =
free - =C2=A0(7.4M)
>>>
>>> Does that mean that module should not be included?
>>
>> Yes.
>
> Ok. I'm still wondering why geom_mbr should not be included
> in /boot/loader.conf. Would you tell me why? Thanks.

Because of just that - you can't mix geom_part and geom_mbr because
they do the same thing, and gpart is the utility for interfacing with
geom_part.

>>> I need geom_mbr module due to my some of usb thumb
>>> drivers.
>>
>> Why? What doesn't work if you don't have it?
>
> When I plug a usb thumb drive, there's no /dev/da0s1device node.
> If I load =C2=A0geom_mbr.ko, then /dev/da0s1 appears.

This almost certainly indicates a problem somewhere else, not in
geom_part. You need to provide more details: what kernel messages do
you get when geom_mbr is not loaded?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=kTjM8Z9b9%2BydnDv8FnKXBbPG7m0Hj3W6rh4Pu>