[linux-dvb] CI CAM problems

Rudy Zijlstra rudy at edsons.demon.nl
Thu Sep 21 12:48:39 CEST 2006


Hello,

I have a system with 2 (TT-Budget/WinTV-NOVA-CI PCI) cards, and in one 
of them a CAM is present (canaldigitaal).

When i boot 2.6.10 i get CAM detected and initialised, see dmesg snip:

Sep 21 12:39:25 satje saa7146: register extension 'budget_ci dvb'.
Sep 21 12:39:25 satje saa7146: found saa7146 @ mem e0c3ac00 (revision 1, 
irq 10) (0x13c2,0x100f).
Sep 21 12:39:25 satje DVB: registering new adapter 
(TT-Budget/WinTV-NOVA-CI PCI).
Sep 21 12:39:25 satje adapter has MAC addr = 00:d0:5c:23:ca:8c
Sep 21 12:39:25 satje budget_ci: CI interface initialised
Sep 21 12:39:25 satje DVB: registering frontend 0 (ST STV0299 DVB-S)...
Sep 21 12:39:25 satje saa7146: found saa7146 @ mem e0da4800 (revision 1, 
irq 11) (0x13c2,0x100f).
Sep 21 12:39:25 satje DVB: registering new adapter 
(TT-Budget/WinTV-NOVA-CI PCI).
Sep 21 12:39:25 satje adapter has MAC addr = 00:d0:5c:23:c8:5a
Sep 21 12:39:25 satje budget_ci: CI interface initialised
Sep 21 12:39:26 satje DVB: registering frontend 1 (ST STV0299 DVB-S)...
Sep 21 12:39:26 satje dvb_ca adapter 1: DVB CAM detected and initialised 
successfully
Sep 21 12:39:28 satje nfs warning: mount version older than kernel
Sep 21 12:39:28 satje nfs warning: mount version older than kernel
Sep 21 12:40:10 satje dvb_ca adapter 1: DVB CAM detected and initialised 
successfully
Sep 21 12:40:53 satje dvb_ca adapter 1: DVB CAM link initialisation 
failed :(
Sep 21 12:40:57 satje dvb_ca adapter 1: DVB CAM detected and initialised 
successfully

In this configuration MythTV 0.20 detects the CAM and tries 
unsuccesfully to use it (i get no decryption).

When i boot 2.6.18 i get a dropped interrupt and CAM is not initialised:

Sep 21 11:07:23 satje saa7146: register extension 'budget_ci dvb'.
Sep 21 11:07:23 satje ACPI: PCI Interrupt Link [LK2A] enabled at IRQ 19
Sep 21 11:07:23 satje ACPI: PCI Interrupt 0000:01:02.0[A] -> Link [LK2A] 
-> GSI 19 (level, low) -> IRQ 18
Sep 21 11:07:23 satje saa7146: found saa7146 @ mem e0c26c00 (revision 1, 
irq 18) (0x13c2,0x100f).
Sep 21 11:07:23 satje saa7146 (0): dma buffer size 192512
Sep 21 11:07:23 satje DVB: registering new adapter 
(TT-Budget/WinTV-NOVA-CI PCI).
Sep 21 11:07:23 satje adapter has MAC addr = 00:d0:5c:23:ca:8c
Sep 21 11:07:23 satje input: Budget-CI dvb ir receiver saa7146 (0) as 
/class/input/input2
Sep 21 11:07:23 satje budget_ci: CI interface initialised
Sep 21 11:07:24 satje DVB: registering frontend 0 (ST STV0299 DVB-S)...
Sep 21 11:07:24 satje ACPI: PCI Interrupt Link [LK4A] enabled at IRQ 20
Sep 21 11:07:24 satje ACPI: PCI Interrupt 0000:01:04.0[A] -> Link [LK4A] 
-> GSI 20 (level, low) -> IRQ 19
Sep 21 11:07:24 satje saa7146: found saa7146 @ mem e0c28800 (revision 1, 
irq 19) (0x13c2,0x100f).
Sep 21 11:07:24 satje saa7146 (1): dma buffer size 192512
Sep 21 11:07:24 satje DVB: registering new adapter 
(TT-Budget/WinTV-NOVA-CI PCI).
Sep 21 11:07:24 satje adapter has MAC addr = 00:d0:5c:23:c8:5a
Sep 21 11:07:24 satje input: Budget-CI dvb ir receiver saa7146 (1) as 
/class/input/input3
Sep 21 11:07:24 satje budget_ci: CI interface initialised
Sep 21 11:07:24 satje DVB: registering frontend 1 (ST STV0299 DVB-S)...
Sep 21 11:07:25 satje irq 19: nobody cared (try booting with the 
"irqpoll" option)
Sep 21 11:07:25 satje [<c0147d0a>] __report_bad_irq+0x2a/0xa0
Sep 21 11:07:25 satje [<c0147e14>] note_interrupt+0x74/0xf0
Sep 21 11:07:25 satje [<c0147418>] __do_IRQ+0x108/0x120
Sep 21 11:07:25 satje [<c0105981>] do_IRQ+0x31/0x70
Sep 21 11:07:25 satje [<c0103ac6>] common_interrupt+0x1a/0x20
Sep 21 11:07:25 satje [<c0156e9c>] zap_pte_range+0x16c/0x2b0
Sep 21 11:07:25 satje [<c01570b3>] unmap_page_range+0xd3/0x150
Sep 21 11:07:25 satje [<c015721d>] unmap_vmas+0xed/0x230
Sep 21 11:07:25 satje [<c015be27>] exit_mmap+0x87/0x140
Sep 21 11:07:25 satje [<c011bc78>] mmput+0x38/0xa0
Sep 21 11:07:25 satje [<c0175efd>] exec_mmap+0xed/0x220
Sep 21 11:07:25 satje [<c0176661>] flush_old_exec+0x51/0x270
Sep 21 11:07:25 satje [<c0175df1>] kernel_read+0x51/0x70
Sep 21 11:07:25 satje [<c019c641>] load_elf_binary+0x2e1/0xd30
Sep 21 11:07:25 satje [<c0105986>] do_IRQ+0x36/0x70
Sep 21 11:07:25 satje [<c0175948>] copy_strings+0x188/0x200
Sep 21 11:07:25 satje [<c019c360>] load_elf_binary+0x0/0xd30
Sep 21 11:07:25 satje [<c0176b1a>] search_binary_handler+0x7a/0x1b0
Sep 21 11:07:25 satje [<c0176dcc>] do_execve+0x17c/0x210
Sep 21 11:07:25 satje [<c0101c42>] sys_execve+0x42/0xa0
Sep 21 11:07:25 satje [<c010313f>] syscall_call+0x7/0xb
Sep 21 11:07:25 satje handlers:
Sep 21 11:07:25 satje [<e0c2b200>] (interrupt_hw+0x0/0x350 [saa7146])
Sep 21 11:07:25 satje Disabling IRQ #19
Sep 21 11:07:34 satje dvb_ca adaptor 1: PC card did not respond :(


I have tried booting with pci=routeirq, this makes no difference. 
Booting with irqpoll makes a difference: at detection of second card it 
is a hard halt. No response from the system, except on HW reset.

In this configuration MythTV does not detect the CAM at all.

Any pointers to improvement greatly appreciated.

Cheers,

Rudy




More information about the linux-dvb mailing list