Last Update: "2007/03/08 19:43:47 makoto"
良くある options
man options とした時の表示
に、次のような部分があります。
-
options DDB_ONPANIC
-
The default if not specified is ``1'' - just enter into DDB. If set to
``2'' the kernel will attempt to print out a stack trace before entering
into DDB. If set to ``0'' the kernel will attempt to print out a stack
trace and reboot the system. If set to ``-1'' then neither a stack trace
is printed or DDB entered - it is as if DDB were not compiled into the
kernel. Note that this sets the value of the ddb.onpanic sysctl(3) variable
which may be changed at run time -- see sysctl(8) for details.
value | print
stack trace | then | |
-1 | | reboot | (as if no options) |
0 | YES | reboot | |
1 | | DDB | (default) |
2 | YES | DDB | |
あるいは起動中に、次のようにも変更可能です。
sysctl -w ddb.onpanice = value
|