Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 2003 18:23:41 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: Yet another crash in FreeBSD 5.1
Message-ID:  <3F2C641D.B18B0694@mindspring.com>
References:  <1079.192.168.0.3.1059811884.squirrel@webmail.aminor.no> <3F2B803C.21D38E0B@mindspring.com> <1886375.1059842833@[192.168.0.2]> <3F2C5D2B.F8382BCA@mindspring.com> <20030803011402.GK95375@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg 'groggy' Lehey wrote:
> > If this is repeatable for you, it's recommended that you compile
> > Vinum statically into your kernel, so that you can look at the
> > other symbols in the traceback and obtain source lines for them,
> > as well.
> 
> No.  It is explicitly discouraged.

It saves the dicking around with the .ko files.

> > It may be that this will be debuggable without that information, but
> > in my experience with similar problems, without a list of arguments
> > to the functions from a live remote debug session and/or a
> > crashdump, the problem is going to have to be found by an engineer
> > eyeballing the call graph and seeing how that particular line could
> > end up with a NULL in bp2 or bp.
> 
> Terry hasn't read the debug instructions.  You can load symbols from
> klds.  See the links I pointed to.

I read them.  You didn't provide examples for a non-crashdump
debug session.  Rather than give him incorrect information, I
gave him a workaround that would guarantee that what information
he did obtain would, in fact, be correct.

If you would care to take over, without insisting that he be able
to produce a crash dump (which he has already stated that he has
had trouble doing), be my guest.

The best information I can get him, without finding some way to
fix his obtaining a crashdump issue (I myself have been unable to
obtain one off and on during long stretches, due to the changes
in that area by PHK), is to translate his ddb traceback into
source code line numbers.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F2C641D.B18B0694>