Current-Users archive

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

Re: HEADS UP: panic behaviour changed



Robert Elz wrote:

>     Date:        Sat, 31 Jan 2009 13:21:12 +0100
>     From:        Johnny Billquist <bqt%softjar.se@localhost>
>     Message-ID:  <49844238.2080301%softjar.se@localhost>
> 
>   | What do you mean by this? Have you just changed the default of 
>   | ddb.onpanic to 0?
> 
> I also wasn't sure, so I went and tool a look.   As best I can tell, the
> answer to your question is "yes" - but it applies if, and only if
> there's no "options DDB_ONPANIC=N" in the system config file.
> 
> With that, if the option isn't given, having it default to "on" seems
> totally backwards to me, if you want ddb.onpanic=1 you can either set
> it in sysctl.conf or in the kernel config file.
> 
> i386's GENERIC config (at least) contains ...
> 
> #options        DDB_ONPANIC=1   # see also sysctl(8): `ddb.onpanic'
> 
> which I would have always interpreted as meaning that the option exists,
> set it to 1 to get its effect, but that in the default config it isn't set
> (and that sysctl could set it).
> 
> But that wasn't the effect at all, commenting it out caused it to be set,
> which is just totally bizarre.
> 
> The change changes things to the way it should be, it should also get pulled
> up to NetBSD 5 (but not NetBSD 4).

Yes, please, somone pullup this to 5.0.

--
When in doubt, use brute force.

Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>
Adam Hoka <adam.hoka%gmail.com@localhost>

Attachment: pgp9oH1Fh6wai.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index