看板 FB_current 關於我們 聯絡資訊
On Jul 5, 2014, at 1:33 PM, John-Mark Gurney <jmg@funkthat.com> wrote: > 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=3D1 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=3D1 >> and hw.syscons.kbd_debug=3D1 (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.. > = I don=92t know about 10/11 but 9.3 (and probably late 9.2) introduced conso= le_port which silently overrides the hint.uart.n.flags=3D0x10 to set which serial p= ort is the =91console=92, in my case I have several platforms (mainly sunfire=92s = from sun) that only have uart1 available. somehow, i have the feeling that getting the serial console (needed to run = serial-over-lab) to work is getting more in the region of magic than technology. please, some of us really need the serial console to work so that we can re= scue servers when all else fails. thanks, danny > -- = > John-Mark Gurney Voice: +1 415 225 5579 > = > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"