Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 03:33:18 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        current@freebsd.org
Subject:   Re: keyboard break to debugger broken?
Message-ID:  <20140705103318.GF45513@funkthat.com>
In-Reply-To: <20140704112730.GI97231@server.rulingia.com>
References:  <20140704092848.GZ45513@funkthat.com> <20140704112730.GI97231@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Jeremy wrote this message on Fri, Jul 04, 2014 at 21:27 +1000:
> On 2014-Jul-04 02:28:48 -0700, John-Mark Gurney <jmg@funkthat.com> wrote:
> >So, I recently tried to break into the debugger w/ the various key
> >sequences that I know about, and none of them worked... I've tried
> >CTRL-ESC, ALT-ESC, CTRL-ALT-ESC, CTRL-PRTSCR, ALT-PRTSCR and
> >CTRL-ALT-PRTSCR, and many other different ones...   I've verified that
> >I can sysctl debug.kdb.enter=1 to enter the debugger, and the
> >CTRL-ALT-PAUSE works to suspend the machine, and CTRL-ALT-DEL works
> >to reboot...
> >
> >Does anyone know if this works?
> 
> It works for me on 10.0.  Do you have debug.kdb.break_to_debugger=1
> and hw.syscons.kbd_debug=1 (if you're using syscons)?

Turns out I didn't... and you didn't need to...  emaste helped me
the other night discover this..  Apparently rwatson changed this and
the docs never got updated...  I saw BREAK_TO_DEBUGGER, bug it was
documented as being *serial* only, not syscons...

I've updated NOTES and added an entry for defaults/loader.conf, but
more docs need to be updated that BREAK_TO_DEBUGGER or the tunable
or sysctl needs to be set before if works..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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