Mailing List archive

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

[linux-dvb] Re: Nova-s CAM/CI support



On Wednesday 12 May 2004 20:11, you wrote:
> I have tested the cam_* utils that were mentioned on the list recently,
> and it seems that my problems with the CAM getting reset is not caused
> by MythTV itself, but perhaps by either libdvbci (which I assume MythTV
> uses) or the budget-ci driver?
>
> After running cam_test for a while I get "ERROR: CAM: Read failed: slot
> 0, tcid 1". The error seems to occur pretty randomly (after half a
> minute, a couple of minutes or even after an hour or so).
>
> The actual error message is printed from line 407 in libdvbci/ci.cc:
> $ nl libdvb-0.5.4/libdvbci/ci.cc | grep "Read failed"
>    407       esyslog("ERROR: CAM: Read failed: slot %d, tcid %d\n",
> slot, tcid);
>
> I'd appreciate it if someone a bit more knowledgeable could take a look
> at the logs below and tell me what's going on. I don't know how this
> stuff works but to me it looks like there are two interrupts at the same
> time, and somehow the driver thread gets confused by this?

I see what you mean about the two IRQs close to one another:

May 12 20:37:14 htpc kernel: FR/DA IRQ slot:0
May 12 20:37:14 htpc kernel: dvb_ca_en50221_thread_wakeup
May 12 20:37:14 htpc kernel: dvb_ca_en50221_read_data
May 12 20:37:14 htpc kernel: FR/DA IRQ slot:0
May 12 20:37:14 htpc kernel: dvb_ca_en50221_read_data
May 12 20:37:14 htpc kernel: dvb_ca_en50221_io_poll
May 12 20:37:14 htpc kernel: dvb_ca_en50221_io_read
May 12 20:37:14 htpc kernel: dvb_ca_en50221_io_do_ioctl
May 12 20:37:14 htpc kernel: dvb_ca_en50221_slot_shutdown


I'm assuming there are two packets in quick succession. In which case, there 
should really be three calls to dvb_ca_en50221_read_data() (first two are for 
reading the two packets, and the third will report that there isn't any more 
data available).

Its probably a locking issue from the massive rewrite I had to do. I'll see 
what I can do.


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



Home | Main Index | Thread Index