Mailing List archive

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

[linux-dvb] Re: VDR's first step towards NAPI



Hi Klaus,

> Here's the first step towards VDR using the new driver API.
> 
> I have uploaded the file
> 
>    ftp://ftp.cadsoft.de/pub/people/kls/vdr/vdr-0.80pre1.tgz

first of all: Thank you for making a test version available! I only have 
the new Hauppauge card which does not work with the old driver so I have 
been eagerly awaiting this release ;-) Consequently, I'm new to VDR ...

> which contains all files modified since VDR version 0.72.
> Please make sure you install these files over a copy of the
> original 0.72 files.

Does this include the updated tuning code Dave Chapman wrote about in 
http://www.linuxtv.org/mailinglists/linux-dvb/msg04381.html? Channel 
switching works much better with VDR than with the driver's tool (n)tuxzap! 
I can also reproduce Peter Seyringer's initialization problem 
(http://www.linuxtv.org/mailinglists/linux-dvb/msg04385.html).

> Other problems are that after stopping a recording from the
> main menu, the program regularly segfaults.

I haven't been able to record anything. If I try to record the current 
channel from the menu, VDR will segfault at the end of the recording and 
the timer won't be deleted. Setting a timer manually will result in 
outcommand error 1 and a ARM reset at the start of the recording:

Apr 22 22:20:00 vdr vdr[690]: timer 1 start
Apr 22 22:20:00 vdr vdr[690]: switching to channel 11
Apr 22 22:20:01 vdr kernel: outcommand error 1
Apr 22 22:20:03 vdr last message repeated 2 times
Apr 22 22:20:03 vdr kernel: dvb: ARM RESET

Sometimes, I will also get the following error at the start of the 
recording:

Apr 22 22:46:00 vdr vdr[878]: timer 1 start
Apr 22 22:46:00 vdr vdr[878]: switching to channel 8
Apr 22 22:46:00 vdr vdr[878]: record /video/RTL/2001-04-22.22:46.99.99.rec
Apr 22 22:46:00 vdr vdr[878]: creating directory /video/RTL
Apr 22 22:46:00 vdr vdr[878]: creating directory /video/RTL/2001-04-
22.22:46.99.99.rec
Apr 22 22:46:00 vdr vdr[878]: recording to '/video/RTL/2001-04-
22.22:46.99.99.rec/001.vdr'
Apr 22 22:46:00 vdr vdr[917]: output thread started (pid=917)
Apr 22 22:46:00 vdr vdr[918]: input thread started (pid=918)
Apr 22 22:46:00 vdr vdr[918]: ERROR (dvbapi.c,752): Unknown error 769

After that, the screen will remain blank until I reload the driver.

How can I debug why VDR segfaults? I have never debugged multithreaded 
programs with gdb before.

Regards,
hh



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index