Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 11:22:19 -0700
From:      Michael Plass <mfp49_freebsd@plass-family.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Unkillable and runaway processes
Message-ID:  <2D3D02AF-9586-4908-997D-E889A70E5A90@plass-family.net>
In-Reply-To: <20070905120016.2470416A4F8@hub.freebsd.org>
References:  <20070905120016.2470416A4F8@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 05 Sep 2007, Benjamin Close wrote:

> I'd love to debug here this but can't as the box uses a USB
> mouse/keyboard so every time I drop to a debugger I lose keyboard  
> support :(

I have had some success using DDB with a USB keyboard by removing atk  
and kbdmux from the kernel config (nodevice lines for atkbdc, atkbd,  
psm, and kbdmux).

A downside is that when I do this, dumps stop working - they hang on  
the call to cncheckc() when checking for user abort (the cncheckc()  
never returns).  Replacing this call with (-1) allows the dump to  
proceed.  For me, the relevant file is /usr/src/sys/amd64/amd64/ 
minidump_machdep.c.

- Michael





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D3D02AF-9586-4908-997D-E889A70E5A90>