From owner-freebsd-geom@FreeBSD.ORG Sun Jan 3 20:12:32 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 3D929106566B for ; Sun, 3 Jan 2010 20:12:32 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C09FE8FC18 for ; Sun, 3 Jan 2010 20:12:31 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NRWoP-0000vr-MR for freebsd-geom@freebsd.org; Sun, 03 Jan 2010 21:12:29 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 21:12:29 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 21:12:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: martinko Date: Sun, 03 Jan 2010 21:12:08 +0100 Lines: 56 Message-ID: References: <20100103013537.GK3508@acme.spoerlein.net> <4B40E7B6.8040500@acm.poly.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20100102 SeaMonkey/2.0.1 In-Reply-To: <4B40E7B6.8040500@acm.poly.edu> Sender: news Subject: Re: gstat: geom_gettree = -1: No such file or directory 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: Sun, 03 Jan 2010 20:12:32 -0000 Boris Kochergin wrote: > martinko wrote: >> Ulrich Spörlein wrote: >>> On Fri, 01.01.2010 at 18:47:27 +0100, martinko wrote: >>>> Hi list, >>>> >>>> gstat(8) does not work here on 8.0 (it worked happily on 6.x and 7.x) : >>>> >>>> # gstat >>>> gstat: geom_gettree = -1: No such file or directory >>>> >>>> Is this known ? What can I do ? >>> >>> I doubt that it is widely known, but I've seen these 2-3 times before >>> when fussing around with USB media and/or md(4) devices with gmirror on >>> top. Basically, if you get really creative with the geom layering, this >>> is likely to happen. >>> >>> It sure is a bug, but without a good way to reproduce, noone's gonna fix >>> it. >> >> Well, it is definitely reproducible here -- I cannot run gstat(8). >> >> Apart from mouse I have no USB devices connected. >> >> I use tmpmfs="YES" in rc.conf but I do not use gmirror nor any other >> creative GEOM layering. >> >> If someone's willing to investigate -- what info should I provide ? >> >> Cheers, >> >> Martin > I believe geom_gettree() gets its information from the kern.geom.confxml > sysctl. With that said, can you put the output of the following command > somewhere? > > sysctl -b kern.geom.confxml Yes, you're right and now I think I know what may cause this bug and it worries me even more -- my FAT32 partition has a funny name but it for sure was not like this before: $ ll /dev/msdosfs/ crw-r----- 1 root operator 0, 95 Jan 3 09:28 FREEDOS crw-r----- 1 root operator 0, 103 Jan 3 09:28 01wb? Here's the complete output you asked for: http://mato.gamato.org/freebsd/aw1n/kern.geom.confxml-8.0 Cheers, Martin PS: I've just read about some msdosfs issues and I'm very much worried that my partition data might be corrupted. :-/