On Wed, Jun 22, 2011 at 11:45:49AM -0300, Marcos Laufer wrote:
> I am sorry, this confused me, and i didn't quite understand.
> 
> Just to be clear:
> 
> ddb.panic=0 will boot instead of dropping you into a ddb?
> 
> Or is it ddb.panic=1 the option that will make the system boot?

Please... are we not a wee bit lazy now... man sysctl.conf:

EXAMPLES
     To turn on IP forwarding, one would use the following line:

           net.inet.ip.forwarding=1

     To cause the kernel to reboot on a panic, instead of dropping into the
     debugger, the following can be used:

           ddb.panic=0

> 
> 
> Regards,
> 
> David Coppa wrote:
> > On Wed, 22 Jun 2011, ter Voorde Informatiesystemen wrote:
> >
> >   
> >> In /etc/sysctl.conf I see the following commented line:
> >>
> >> #ddb.panic=0
> >>
> >> and nothing else about ddb.panic is present there. With other words,
> >> I guess: 'ddb.panic=0' is the default boot time setting and does not
> >> have to be set explicitly.
> >>
> >> I now suppose: on a kernel panic, this system will not drop into ddb
> >> (kind-of waiting for someone to retrieve useful information about
> >> the panic) and is most likely to reboot. Is that correct?
> >>     
> >
> > Exactly the opposite:
> >
> > $ sysctl ddb.panic
> > ddb.panic=1
> >
> > You need to uncomment that line in /etc/sysctl.conf.
> >
> > Cheers,
> > David

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to