Re: PANIC: watchdog timer expired - exiting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2007-06-10 at 12:31 +0200, Clemens Kirchgatterer wrote:
> Petri Hintukainen <phintuka@xxxxxxxxxxxxxxxxxxxxx> 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
--- ../../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
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux