Hi Michael,

On Sun, Dec 15, 2013 at 9:00 PM, Michael Berman
<michael.ber...@tidalscale.com> wrote:
>
> Unfortunately, this does not seem to work with the bhyve /dev/console device.
>

Works fine for me once I compile with the ALT_BREAK_TO_DEBUGGER config option.

root@b2:~ # sysctl -a kern.conftxt | grep ALT_BREAK_TO_DEBUGGER
options ALT_BREAK_TO_DEBUGGER
root@b2:~ #
root@b2:~ # KDB: enter: Break to debugger
[ thread pid 11 tid 100003 ]
Stopped at      kdb_alt_break_internal+0x17f:   movq    $0,kdb_why
db>

best
Neel

> Sent from my iPhone
>
>> On Dec 15, 2013, at 5:10 PM, "Julian Elischer" <jul...@freebsd.org> wrote:
>>
>>> On 12/16/13, 8:27 AM, Michael Berman wrote:
>>> I’ve tried the various kernel and sysctl options, and it may be the way I 
>>> am starting bhyve but I can’t seem to get a the FreeBSD guest to enter the 
>>> kernel debugger with a hotkey.
>> it depends of course on which 'console' you are using,,  for serial console 
>> with /dev/nmdm you can use the ALT_BREAK_TO_DEBUGGER
>> option so that {enter| {~} {^B} will drop you into the debugger.
>> When I was doing this last I had the console on the first serial port and 
>> the debugger on the second.
>> (that's why I wrote the nmdm node.)
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> freebsd-virtualization@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>> To unsubscribe, send any mail to 
>>> "freebsd-virtualization-unsubscr...@freebsd.org"
>>
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to 
> "freebsd-virtualization-unsubscr...@freebsd.org"
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to