NetBSD-Bugs archive

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

install/46355: Should INSTALL kernels drop to DDB on panic?



>Number:         46355
>Category:       install
>Synopsis:       Should INSTALL kernels drop to DDB on panic?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 19 05:55:00 +0000 2012
>Originator:     Matthew Mondor
>Release:        NetBSD 6.0_BETA
>Organization:
>Environment:
System: NetBSD ninja.xisop 6.0_BETA NetBSD 6.0_BETA (GENERIC_MM) #7: Sat Apr 14 
16:51:57 EDT 2012 root@ninja.xisop:/usr/obj/sys/arch/amd64/compile/GENERIC_MM 
amd64
Architecture: x86_64
Machine: amd64
>Description:

I noticed that the INSTALL kernel includes the GENERIC config file,
which defaults to dump core on panic.  Thus, INSTALL will attempt to
drop core instead of entering DDB if it panics at boot.

Should INSTALL kernels instead drop to DDB on panic, considering that
we don't yet support unattended installs, and that it's unlikely that a
dump device was properly configured yet, and even more unlikely that at
next boot the kernel dump be retreived from the dump device?

>How-To-Repeat:

Boot an INSTALL image on a system where it crashes.  Watch the system
reboot without being able to recover any useful information on why it
crashed.

>Fix:

Append to INSTALL:

options DDB_ONPANIC=1



Home | Main Index | Thread Index | Old Index