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



Marc Balmer 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.
-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index