From owner-freebsd-geom@FreeBSD.ORG Tue Sep 14 10:10:41 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBC57106564A for ; Tue, 14 Sep 2010 10:10:41 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6D0A38FC1B for ; Tue, 14 Sep 2010 10:10:41 +0000 (UTC) Received: by qwg5 with SMTP id 5so4583269qwg.13 for ; Tue, 14 Sep 2010 03:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=0+4PCUd5/xlUcK6viAzOPeUYYB/KQyBFu1/APXcr4ic=; b=qiBV3qn/6v1K2+qfgVolR1iO4npsTYIAKp2GjjN0INJ2ymKYQnDNfx7v0MKdk5C3WX R7UItflbhhSTgwT04RlqBnRDVf7epkpQY9GdLofqy5PBoTadnSZEbN0M2vSzLl3VjsA0 2V4p+TYuMLOFZGN8WIjniK1In9jSwVQXq0F+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=BvNg1ymEvN0qF/FdNxeVj0P2/ln2owXY3uEcar402kaZj8qF1GjKWarRq7wDbcf1c+ Gr5TiY9UkvoAjRf5LP3GyLmmjMdQ0tH0xRhPq64cRlljdp8xnH4jK5fmEloW1lG/ZpyG PBgtOWMOoVcR3P+7+uelZr9N2EpK4Psl9nPok= Received: by 10.224.35.23 with SMTP id n23mr72076qad.128.1284459040500; Tue, 14 Sep 2010 03:10:40 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.188.204 with HTTP; Tue, 14 Sep 2010 03:10:20 -0700 (PDT) In-Reply-To: References: <20100909085007.00001b09@unknown> From: Ivan Voras Date: Tue, 14 Sep 2010 12:10:20 +0200 X-Google-Sender-Auth: Gtskke5PXSuwrZmk2zd_M938wn4 Message-ID: To: dave jones Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: gpart cannot find ada0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 10:10:41 -0000 On 14 September 2010 03:58, dave jones 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?