From owner-freebsd-geom@FreeBSD.ORG Tue Apr 6 01:20:05 2010 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D811065673 for ; Tue, 6 Apr 2010 01:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 588868FC14 for ; Tue, 6 Apr 2010 01:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o361K5Jc067101 for ; Tue, 6 Apr 2010 01:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o361K5lx067100; Tue, 6 Apr 2010 01:20:05 GMT (envelope-from gnats) Date: Tue, 6 Apr 2010 01:20:05 GMT Message-Id: <201004060120.o361K5lx067100@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Eduardo Orige Cc: Subject: Re: amd64/145414: Problem with Geom/Gmirror X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eduardo Orige List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 01:20:05 -0000 The following reply was made to PR kern/145414; it has been noted by GNATS. From: Eduardo Orige To: bug-followup@freebsd.org Cc: Subject: Re: amd64/145414: Problem with Geom/Gmirror Date: Mon, 05 Apr 2010 21:45:03 -0300 Em Seg, 2010-04-05 às 14:37 -0700, Garrett Cooper escreveu: > Em Seg, 2010-04-05 às 13:30 -0700, Garrett Cooper escreveu: > > On Mon, Apr 5, 2010 at 1:20 PM, Eduardo Orige wrote: > > > Em Seg, 2010-04-05 às 12:29 -0700, Garrett Cooper escreveu: > > >> On Mon, Apr 5, 2010 at 11:24 AM, Eduardo Orige wrote: > > >> > > > >> >>Number: 145414 > > >> >>Category: amd64 > > >> >>Synopsis: Problem with Geom/Gmirror > > >> >>Confidential: no > > >> >>Severity: critical > > >> >>Priority: medium > > >> >>Responsible: freebsd-amd64 > > >> >>State: open > > >> >>Quarter: > > >> >>Keywords: > > >> >>Date-Required: > > >> >>Class: sw-bug > > >> >>Submitter-Id: current-users > > >> >>Arrival-Date: Mon Apr 05 18:30:08 UTC 2010 > > >> >>Closed-Date: > > >> >>Last-Modified: > > >> >>Originator: Eduardo Orige > > >> >>Release: 7.2-stable > > >> >>Organization: > > >> >>Environment: > > >> > FreeBSD server.amizade 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > >> > > > >> >>Description: > > >> > The problem happened when i try use commands like: > > >> > # gstat > > >> > and error: > > >> > # gstat: geom_gettree = -1: No such file or directory > > >> > > > >> > Or with this command: > > >> > > > >> > # gmirror list or gmirror status > > >> > and error: > > >> > gmirror: Cannot get GEOM tree: Unknown error: -1 > > >> > > > >> > > > >> >>How-To-Repeat: > > >> > sysctl kern.geom.debugflags=16 > > >> > > > >> > gmirror label -v gm0 ad4 > > >> > gmirror load > > >> > gmirror insert gm0 ad6 > > >> > > >> Please provide truss output for both commands. > > >> Thanks, > > >> -Garrett > > > > > > > > > The problem ocurred in GMIRROR only. > > > How-To-Repeat: > > >> > sysctl kern.geom.debugflags=16 > > >> > > > >> > gmirror label -v gm0 ad4 > > >> > gmirror load > > >> > gmirror insert gm0 ad6 > > > > > > Error: > > > gmirror list > > > and error: > > > gmirror: Cannot get GEOM tree: Unknown error: -1 > > > > > > > > > gmirror status > > > gmirror: Cannot get GEOM tree: Unknown error: -1 > > > > > > gstat > > > and error: > > > gstat: geom_gettree = -1: No such file or directory > > > > I guess you didn't see the part where I said `truss'. Please read > > the manpage on how to execute truss if you don't already know how to > > do so: > > > > http://www.freebsd.org/cgi/man.cgi?query=truss&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html > > > > HTH, > > -Garrett > > > Sorry, I didn't understand when you said `truss`. > I used follow command: > > truss -faedDS -o ~/gstatus.error -s 32 gmirror status > truss -faedDS -o ~/gstat.error -s 32 gstat > truss -faedDS -o ~/glist.error -s 32 gmirror list > > The output of the three commands above are attached. > > Thanks, > -Eduardo > > --------------------- > > Ok. The `no such file or directory' error is misc/144307 (I filed > it under the wrong category -- should be kern). Not sure why the rest > of it isn't working, but if you can apply the patch I attached to that > PR, recompile, and try to rerun the commands, does the message differ? > After that data is determined, the bug should be triaged on to geom@ > to determine whether or not it's a valid problem, or potential > accidental user error. > Thanks, > -Garrett > > PS Please CC bug-followup@freebsd.org the next time you reply unless > requested by the person helping you ;). Ok. So, just use commands make and make install in your patch and rerun the commands? And where are your patch? Thanks -Eduardo