Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 10:15:49 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "Janine C. Buorditez" <johann@broadpark.no>, questions@freebsd.org
Subject:   Re: kernel trap 9, message repeated 707960 times?!
Message-ID:  <20020914004549.GR25003@wantadilla.lemis.com>
In-Reply-To: <20020913093848.GO45289@freepuppy.bellavista.cz>
References:  <20020912155710.6f07e7c8.johann@broadpark.no> <20020913023059.GC25003@wantadilla.lemis.com> <20020913111513.04a94943.johann@broadpark.no> <20020913092640.GP25003@wantadilla.lemis.com> <20020913093848.GO45289@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 13 September 2002 at 11:38:48 +0200, Roman Neuhauser wrote:
> # grog@FreeBSD.org / 2002-09-13 18:56:40 +0930:
>> On Friday, 13 September 2002 at 11:15:13 +0200, Janine C. Buorditez wrote:
>>> dear greg,
>>>
>>> what routine prints the message, and how do i set up a kernel
>>> debugger breakpoint on it?
>>
>> I'd have to look at the source code and play around.  This isn't the
>> kind of question I can give a default answer to.
>
>> grep -FIHnr "with interrupts disabled" /usr/src
>
>     says it's /usr/src/sys/i386/i386/trap.c:trap()
>
>     as for setting up the breakpoint, i've never played with debugging a
>     unix kernel... but ddb(4) might help.

Yes.  You'd be better off with remote serial debugging as well.  The
problem here is that Janine/Johann probably doesn't have this in the
kernel, and rebooting will almost certainly make the problem go away.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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