From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 12:13:00 2008 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 164261065684 for ; Mon, 7 Jul 2008 12:13:00 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 92EED8FC26 for ; Mon, 7 Jul 2008 12:12:59 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KFpaQ-0005gZ-0g for freebsd-current@freebsd.org; Mon, 07 Jul 2008 12:12:54 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jul 2008 12:12:54 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jul 2008 12:12:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Mon, 07 Jul 2008 14:12:44 +0200 Lines: 84 Message-ID: References: <20080707113401.GA1672@venon.lost.garden> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig72E359E2FB81A2C10A28E02D" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.14 (X11/20080505) In-Reply-To: <20080707113401.GA1672@venon.lost.garden> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: mount ext2fs - geom_label 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: Mon, 07 Jul 2008 12:13:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig72E359E2FB81A2C10A28E02D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable William Grzybowski wrote: > Hi! >=20 > I'm running -CURRENT from 4 July. > I can mount my ext3 partition without any errors but I can't access it:= >=20 > # mount -t ext2fs /dev/ad0s1 /media/ > # cd /media > cd: not a directory: /media > # ls /media > ls: /media: Bad file descriptor >=20 > I enabled debug flags for geom: > kern.geom.label.debug=3D1 > kern.geom.debugflags=3D1 >=20 > And i get this from dmesg:=20 >=20 > g_post_event_x(0xc05d11f0, 0xc3f6a180, 2, 0) > ref 0xc3f6a180 > GEOM_LABEL[0]: Label ext2fs// removed. > g_slice_spoiled(0xc42c3dc0/ad0s1) > g_wither_geom(0xc45c8000(ad0s1)) > g_orphan_provider(0xc45c7e80(ext2fs//), 6) > g_orphan_register(ext2fs//) > g_dev_orphan(0xc5d82540(ext2fs//)) > g_detach(0xc5d82540) > g_destroy_consumer(0xc5d82540) > g_destroy_geom(0xc463d180(ext2fs//)) > g_detach(0xc42c3dc0) > g_destroy_consumer(0xc42c3dc0) > g_destroy_geom(0xc45c8000(ad0s1)) > g_wither_geom_close(0xc461eb80(ext2fs.ad0s1)) > g_post_event_x(0xc05d1580, 0xc3f6a180, 2, 0) > ref 0xc3f6a180 > g_wither_geom(0xc461eb80(ext2fs.ad0s1)) > g_label_taste(LABEL, ad0s1) > GEOM_LABEL[1]: MSDOSFS: ad0s1: no FAT signature found. > GEOM_LABEL[1]: ext2fs file system detected on ad0s1. > g_slice_config(ad0s1, 0, 1) > g_post_event_x(0xc05d1580, 0xc45c8480, 2, 0) > ref 0xc45c8480 > ref 0xc45c8680 > GEOM_LABEL[0]: Label for provider ad0s1 is ext2fs//. This only means that GEOM_LABEL detected an ext2fs-compatible file system with an empty label (or the label might be "/"?). I don't know if this particular thing would cause your error, but you might want to try and change the label on the ext2/3 file system to something using only alphanumeric characters (I think tune2fs -L can do that). > I'm not sure if this slice was mounting fine over an older build but fo= r sure it is ext3. > Another partition with ext3 is (at least was) working. >=20 > Am I missing something? Is that some kind of bug? Should i file it? > Thanks. If it turns out that geom_label is causing your problem, then yes, you should file it. --------------enig72E359E2FB81A2C10A28E02D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIcgg8ldnAQVacBcgRAn3JAKDw/3EadkaKbqLuyoEFFQjXzlmWQgCgm8HF BDGhj+vfns/necCNMYDt5JI= =9tks -----END PGP SIGNATURE----- --------------enig72E359E2FB81A2C10A28E02D--