Date: Sun, 4 May 2008 23:29:38 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/arm/at91 uart_dev_at91usart.c src/sys/dev/dcons dcons_os.c src/sys/dev/ofw ofw_console.c src/sys/dev/sio sio.c src/sys/dev/uart uart_core.c src/sys/kern subr_kdb.c src/sys/pc98/cbus sio.c src/sys/sun4v/sun4v hvcons.c src/sys/sys ... Message-ID: <200805042329.m44NTcfv093169@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2008-05-04 23:29:38 UTC FreeBSD src repository Modified files: sys/arm/at91 uart_dev_at91usart.c sys/dev/dcons dcons_os.c sys/dev/ofw ofw_console.c sys/dev/sio sio.c sys/dev/uart uart_core.c sys/kern subr_kdb.c sys/pc98/cbus sio.c sys/sun4v/sun4v hvcons.c sys/sys kdb.h Log: Expand kdb_alt_break a little, most commonly used with the option ALT_BREAK_TO_DEBUGGER. In addition to "Enter ~ ctrl-B" (to enter the debugger), there is now "Enter ~ ctrl-P" (force panic) and "Enter ~ ctrl-R" (request clean reboot, ala ctrl-alt-del on syscons). We've used variations of this at work. The force panic sequence is best used with KDB_UNATTENDED for when you just want it to dump and get on with it. The reboot request is a safer way of getting into single user than a power cycle. eg: you've hosed the ability to log in (pam, rtld, etc). It gives init the reboot signal, which causes an orderly reboot. I've taken my best guess at what the !x86 and non-sio code changes should be. This also makes sio release its spinlock before calling KDB/DDB. Revision Changes Path 1.14 +13 -2 src/sys/arm/at91/uart_dev_at91usart.c 1.21 +24 -10 src/sys/dev/dcons/dcons_os.c 1.39 +17 -2 src/sys/dev/ofw/ofw_console.c 1.474 +23 -3 src/sys/dev/sio/sio.c 1.24 +17 -3 src/sys/dev/uart/uart_core.c 1.26 +35 -11 src/sys/kern/subr_kdb.c 1.249 +23 -4 src/sys/pc98/cbus/sio.c 1.8 +16 -2 src/sys/sun4v/sun4v/hvcons.c 1.7 +7 -0 src/sys/sys/kdb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805042329.m44NTcfv093169>