Hey! Earlier on today I installed X11 and GNOME on my FreeBSD 9 laptop. For the sake of testing how X is "reacting" to a kernel panic, I decided to type [cmd=]sudo kill -11 1[/cmd] to force a panic. I know this is dangerous, but since I'm on a laptop, I really don't expect a lot of uptime, anyhow. Anyway, I've configured my kernel to include DDB as to easily make create crash dumps in the event of a panic, which I tested from within the system console, as well as enabling crash dumps in /etc/rc.conf. Dumping cores went well when my system panics while it is in the system console, but when I reproduced the same panic in X, the system froze, and typing ctrl+alt+F1, etc to get back to the console, did not work.
My question is if it is possible to either kill X in the event of a panic or make it drop back to the console as to let the user dump a crash core and reboot the system? If so, how can I achieve that? I'm quite new to this system.
Thanks in advance.
My question is if it is possible to either kill X in the event of a panic or make it drop back to the console as to let the user dump a crash core and reboot the system? If so, how can I achieve that? I'm quite new to this system.
Thanks in advance.
