amd64/145414: Problem with Geom/Gmirror
Eduardo Orige
eduardo.orige at gmail.com
Tue Apr 6 13:00:15 UTC 2010
The following reply was made to PR kern/145414; it has been noted by GNATS.
From: Eduardo Orige <eduardo.orige at gmail.com>
To: Bug-followup <bug-followup at freebsd.org>
Cc:
Subject: Re: amd64/145414: Problem with Geom/Gmirror
Date: Tue, 06 Apr 2010 09:54:55 -0300
Em Seg, 2010-04-05 Ã s 18:10 -0700, Garrett Cooper escreveu:
> On Mon, Apr 5, 2010 at 5:44 PM, Eduardo Orige <eduardo.orige at gmail.com> wrote:
> > 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 <eduardo.orige at gmail.com> wrote:
> >> > > Em Seg, 2010-04-05 Ã s 12:29 -0700, Garrett Cooper escreveu:
> >> > >> On Mon, Apr 5, 2010 at 11:24 AM, Eduardo Orige <eduardo.orige at gmail.com> 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 at 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 at 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?
>
> Yes.
>
> > And where are your patch?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F144307&cat= (turns
> out that I didn't actually misfile it. Awesome...).
>
> -Garrett
Hello,
I put this file in ~/ of server and i used command: make
The message recieved was:
`patch.c' is up to date.
But can't use the command: make install clean.
I think that what i did was wrong.
What I do?
Thanks,
-Eduardo
More information about the freebsd-geom
mailing list