[Soekris] "Lockup" update

Richard Homonnai richard.homonnai at rpgfiction.net
Tue Apr 3 12:17:44 UTC 2007


Hello,

CONFIG_WATCHDOG_NOWAYOUT:                                                                                                                                                  
                                                                                                                                                                               
    The default watchdog behaviour (which you get if you say N here) is                                                                                                        
    to stop the timer if the process managing it closes the file                                                                                                               
    /dev/watchdog. It's always remotely possible that this process might                                                                                                       
    get killed. If you say Y here, the watchdog cannot be stopped once                                                                                                         
    it has been started.                                                                                                                                                       
                                                                                                                                                                               
    Symbol: WATCHDOG_NOWAYOUT [=n]                                                                                                                                             
    Prompt: Disable watchdog shutdown on close                                                                                                                                 
      Defined at drivers/char/watchdog/Kconfig:31                                                                                                                              
      Depends on: WATCHDOG                                                                                                                                                     
      Location:                                                                                                                                                                
        -> Device Drivers                                                                                                                                                      
          -> Character devices                                                                                                                                                 
            -> Watchdog Cards                                                                                                                                                  
              -> Watchdog Timer Support (WATCHDOG [=y])                                                                                                                        

That is exactly what I meant. The name is quite a bad choose, but this is 
definitely it. It says "if /dev/wdX is not open, don't start (or halt if 
already started) the watchdog timer." So, if you are in boot 
process, /dev/wd0 just sits there. And when watchdogd gets started, then it 
is open. So this option ist what helped me, and there were no false negatives 
yet :)

Greetings,
Richard

Am Dienstag 03 April 2007 14:00 schrieb 
soekris-tech-request at lists.soekris.com:
> Date: Mon, 02 Apr 2007 08:35:15 -0500
> From: Ted Phelps <phelps at gnusto.com>
> Subject: Re: [Soekris] "Lockup" update
> To: soekris-tech at lists.soekris.com
> Message-ID: <25123.1175520915 at laika.gnusto.com>
>
> Richard Homonnai writes:
> > Yes, but only if you set in the kernel.
>
> How do you do that?  I only see two kernel parameters, neither of which
> seems to apply:
>
>     nowayout:Disable watchdog shutdown on close
>     margin:Watchdog margin in seconds
>
> Maybe it has changed in recent kernels?
>
> Cheers,
> -Ted


More information about the Soekris-tech mailing list