NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/46355: Should INSTALL kernels drop to DDB on panic?
The following reply was made to PR install/46355; it has been noted by GNATS.
From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: install/46355: Should INSTALL kernels drop to DDB on panic?
Date: Thu, 19 Apr 2012 19:49:42 -0400
On Thu, 19 Apr 2012 07:50:04 +0000 (UTC)
Martin Husemann <martin%duskware.de@localhost> wrote:
> So short summary: all GENERIC/MODULAR kernels should effectively have
> DDB_ONPANIC=1 (or 2) as default, but 1 is the default if the option is
> missing (see src/sys/ddb/db_variables.c). It seems that the kernels we
> use for install do not have the option, so everything should be fine.
>
> If you see an instant reboot instead of ddb somewhere after a panic,
> something else is wrong.
I wasn't aware of these details and that INSTALL kernels already drop
to DDB on panic by default.
What you're saying is also supported by a test: an install image with
an INSTALL kernel specifically built with DDB_ONPANIC=1 was tried for
port-amd64/46353 in hope to obtain more information, but the system
still kept rebooting. So something else is wrong as you suggested.
Thank you for the clarification, I think that this PR can be closed.
--
Matt
Home |
Main Index |
Thread Index |
Old Index