gpart cannot find ada0

Ivan Voras ivoras at freebsd.org
Tue Sep 14 10:10:41 UTC 2010


On 14 September 2010 03:58, dave jones <s.dave.jones at gmail.com> wrote:
> On Mon, Sep 13, 2010 at 9:29 PM, Ivan Voras  wrote:
>> On 13 September 2010 03:38, dave jones  wrote:
>>> On Fri, Sep 10, 2010 at 5:46 PM, Ivan Voras  wrote:
>>>> On 09/10/10 04:50, dave jones wrote:
>>>>
>>>>> Ok, in /boot/loader.conf, I have added the following:
>>>>
>>>>> geom_mbr_load="YES"
>>>>
>>>> Remove this line and report what happens then.
>>>
>>> It seems that works after removing that line:
>>>
>>> # gpart show ada0
>>> =>       63  126189504  ada0  MBR  (60G)
>>>         63   81919089     1  freebsd  [active]  (39G)
>>>   81919152   44255358     2  !12  (21G)
>>>  126174510      15057        - free -  (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  geom_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?


More information about the freebsd-geom mailing list