A long startup fsck causes cyclic watchdog reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watchdog (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm using the watchdog timer on my FitPC 2 to reboot in case of a hard lockup. It worked well for several months, then the routine "fsck every N days" timer popped after a reboot. The fsck took longer than the watchdog period (250 seconds, which is just about the maximum) and my machine rebooted mid-fsck. Of course, it then tried to fsck again, causing a cyclic reboot.
Disabling the watchdog in the BIOS or cancelling the fsck allowed the machine to boot normally.
I suspect the watchdog daemon needs to be started earlier in the boot process, before any tasks that could potentially take a long time, such as an fsck.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: watchdog 5.11-1
ProcVersionSign
Uname: Linux 3.2.0-35-
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Wed Dec 26 19:37:15 2012
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386 (20101007)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: watchdog
UpgradeStatus: Upgraded to precise on 2012-05-18 (222 days ago)
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.