PANIC: watchdog timer expired - exiting

Message ID 1181478108.7288.158.camel@core
State New
Headers

Commit Message

Petri Hintukainen June 10, 2007, 12:21 p.m. UTC
  On Sun, 2007-06-10 at 12:31 +0200, Clemens Kirchgatterer wrote:
> Petri Hintukainen <phintuka@users.sourceforge.net> wrote:
> 
> > If clock is turned 2 minutes back in middle of this, the code will
> > wait 120100 ms instead of 100ms ... Might cause some quite weird
> > problems. I belive there's no way to change pthread_..._timedwait
> > functions, but cTimeMs can be changed to use monotonic timers instead
> > of gettimeofday (patch attached).
> 
> just for the record, i think you have to change the Makefile to include
> -lrt in the LIBS for the patch to work.

That's right, that part was missing from the patch :(


- Petri
  

Patch

--- ../../vdr-1.4.5-orig/Makefile	2006-09-08 00:15:09.000000000 +0300
+++ ../../vdr-1.4.5/Makefile	2006-12-16 21:28:19.000000000 +0200
@@ -17,7 +17,7 @@ 
 LSIDIR   = ./libsi
 MANDIR   = /usr/local/man
 BINDIR   = /usr/local/bin
-LIBS     = -ljpeg -lpthread -ldl -lcap
+LIBS     = -ljpeg -lpthread -ldl -lcap -lrt
 INCLUDES =
 
 PLUGINDIR= ./PLUGINS