From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 13 15:15:38 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 132CD37B401 for ; Sun, 13 Apr 2003 15:15:38 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2154C43F75 for ; Sun, 13 Apr 2003 15:15:37 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h3DMFRSA003404; Mon, 14 Apr 2003 00:15:32 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Nicolas Souchu From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 13 Apr 2003 22:36:56 -0000." <20030413223656.A21075@armor.free.fr> Date: Mon, 14 Apr 2003 00:15:27 +0200 Message-ID: <3403.1050272127@critter.freebsd.dk> cc: hackers@freebsd.org Subject: Re: infinite loop in kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 22:15:38 -0000 In message <20030413223656.A21075@armor.free.fr>, Nicolas Souchu writes: > >Hi folks, > >I'm trying to debug some infinite loop in the kernel. I guess >this is the problem since key interrupts are still working but >the system does not respond otherwise. > >Unfortunatly, breaking in the debugger only gives my the >trace of the kbd intr thread... > >Which data structure should I check? Use "ps" in DDB to see which processes are runnable for instance. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.