tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
174 stars 81 forks source link

TBS6902 Linux 4.11.10 crash #69

Open rubdos opened 7 years ago

rubdos commented 7 years ago
[   17.434300] BUG: unable to handle kernel NULL pointer dereference at           (null)
[   17.434313] IP: av201x_wrm+0x2a/0xe0 [av201x]
[   17.434317] PGD 0 

[   17.434322] Oops: 0000 [#1] SMP
[   17.434325] Modules linked in: ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_addrtype ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ip_set nfnetlink ebtable_broute ebtable_nat ip6table_mangle ip6table_raw xt_conntrack ip6table_security br_netfilter ip6table_nat nf_conntrack_ipv6 bridge nf_defrag_ipv6 nf_nat_ipv6 stp iptable_mangle llc iptable_raw iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c ebtable_filter ebtables ip6table_filter ip6_tables av201x(OE) vfat fat edac_mce_amd edac_core kvm snd_hda_codec_realtek snd_hda_codec_generic eeepc_wmi asus_wmi snd_hda_intel sparse_keymap snd_hda_codec irqbypass rfkill video crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_core snd_hwdep snd_pcm tbsecp3(OE) snd_timer tas2101(OE) snd dvb_core i2c_mux soundcore
[   17.434378]  ccp sp5100_tco i2c_piix4 shpchp wmi i2c_designware_platform i2c_designware_core acpi_cpufreq tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc btrfs xor raid6_pq crc32c_intel r8169 nvme mii nvme_core
[   17.434408] CPU: 1 PID: 1624 Comm: kdvb-ad-1-fe-0 Tainted: G           OE   4.11.10-200.fc25.x86_64 #1
[   17.434417] Hardware name: System manufacturer System Product Name/PRIME A320M-K, BIOS 0608 05/05/2017
[   17.434426] task: ffff9d2481282580 task.stack: ffffb0d00318c000
[   17.434433] RIP: 0010:av201x_wrm+0x2a/0xe0 [av201x]
[   17.434439] RSP: 0018:ffffb0d00318fd38 EFLAGS: 00010246
[   17.434445] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000000000ff
[   17.434450] RDX: 0000000000000002 RSI: ffffb0d00318fdb6 RDI: 0000000000000000
[   17.434456] RBP: ffffb0d00318fd70 R08: ffff9d24b9586200 R09: 0000000000000000
[   17.434462] R10: ffffb0d00318fe08 R11: 0000000000000004 R12: ffffb0d00318fdb6
[   17.434467] R13: 0000000000000002 R14: 0000000000000000 R15: ffff9d24b6efc800
[   17.434473] FS:  0000000000000000(0000) GS:ffff9d24be640000(0000) knlGS:0000000000000000
[   17.434482] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   17.434488] CR2: 0000000000000000 CR3: 00000003f73b1000 CR4: 00000000003406e0
[   17.434493] Call Trace:
[   17.434502]  ? i2c_mux_unlock_bus+0x31/0x40 [i2c_mux]
[   17.434509]  av201x_regmask+0xcf/0x160 [av201x]
[   17.434517]  ? tas2101_wrm+0x5d/0xe0 [tas2101]
[   17.434524]  av201x_wrtable+0x3e/0x70 [av201x]
[   17.434530]  ? av201x_wrtable+0x3e/0x70 [av201x]
[   17.434537]  av201x_init+0x3f/0x130 [av201x]
[   17.434543]  ? tas2101_initfe+0x121/0x160 [tas2101]
[   17.434555]  dvb_frontend_init+0x51/0xb0 [dvb_core]
[   17.434565]  dvb_frontend_thread+0x8c/0x700 [dvb_core]
[   17.434572]  ? __schedule+0x3c0/0x8a0
[   17.434580]  kthread+0x109/0x140
[   17.434590]  ? dtv_set_frontend+0x420/0x420 [dvb_core]
[   17.434596]  ? kthread_park+0x90/0x90
[   17.434603]  ret_from_fork+0x25/0x30
[   17.434608] Code: 00 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 48 89 fb 49 89 f4 41 89 d5 48 83 ec 20 65 48 8b 04 25 28 00 00 00 48 89 45 e0 31 c0 <48> 8b 07 0f b6 00 66 89 55 d4 48 89 75 d8 66 89 45 d0 31 c0 66 
[   17.434656] RIP: av201x_wrm+0x2a/0xe0 [av201x] RSP: ffffb0d00318fd38
[   17.434661] CR2: 0000000000000000
[   17.434667] ---[ end trace 34807536dd2b5693 ]---
[root@xxx ~]# lspci -vks 24:00.0
24:00.0 Multimedia controller: TBS Technologies DVB-S2 4 Tuner PCIe Card
    Subsystem: Device 6902:0002
    Flags: bus master, fast devsel, latency 0, IRQ 55
    Memory at fe500000 (32-bit, non-prefetchable) [size=256K]
    Capabilities: [50] Power Management version 3
    Capabilities: [70] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [90] Express Endpoint, MSI 00
    Capabilities: [100] Device Serial Number 00-00-00-00-00-00-00-00
    Kernel driver in use: TBSECP3 driver
    Kernel modules: tbsecp3

Please advice :-)

cz172638 commented 7 years ago

same with tbs5990 (usb). after git pull i received 600 commits, not able to identify which is last before merging 4.12 commits with 4.12.3 kernel it works problem is on kernel-rt where patch is for 4.11