Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 11:20:48 PDT
From:      Michael Plass <plass@parc.com>
To:        freebsd-current@freebsd.org
Cc:        Michael Plass <plass@parc.com>
Subject:   Re: Unkillable and runaway processes
Message-ID:  <803595E4-8B91-4762-8F49-A9CD688D4EC2@parc.com>
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?803595E4-8B91-4762-8F49-A9CD688D4EC2>