From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 12:37:06 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 323B31065682 for ; Mon, 7 Jul 2008 12:37:06 +0000 (UTC) (envelope-from william88@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id DEF3A8FC14 for ; Mon, 7 Jul 2008 12:37:05 +0000 (UTC) (envelope-from william88@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so737444wxd.7 for ; Mon, 07 Jul 2008 05:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=4Shhkt5DVwGtRcAvhHHTsWsZOf7Qudinv0odq8dVv4E=; b=JmhF2zbc17nQwguorOBuanDKN7O2c4ypQKNa3agQMZ0VP7ASk3Z7f9EB+AtQuZFuV/ HpKb0jpe4OixFVICjNvWHyU/CvVkElF7R0ufkzjrWU+IgtctuBEJyBUMZCI3ZEqlxGkk I1SvifrAMJZm3639LjPvcxuVRJbm5668JuC2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=M4y9X9OhisqOhXGH0iBQ+3ao4h1jWMqPuvV8Tl5ssgzpm0CDxU+Ilex5d5q4Srccn1 IfbAqmH8s1uj9003hxOfTI/BAYGK1TCEXWt5flAIE9QNt6ijZcIvoEJfvYWRZQIj2U3y Xfuv6WT+kBAiCo2jpFlIKNGr6UdgyXxCzQ6oE= Received: by 10.70.109.12 with SMTP id h12mr6834642wxc.6.1215434224898; Mon, 07 Jul 2008 05:37:04 -0700 (PDT) Received: from localhost ( [201.21.178.127]) by mx.google.com with ESMTPS id h16sm3717715wxd.15.2008.07.07.05.37.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Jul 2008 05:37:04 -0700 (PDT) Date: Mon, 7 Jul 2008 09:36:55 -0300 From: William Grzybowski To: Ivan Voras Message-ID: <20080707123655.GA1917@venon.lost.garden> References: <20080707113401.GA1672@venon.lost.garden> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org 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:37:06 -0000 On Mon, Jul 07, 2008 at 02:12:44PM +0200, Ivan Voras wrote: > William Grzybowski wrote: > > Hi! > > > > I'm running -CURRENT from 4 July. > > I can mount my ext3 partition without any errors but I can't access it: > > > > # mount -t ext2fs /dev/ad0s1 /media/ > > # cd /media > > cd: not a directory: /media > > # ls /media > > ls: /media: Bad file descriptor > > > > I enabled debug flags for geom: > > kern.geom.label.debug=1 > > kern.geom.debugflags=1 > > > > And i get this from dmesg: > > > > 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). The label was "/", I did change it to "st" and unfortunelly this issue still exists... > > > I'm not sure if this slice was mounting fine over an older build but for sure it is ext3. > > Another partition with ext3 is (at least was) working. > > > > 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. OK. -- William Grzybowski /"\ Jabber: william88(at)gmail_dot_com \ / ASCII Ribbon Campaign Curitiba/PR - Brazil (GMT -3:00) X against HTML email & vCards ......... / \