Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: automatic stacktrace on panic, was: Re: Boot fail as kvm guest



On Fri, 17 Feb 2012, Andreas Gustafsson wrote:
1) Introduce a new sysctl ddb.stacktrace, which is on by default
2) Set ddb.commandonenter to 'bt' by default
3) Do it like OpenBSD and yell at the users in an all-capslock message

Whichever we choose, we should also make sure ddb is actually entered,
or that we get a stack trace whether ddb is entered or not.
Currently, your chances of getting a stack trace depend on whether the
the rc scripts have been run yet, because /etc/sysctl.conf sets
ddb.onpanic=0.

I think that's ortogonal - for a report, the user doesn't need DDB in the first place - he just needs the stack backtrace. Of course not entering DDB, printing stuff and the immediately rebooting is not useful, either...


 - Hubert


Home | Main Index | Thread Index | Old Index