latest S2API segfaults for cx88 (hvr-1300 and hvr-4000)

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

 



Hi

I checked out and build today the latest vl4-dvb drivers
(changeset:   10210:985ecd81d993) against the 2.6.27.1 kernel
and the drivers segfaults on load for me.

Attached is the segfault + /proc/interrupts output.

I have in my system both the hvr-1300 and hvr-4000.
Last driver version that I have tested to work is from 2008-12-31.
(changeset: 10165:3e5f56413191 which added the FE_CAN_2G_MODULATION flag)

With this older version of driver I am able to tune to dvb-t (from hvr-1300) and dvb-s/s2 (from hvr-4000) with command line tools like scan, szap,szap2 or older vdr-1.6.0 which is not aware from s2api and uses thus older dvb driver api.

But even with that version (2008-12-31) version of driver there is some problem, because unlike the hvr-3200 users, I am not able to change dvb-s or dvb-s2 channels with vdr-1.7.3. Changing of dvb-t channels works ok. If I have earlier szapped the correct dvb-s/s2 channel by using the szap/szap-s2 and then quitted it with ctrl-c and started vdr-1.7.3, I am able to watch that S/S2 channels, but any attempt to switch for some other s/s2 channels will fail. Unlike Gregoire Favre who is not able to tune any S/S2 channels even from command line, I do not have diseqs installed in my system. (hvr-4000 is connected directly via wire to lnb)

Mika

dmesg
-----
cx88-mpeg driver manager 0000:03:07.2: PCI INT A -> GSI 21 (level, low) -> IRQ 21
cx88[1]/2: found at 0000:03:07.2, rev: 5, irq: 21, latency: 32, mmio: 0xf8000000
cx8800 0000:03:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
cx88[0]/0: found at 0000:03:06.0, rev: 5, irq: 20, latency: 32, mmio: 0xf6000000
wm8775' 1-001b: chip found @ 0x36 (cx88[0])
wm8775' 2-001b: chip found @ 0x36 (cx88[1])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx8800 0000:03:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
cx88[1]/0: found at 0000:03:07.0, rev: 5, irq: 21, latency: 32, mmio: 0xfa000000
cx88[1]/0: registered device video1 [v4l2]
cx88[1]/0: registered device vbi1
cx88[1]/0: registered device radio1
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
cx88[0]/2: cx2388x based DVB/ATSC card
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: [<ffffffff804fd46d>] __mutex_lock_slowpath+0x3d/0xd0
PGD 6a891067 PUD 6a8c8067 PMD 0 
Oops: 0002 [1] SMP 
CPU 1 
Modules linked in: cx88_dvb(+) cx88_vp3054_i2c videobuf_dvb dvb_core wm8775 snd_seq_dummy snd_seq_oss tuner_simple tuner_types snd_seq_midi_event snd_seq tda9887 snd_seq_device tda8290 snd_pcm_oss snd_hda_intel tuner cx8800 cx8802 cx88_alsa cx88xx snd_pcm ir_common snd_timer snd_page_alloc snd_hwdep snd_mixer_oss v4l2_common videodev i2c_algo_bit r8169 ppdev tveeprom v4l1_compat ohci1394 pcspkr v4l2_compat_ioctl32 mii thermal parport_pc videobuf_dma_sg shpchp ieee1394 videobuf_core i2c_piix4 btcx_risc pci_hotplug parport wmi processor k8temp serio_raw rtc_cmos sg button sr_mod i2c_core evdev joydev snd lirc_imon lirc_dev soundcore atiixp ide_core pata_atiixp ata_piix ahci libata dock sd_mod scsi_mod crc_t10dif ext3 jbd uhci_hcd ohci_hcd ehci_hcd usbhid usbcore ff_memless [last unloaded: scsi_wait_scan]
Pid: 1569, comm: modprobe Not tainted 2.6.27.7-1lamikr #1
RIP: 0010:[<ffffffff804fd46d>]  [<ffffffff804fd46d>] __mutex_lock_slowpath+0x3d/0xd0
RSP: 0018:ffff88006a861d78  EFLAGS: 00010246
RAX: ffff88006a861d78 RBX: ffff88006dd22588 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88006dd2258c
RBP: ffff88006a861dc8 R08: 0000000000000000 R09: 0000000000000007
R10: ffff88006a861d48 R11: ffffffff8079e7e0 R12: ffff88006dd2258c
R13: 0000000000000001 R14: ffff88006a8b4290 R15: ffff88006dd22590
FS:  00007f77377ed6f0(0000) GS:ffff88006f802880(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000006a420000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 1569, threadinfo ffff88006a860000, task ffff88006a8b4290)
Stack:  ffff88006dd22590 0000000000000000 0000000000000000 ffff88006ec77a20
 ffff88006dd22400 ffff88006dd22588 ffff88006dcda000 0000000000000001
 ffff88006dd22588 ffff88006dd22408 ffff88006a861de8 ffffffff804fd26e
Call Trace:
 [<ffffffff804fd26e>] mutex_lock+0x1e/0x30
 [<ffffffffa03ac18d>] videobuf_dvb_get_frontend+0x1d/0x80 [videobuf_dvb]
 [<ffffffffa03b39cf>] cx8802_dvb_probe+0x12f/0x1d90 [cx88_dvb]
 [<ffffffff802c6a7a>] ? __kmalloc+0xba/0x110
 [<ffffffffa02a443d>] cx8802_register_driver+0x1cd/0x260 [cx8802]
 [<ffffffffa03b56e0>] ? dvb_init+0x0/0x30 [cx88_dvb]
 [<ffffffffa03b5707>] dvb_init+0x27/0x30 [cx88_dvb]
 [<ffffffff8020903c>] _stext+0x3c/0x170
 [<ffffffff8027293b>] sys_init_module+0xbb/0x1f0
 [<ffffffff8020c69a>] system_call_fastpath+0x16/0x1b


Code: 89 fb 4c 89 e7 4c 8d 7b 08 48 83 ec 28 65 4c 8b 34 25 00 00 00 00 e8 43 17 00 00 48 8b 53 10 48 8d 45 b0 4c 89 7d b0 48 89 43 10 <48> 89 02 48 89 55 b8 48 c7 c2 ff ff ff ff 4c 89 75 c0 48 89 d0 
RIP  [<ffffffff804fd46d>] __mutex_lock_slowpath+0x3d/0xd0
 RSP <ffff88006a861d78>
CR2: 0000000000000000
---[ end trace 4bd7a1ec99bedf39 ]---
cx2388x blackbird driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: blackbird access: shared
cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
firmware: requesting v4l-cx2341x-enc.fw
cx88[0]/2-bb: Firmware upload successful.
cx88[0]/2-bb: Firmware version is 0x02060039
cx88[0]/2: registered device video2 [mpeg]
cx88[1]/2: subsystem: 0070:6902, board: Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid [card=68]
cx88[1]/2: cx8802 probe failed, err = -19


[root@tinka lamikr]# cat /proc/interrupts 
           CPU0       CPU1       
  0:        136          2   IO-APIC-edge      timer
  1:          0          2   IO-APIC-edge      i8042
  4:          0          2   IO-APIC-edge    
  7:          0          0   IO-APIC-edge      parport0
  8:          0          1   IO-APIC-edge      rtc0
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0          4   IO-APIC-edge      i8042
 14:         22       2074   IO-APIC-edge      pata_atiixp
 15:          0          0   IO-APIC-edge      pata_atiixp
 16:       1207       4930   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, HDA Intel
 17:          0          7   IO-APIC-fasteoi   ehci_hcd:usb1
 18:        190      92220   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, eth0
 19:          0         27   IO-APIC-fasteoi   ehci_hcd:usb2, HDA Intel
 20:          2        350   IO-APIC-fasteoi   cx88[0], cx88[0], cx88[0]
 21:        263      44264   IO-APIC-fasteoi   cx88[1], cx88[1], cx88[1]
 22:         69      13105   IO-APIC-fasteoi   ahci, ohci1394
NMI:          0          0   Non-maskable interrupts
LOC:      64231      83493   Local timer interrupts
RES:      10722       6442   Rescheduling interrupts
CAL:        503        344   function call interrupts
TLB:        902        624   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
SPU:          0          0   Spurious interrupts
ERR:          0


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux