[linux-dvb] Terratec Cinergy S2 PCI HD S2API ( Liplianin's tree ) fixes

gimli gimli at dark-green.com
Sun Dec 14 14:14:59 CET 2008


Hi,

attached there are 2 patches. One which corrects MANTIS_VP_1041_DVB_S2 and
the second one solves the following bug :

 memory: 0xdffff000, mmio: 0xffffc2000035a000
found a VP-1041 PCI DSS/DVB-S/DVB-S2 device on (01:06.0),
    Mantis Rev 1 [153b:1179], irq: 16, latency: 64
    memory: 0xdffff000, mmio: 0xffffc2000035a000
    MAC Address=[00:08:ca:1c:d5:e6]
mantis_alloc_buffers (0): DMA=0x6d810000 cpu=0xffff88006d810000 size=65536
mantis_alloc_buffers (0): RISC=0x6e8fa000 cpu=0xffff88006e8fa000 size=1000
DVB: registering new adapter (Mantis dvb adapter)
stb0899_attach: Attaching STB0899
mantis_frontend_init (0): found STB0899 DVB-S/DVB-S2 frontend @0x68
stb6100_attach: Attaching STB6100
DVB: registering adapter 0 frontend 0 (STB0899 Multistandard)...
mantis_ca_init (0): Registering EN50221 device
mantis_ca_init (0): Registered EN50221 device
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: [<ffffffff80231ca0>] 0xffffffff80231ca0
PGD 6d805067 PUD 6d8f1067 PMD 0
Oops: 0000 [1] PREEMPT SMP
CPU 1
Modules linked in: mantis(+) lnbp21 mb86a16 stb6100 tda10021 tda10023
stb0899 stv0299 dvb_core autofs4 container pci_slot sbs video output
battery sbshc af_packet ac it87 hwmon_vid powernow_k8 cpufreq_userspace
cpufreq_powersave cpufreq_ondemand freq_table arc4 ecb snd_hda_intel
snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy
snd_seq_oss zd1211rw psmouse snd_seq_midi snd_rawmidi evdev serio_raw
mac80211 k8temp snd_seq_midi_event shpchp usbhid snd_seq pci_hotplug
cfg80211 hid snd_timer snd_seq_device i2c_core snd soundcore wmi
parport_pc parport button ohci1394 ieee1394 forcedeth ehci_hcd ohci_hcd
usbcore thermal processor fan
Pid: 9, comm: events/1 Not tainted 2.6.27 #1
RIP: 0010:[<ffffffff80231ca0>]  [<ffffffff80231ca0>] 0xffffffff80231ca0
RSP: 0018:ffff88006fbbfe20  EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffff88006d31c058 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff88006d31c058
RBP: ffff88006fbbfe50 R08: ffffffffffffffe8 R09: ffff88000102ce00
R10: 0000004a93e37af4 R11: ffffffff804e8fa7 R12: 0000000000000001
R13: 0000000000000001 R14: ffff88006d31c060 R15: 0000000000000000
FS:  00007f8874a416e0(0000) GS:ffff88006f802780(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000006e8d5000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process events/1 (pid: 9, threadinfo ffff88006fbbe000, task ffff88006fb73600)
Stack:  0000000300000000 ffff88006d31c058 0000000000000000 0000000000000001
 0000000000000286 0000000000000003 ffff88006fbbfe90 ffffffff802324ce
 ffff88006f802908 ffff88006d31c038 ffff88006d31c030 ffffffffa0262fc3
Call Trace:
 [<ffffffff802324ce>] 0xffffffff802324ce
 [<ffffffffa0262fc3>] ? 0xffffffffa0262fc3
 [<ffffffff8024ab06>] 0xffffffff8024ab06
 [<ffffffff8024ac82>] ? 0xffffffff8024ac82
 [<ffffffff8024e082>] ? 0xffffffff8024e082
 [<ffffffff8024ab92>] ? 0xffffffff8024ab92
 [<ffffffff8024dd3f>] ? 0xffffffff8024dd3f
 [<ffffffff802397ba>] ? 0xffffffff802397ba
 [<ffffffff802125e9>] ? 0xffffffff802125e9
 [<ffffffff8024dcf8>] ? 0xffffffff8024dcf8
 [<ffffffff802125df>] ? 0xffffffff802125df


Code: c9 c3 55 48 89 e5 41 57 4d 89 c7 41 56 4c 8d 77 08
<3>mantis_hif_init (0): Adapter(0) Initializing Mantis Host Interface
41 55 41 54 41 89 d4 53 48 83 ec 08 89 75 d4 89 4d d0 48 8b 47 08 4c 8d 40
e8 <49> 8b 40 18 48 8d 58 e8 eb 2d 45 8b 28 4c 89 f9 8b 55 d0 8b 75
RIP  [<ffffffff80231ca0>] 0xffffffff80231ca0
 RSP <ffff88006fbbfe20>
CR2: 0000000000000000
---[ end trace e8c4dfd3500996f1 ]---
note: events/1[9] exited with preempt_count 1

Both patches are taken from Manu Abraham's multiproto mantis tree and just
aplied to Igor Liplianin's S2API tree.

mfg

Edgar (gimli) Hucek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s2-liplianin_cinergy.patch
Type: application/octet-stream
Size: 596 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081214/8da3efcf/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s2-liplianin_cinergy_mutex.patch
Type: application/octet-stream
Size: 4814 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081214/8da3efcf/attachment-0001.obj 


More information about the linux-dvb mailing list