break to debugger in bhyve

2013-12-15 Thread Michael Berman
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. Michael ___ freebsd-virtualization@freebsd.org mailing list http://lis

Re: break to debugger in bhyve

2013-12-15 Thread Julian Elischer
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 co

Re: break to debugger in bhyve

2013-12-15 Thread Michael Berman
Unfortunately, this does not seem to work with the bhyve /dev/console device. Sent from my iPhone > On Dec 15, 2013, at 5:10 PM, "Julian Elischer" 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 >> starti

Re: break to debugger in bhyve

2013-12-16 Thread Neel Natu
Hi Michael, On Sun, Dec 15, 2013 at 9:00 PM, Michael Berman 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 o

Re: break to debugger in bhyve

2013-12-16 Thread Michael Berman
Yes, thank you. I had this in my sysctl.conf. It seems that my problem was in use of ssh in my environment. ³~~^B² finally did the trick. I¹ve also moved it to boot/loader.conf as this sets it a little earlier in the boot sequence. It is still unreliable for me, but it may be my environent. On 1

Re: break to debugger in bhyve

2013-12-16 Thread Peter Grehan
Works fine for me once I compile with the ALT_BREAK_TO_DEBUGGER config option. Also works without that, but the sysctl (or tunable) has to be set: root@bhyve-b1:~ # sysctl debug.kdb.alt_break_to_debugger=1 debug.kdb.alt_break_to_debugger: 0 -> 1 (issued the 3-char sequence CR ~ ctl-b) root@