[#4294] watchdogd does not always close the watchdog safely when rebooting

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

[#4294] watchdogd does not always close the watchdog safely when rebooting

Submitted By: Jie Zhang

Open Date

2008-07-30 03:27:23     Close Date

2008-08-06 02:19:01

Priority:

Low     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk HEAD

App binary format:

N/A     

Summary: watchdogd does not always close the watchdog safely when rebooting

Details:

 

Trunk linux kernel built with trunk toolchain. I type reboot, the board will reboot, but there is a strange line about bfin-wdt:

 

root:/> reboot                                                                 

bfin-wdt: Unexpected close, not stopping watchdog!                             

                                                                               

Restarting system.�                                                            

                                                                               

U-Boot 1.1.6-svn1302 (ADI-2008R2-pre) (Jul 30 2008 - 09:02:24)

[snip]

 

 

 

 

Follow-ups

 

--- Mike Frysinger                                           2008-07-30 04:03:54

it's been this way for a long time and is safe to just ignore

 

--- Mike Frysinger                                           2008-07-30 09:51:23

watchdogd was just catching SIGTERM, but the default reboot (sysutils/reboot)

sends SIGTERM and SIGHUP without any delay in between, so sometimes the SIGHUP

gets delivered to watchdogd before SIGTERM gets processed

 

watchdogd catches SIGHUP now as well, so it should close things out

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes