http://oss.sgi.com/projects/kdb/download/ix86/ contains patches for kdb
v1.4 against kernels 2.4.0-test5 (for the SGI XFS beta) and against
2.4.0-test8. The patch mainly adds one function that the XFS team
wanted.
CONFIG_KDB_OFF. Default is N, i.e. kdb defaults to on. The double
negative is messy but necessary for backward compatibility, new config
options default to N. If you want to ship a kernel with kdb support
but you do not want every oops to drop the kernel into kdb and stop for
debugging then compile with CONFIG_KDB_OFF=y. Give the users
instructions on how to activate and use kdb when it is needed.
The patch adds the boot time flags, kdb=on, kdb=off, kdb=early. kdb on
its own still means early but is deprecated. These flags control the
boot up state of kdb, if not specified then the initial state is taken
from CONFIG_KDB_OFF.
After /proc has been mounted, root can
echo "1" > /proc/sys/kernel/kdb
to turn kdb on, or
echo "0" > /proc/sys/kernel/kdb
to turn kdb off.
New environment variable BTAPROMPT. If not defined or set to non-zero
then bta pauses after each process. If set to zero then bta does not
pause after each process. The commands
set LINES=0
set BTAPROMPT=0
bta
list every proc without human intervention.
Assorted man page updates.
|