Current-Users archive

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

Re: HEADS UP: panic behaviour changed



Joerg Sonnenberger wrote:

> On Sun, Feb 01, 2009 at 01:19:19AM +0700, Robert Elz wrote:
> > But if your issue is that the default should be for ddb.onpanic == 1
> > then the right way to achieve that is to put
> > 
> >     options DDB_ONPANIC=1
> > 
> > into conf/GENERIC (and other files as appropriate), rather than by making
> > the option automatically set itself if the config file doesn't sent it.
> 
> Agreed.
> 
> > So, which is the default as distributed really applies (or should apply)
> > to those regular users who don't build their own kernels, and just keep
> > running GENERIC (personally, I think that should amount to no-one at all,
> > so I don't think this is a very important issue.)
> 
> Yes. My problem now is that most users won't know what to do with
> coredumps. 

And they know what to do with the debugger other than typing 'reboot' or 
'sync'? :-)

> 
> If the problem Andrew tries to fix is the cryptic ddb prompt, I would
> suggest to change the panic message to include something like:
>       Please report this issue via send-pr(1). Include at least the
>       output of "backtrace". "reboot" will try to create a coredump,
>       if the swap partition is large enough.

Or just write a script which extracts this information (at least 
semi-)automatically,
so we can just ask the user to use it.

--
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: pgpFX4wrL0OmY.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index