Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 18:32:21 +0100
From:      bruce@cran.org.uk
To:        "P.U.Kruppa" <ulrich@pukruppa.net>
Cc:        Remko Lodder <remko@elvandar.org>, freebsd-current@freebsd.org
Subject:   Re: Parallel port printing crashes 7.0 system
Message-ID:  <20070924173221.GA18292@muon.bluestop.org>
In-Reply-To: <20070924183258.J1576@small>
References:  <20070924051118.H9923@small> <46F785BB.9030800@FreeBSD.org> <20070924114923.C10251@small> <20070924100607.GC1462@elvandar.org> <20070924183258.J1576@small>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 24, 2007 at 06:36:53PM +0200, P.U.Kruppa wrote:
> Sorry, from developer's handbook I guess I should find a vmcore.N 
> file. There isn't any. My parallel printing attempts end up in 
> some kind of single user mode on the root terminal with a
> 	db>
> prompt. Can I do anything with that?
>

That's the DDB prompt: from there you need to either get a backtrace or,
more usefully, generate a crash dump.

See
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html
for details.

To generate a crash dump that you can later use with kgdb, type "panic"
at the db> prompt.  Then, read
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html
to find out how to obtain a backtrace that can help diagnose the fault.
If using the "panic" command doesn't generate a crash dump, you could
also do some diagnostics at the db> prompt by using commands such as
"trace" to get a stack trace, but unless you're connected over serial
you won't be able to get a copy of the output so it's better to see if
you can generate a crash dump first.

--
Bruce



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