Hi Michael, On Sun, Dec 15, 2013 at 9:00 PM, Michael Berman <[email protected]> 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" <[email protected]> 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 >>> >>> _______________________________________________ >>> [email protected] mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>> To unsubscribe, send any mail to >>> "[email protected]" >> > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "[email protected]"
