Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Replay problems
Carsten Koch wrote:
>
> Klaus Schmidinger wrote:
> ....
> > Just add a call to
> >
> > cThread::EmergencyExit(true);
> >
> > after the "read incomplete section..." error message in eit.c.
>
> I have done that while installing vdr 0.82 and the latest CVS driver.
> I also still have EPG scanning disabled.
> Here is what happens:
>
> Jun 17 16:39:13 vdr vdr[18454]: VDR version 0.82 started
> Jun 17 16:39:13 vdr vdr[18454]: loading ./setup.conf
> Jun 17 16:39:13 vdr vdr[18454]: loading ./channels.conf
> Jun 17 16:39:13 vdr vdr[18454]: loading ./timers.conf
> Jun 17 16:39:13 vdr vdr[18454]: loading ./commands.conf
> Jun 17 16:39:13 vdr vdr[18454]: probing /dev/ost/qpskfe0
> Jun 17 16:39:13 vdr vdr[18456]: EIT processing thread started (pid=18456) - master
> Jun 17 16:39:13 vdr vdr[18454]: probing /dev/ost/qpskfe1
> Jun 17 16:39:13 vdr vdr[18457]: EIT processing thread started (pid=18457)
> Jun 17 16:39:13 vdr vdr[18454]: probing /dev/ost/qpskfe2
> Jun 17 16:39:13 vdr vdr[18454]: probing /dev/ost/qamfe2
> Jun 17 16:39:13 vdr vdr[18454]: found 2 video devices
> Jun 17 16:39:13 vdr vdr[18454]: setting primary DVB to 2
> Jun 17 16:39:13 vdr vdr[18454]: switching to channel 16
> Jun 17 16:39:14 vdr vdr[18454]: ERROR (dvbapi.c,2052): Device or resource busy
> Jun 17 16:39:14 vdr vdr[18458]: LIRC remote control thread started (pid=18458)
> Jun 17 16:39:14 vdr vdr[18454]: SVDRP listening on port 2001
> Jun 17 16:39:14 vdr vdr[18454]: setting watchdog timer to 60 seconds
> Jun 17 16:39:20 vdr vdr[18454]: timer 2 start
> Jun 17 16:39:20 vdr vdr[18454]: switching to channel 12
> Jun 17 16:39:20 vdr vdr[18454]: ERROR (dvbapi.c,2052): Device or resource busy
> Jun 17 16:39:20 vdr vdr[18454]: record /video/Die_Sendung_mit_der_Maus/2001-06-17.16:00.02.07.rec
> Jun 17 16:39:20 vdr vdr[18454]: recording to '/video/Die_Sendung_mit_der_Maus/2001-06-17.16:00.02.07.rec/018.vdr'
> Jun 17 16:39:20 vdr vdr[18459]: output thread started (pid=18459)
> Jun 17 16:39:20 vdr vdr[18460]: input thread started (pid=18460)
> Jun 17 16:39:21 vdr vdr[18454]: max. latency time 1 seconds
> Jun 17 16:40:02 vdr vdr[18459]: output thread ended (pid=18459)
> Jun 17 16:40:02 vdr vdr[18460]: input thread ended (pid=18460)
> Jun 17 16:40:02 vdr vdr[18454]: buffer stats: 396492 (37%) used
> Jun 17 16:40:02 vdr vdr[18454]: timer 2 stop
> Jun 17 16:40:02 vdr vdr[18454]: deleting timer 2
> Jun 17 16:40:27 vdr vdr[18457]: read incomplete section - seclen = 3055, n = 592
> Jun 17 16:40:27 vdr vdr[18457]: initiating emergency exit
> Jun 17 16:40:27 vdr vdr[18457]: read incomplete section - seclen = 4050, n = 2460
> Jun 17 16:40:27 vdr vdr[18457]: initiating emergency exit
> ...
> Jun 17 16:40:28 vdr vdr[18454]: emergency exit requested - shutting down
> Jun 17 16:40:28 vdr vdr[18454]: saved setup to ./setup.conf
> Jun 17 16:40:28 vdr vdr[18457]: read incomplete section - seclen = 3639, n = 14
> Jun 17 16:40:28 vdr vdr[18457]: initiating emergency exit
> Jun 17 16:40:28 vdr vdr[18457]: read incomplete section - seclen = 3216, n = 1571
> Jun 17 16:40:28 vdr vdr[18457]: initiating emergency exit
> Jun 17 16:40:28 vdr vdr[18456]: EIT processing thread ended (pid=18456) - master
> Jun 17 16:40:28 vdr vdr[18457]: EIT processing thread ended (pid=18457)
> Jun 17 16:40:28 vdr vdr[18454]: max. latency time 1 seconds
> Jun 17 16:40:28 vdr vdr[18454]: exiting
> Jun 17 16:40:28 vdr vdr[18454]: emergency exit!
> Jun 17 16:40:28 vdr PAM-unix2[18447]: session finished for user cko, service su
> Jun 17 16:40:28 vdr kernel: Trying to vfree() bad address (780000c0)
> Jun 17 16:40:28 vdr kernel: Trying to vfree() bad address (780000c0)
> Jun 17 16:40:40 vdr kernel: dvb: 2 dvb(s) released.
> Jun 17 16:40:42 vdr kernel: dvb: AV7110 firm f0240009, rtsl b0250014, vid 00010065, app 00010001
> Jun 17 16:40:44 vdr kernel: dvb: AV7110 firm f0240009, rtsl b0250014, vid 00010065, app 00010001
> Jun 17 16:40:44 vdr kernel: dvb: 2 dvb(s) found!
>
> I am seeing 4 problems in the log above:
>
> 1. cDvbApi::SetPid issues an error message for
> the DMX_SET_PES_FILTER ioctl:
> Jun 17 16:39:20 vdr vdr[18454]: ERROR (dvbapi.c,2052): Device or resource busy
See my other posting on how to avoid this.
> 2. During every recording I am getting "read incomplete section" errors.
Strange... I don't get these here (when recording). I only get them when the EPG
scanner is active and the infamous "outcommand error 1" occurs.
> 3. The "emergency exit" is not taken after its first initiation,
> it hits about 20 times before it really exits.
This call is done in a thread, and all it does is setting a boolean flag.
The main program tests this flag about once per second, so chances are that
the call is made several times before the main program notices it.
> 4. The driver tries to vfree a bad address.
I've also had these lately. Looks like this happens with encrypted channels
only. Don't know more yet, nor how to avoid it. All I can say is that
it happens _after_ VDR leaves the main program, so it must be some cleanup
funtion in the driver itself.
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 listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index