From owner-freebsd-questions Fri Sep 13 17:46: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A401037B400 for ; Fri, 13 Sep 2002 17:45:56 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA9D43E42 for ; Fri, 13 Sep 2002 17:45:54 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A5AD7812B0; Sat, 14 Sep 2002 10:15:49 +0930 (CST) Date: Sat, 14 Sep 2002 10:15:49 +0930 From: Greg 'groggy' Lehey To: "Janine C. Buorditez" , questions@freebsd.org Subject: Re: kernel trap 9, message repeated 707960 times?! Message-ID: <20020914004549.GR25003@wantadilla.lemis.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020913093848.GO45289@freepuppy.bellavista.cz> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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