2009-05-21 09:00:02     init: /bin/watchdogd respawning too fast

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-21 09:00:02     init: /bin/watchdogd respawning too fast

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 74410   

 

In my downtime I've been messing around with uClinux, I don't really get the chance to do much  - hence I may be asking something silly. Nevertheless, I downloaded the latest kernel (2.6.29.4) and slapped it into my uClinux distro to see what would happen. It built and downloaded to the board fine.

 

I'm getting an odd message (in the topic title, and shown below) appearing - and I'm a little curious what it means, of any implications, and if there's something obvious I need to do to avoid it. I can provide a kernel config if needed, but I suspect it's something obvious I just dont know about. Anyway, here's a wee dump of what I'm talking about...

 

<snip>

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2009-04-15 10:48:13 BST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> uname -a

Linux blackfin 2.6.29.4 #3 Thu May 21 13:33:28 BST 2009 blackfin unknown

root:/> init: /bin/watchdogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /bin/watchdogd respawning too fast

QuoteReplyEditDelete

 

 

2009-05-21 09:57:37     Re: init: /bin/watchdogd respawning too fast

Robin Getz (UNITED STATES)

Message: 74411   

 

Sean:

 

It normaly means you don't have the watchdog driver compiled into the kernel.

 

You can shut it by by either - turning the watchdog on, or by not running the userspace watchdogd.

 

On the board:

 

root:/> zcat  /proc/config.gz | grep -ie CONFIG_WATCHDOG= -e WDT

CONFIG_WATCHDOG=y

CONFIG_BFIN_WDT=y

 

Things are configured...

 

root:/> dmesg | grep wdt

bfin-wdt: initialized: timeout=20 sec (nowayout=0) generates RESET

 

 

Things are running (in the kernel)

 

root:/> ps aux | grep watchdogd

root:/>    

 

I don't have things running in userspace. (I was doing some testing, which needed it turned off -- to do so, just remove the watchdogd line from /etc/inittab, and kill -HUP 1)

 

-Robin

QuoteReplyEditDelete

 

 

2009-05-21 11:58:15     Re: init: /bin/watchdogd respawning too fast

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 74419   

 

I have "Blackfin On-Chip Watchdog Timer" built into the kernel, is this what you mean? I can quite happily disable it - as I said I'm only really fiddling at the moment - but it would be interesting to know

QuoteReplyEditDelete

 

 

2009-05-21 13:43:09     Re: init: /bin/watchdogd respawning too fast

Mike Frysinger (UNITED STATES)

Message: 74420   

 

do you have /dev/watchdog ?

QuoteReplyEditDelete

 

 

2009-05-22 05:46:57     Re: init: /bin/watchdogd respawning too fast

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 74449   

 

Nope

 

ls /dev/watchdog

ls: /dev/watchdog: No such file or directory

QuoteReplyEditDelete

 

 

2009-05-23 16:06:35     Re: init: /bin/watchdogd respawning too fast

Mike Frysinger (UNITED STATES)

Message: 74476   

 

so check the settings like Robin said

 

otherwise, you should use the kernel from our website, not from kernel.org

Attachments

    Outcomes