Mailing List archive

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

[linux-dvb] Nova-ci and sleeping function called from invalid context



Hi,

I'm having problems getting my Nova-Ci to work. I'm getting the stream
corruption problems as described in:

http://www.linuxtv.org/mailinglists/linux-dvb/2003/08-2003/msg00467.html

I think I get a good signal from my dish because I never see a value for
BER when I run szap. Also, I get a clean picture if I watch with my
satellite receiver. Mythtv gives the following error: WARNING -
Transport Stream Continuity Error.

I'm running Fedora Core 3 and tried the drivers from kernel versions
2.6.10-1.741_FC3, 2.6.10-1.753_FC3, 2.6.9-1.724_FC3 as well as the
latest (23-01-05) CVS drivers.

Also, when I start my application (mythtv) I get a lot messages in
/var/log/messages and dmesg. It always is the same sequence that is
repeated every second:

Debug: sleeping function called from invalid context at
include/linux/rwsem.h:43
in_atomic():1[expected: 0], irqs_disabled():0
 [<c011c62a>] __might_sleep+0x7d/0x87
 [<ec9ee59d>] dvb_ca_en50221_read_data+0x5b/0x33e [dvb_core]
 [<c02bb4d9>] ip_finish_output+0x12b/0x199
 [<c02bbba1>] ip_queue_xmit+0x370/0x3f0
 [<c011ac49>] recalc_task_prio+0x128/0x133
 [<c029a76c>] __kfree_skb+0xf0/0xf3
 [<c02f4107>] packet_rcv_spkt+0x273/0x27b
 [<c02add4b>] qdisc_restart+0x11/0x484
 [<c029fd3c>] dev_queue_xmit+0x40b/0x413
 [<c011ac49>] recalc_task_prio+0x128/0x133
 [<c011aca7>] activate_task+0x53/0x5f
 [<c011ac49>] recalc_task_prio+0x128/0x133
 [<c011aca7>] activate_task+0x53/0x5f
 [<c011b722>] __wake_up_common+0x36/0x51
 [<c011ac49>] recalc_task_prio+0x128/0x133
 [<c011aca7>] activate_task+0x53/0x5f
 [<ec9eec0f>] dvb_ca_en50221_frda_irq+0x81/0x88 [dvb_core]
 [<c0124be6>] tasklet_action+0x3a/0x56
 [<c0124a0d>] __do_softirq+0x35/0x79
 [<c010946b>] do_softirq+0x3a/0x41
 =======================
 [<c0108a3e>] do_IRQ+0x239/0x242
 [<c0106434>] common_interrupt+0x18/0x20
 [<c011007b>] post_set+0x6b/0xa3
 [<c0116422>] apm_bios_call_simple+0x7e/0x95
 [<c0116563>] apm_do_busy+0x12/0x1f
 [<c010408c>] cpu_idle+0x1f/0x34
 [<c03a46b6>] start_kernel+0x20f/0x211

In top I see constant waitirq cpu (about 1-2%) when mythtv is running
(it doesn't mattter if I'm watching TV or not).

Some more information:

cat /proc/interrupts
           CPU0
  0:   80314803          XT-PIC  timer
  1:         10          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  ohci_hcd
  4:        183          XT-PIC  serial
  5:          0          XT-PIC  ehci_hcd
  7:    1045122          XT-PIC  SiS SI7012, eth0
  8:          1          XT-PIC  rtc
 10:    9849177          XT-PIC  saa7146 (0)
 12:          0          XT-PIC  ohci_hcd
 14:    5234065          XT-PIC  ide0
 15:          0          XT-PIC  ohci_hcd
NMI:          0
ERR:          0

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Host (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI
bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL
Media IO] (rev 14)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus
Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
00:0e.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
00:0f.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev
01)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
65x/M650/740 PCI/AGP VGA Display Adapter

00:0e.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH Technotrend-Budget /
Hauppauge WinTV-NOVA-CI DVB card
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at dc800000 (32-bit, non-prefetchable)
[size=512]

Anyone an idea what could cause this?

Thanks,
Bjorn





Home | Main Index | Thread Index