Mailing List archive

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

[vdr] Re: BUG Report vdr 1.2.0pre1 and 1.1.33



Gerald Raaf wrote:
> 
> Hi Klaus,
> 
> since vdr-1.1.33 there is an anoying bug in VDR which causes system
> freeze. It isn't possible to do anything lirc, keyboard didn't work any
> longer and also you can't telnet anymore. Only Poweroff/Reset Button
> works.
> with 1.1.32 everything works fine.
> 
> Since i got some problems with my cam and 1.1.xx Versions -> Cam read
> errors after a while. I create a new runvdr.
> In this script I start 3 instances of vdr, and controll this with a lirc
> perl which is posted in the list a while ago.
> 
> on Card 2 the one with cam (plain vanilla):
> vdr -E /video/instance/vdr3 -c /video/instance/vdr3 -p2003 -v  /video -w
> 90 --terminal /dev/tty1
> recording (FTA or CAM) is OK
> 
> on Card 1 (plain vanilla):
> vdr -E /video/instance/vdr2 -c /video/instance/vdr2 -p2002 -v  /video -w
> 90 --terminal /dev/tty1
> recording (FTA) is OK
> 
> first test:
> on Card 0 normally (patched with AC3overDVB, autopid and Elchi and some
> plugins):
> vdr -E /video/instance/vdr1 -c /video/instance/vdr1 -p2001 -v  /video -w
> 90 -s /usr/local/bin/stopvdr -r /usr/local/bin/record.sh -Pvdrcd -Pdvd
> -Pvcd -Pconsole -Pmplayer -Pmp3 -Pimage --terminal /dev/tty1
> 
> second test:
> only Card 0 starting changed (vdr also plain vanilla)
> vdr -E /video/instance/vdr1 -c /video/instance/vdr1 -p2001 -v  /video -w
> 90 --terminal /dev/tty1

I don't see any -D options here to assign the individual VDR instances
to particular DVB cards, but I guess you just left them out and in reality
are using them.

The only change between 1.1.32 and 1.1.33 that I can think of causing trouble
here would be

--- vdr.c       2003/05/16 12:11:45     1.155
+++ vdr.c       2003/05/24 11:06:53     1.156
@@ -323,6 +323,7 @@
      stdin  = freopen(Terminal, "r", stdin);
      stdout = freopen(Terminal, "w", stdout);
      stderr = freopen(Terminal, "w", stderr);
+     HasStdin = true;
      }
 
   isyslog("VDR version %s started", VDRVERSION);

Since you are using '--terminal /dev/tty1' for _both_ VDR instances, that
might cause problems. Assigning more than one VDR instance to the same
controlling terminal doesn't seem to make much sense to me - but I may
be wrong there.

So, I suggest you either use separate controlling terminals, or try reverting
the above change. But I believe the change is necessary, since others have
complained about problems _without_ it.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index