Re: videobuf2_core oops, recent media_build. dvbsky t980c's
On 12/29/2014 03:38 PM, Jurgen Kramer wrote: On Sat, 2014-12-27 at 10:35 +0100, Jurgen Kramer wrote: I am seeing kernel oopses using recent media_builds on kernel 3.17: [ 506.969697] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 506.969720] IP: [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.969739] PGD 0 [ 506.969746] Oops: 0002 [#1] SMP [ 506.969754] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast cfg80211 rfkill ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw sp2(OE) si2157(OE) si2168(OE) i2c_mux nouveau cx25840(OE) cx23885(OE) altera_ci(OE) tda18271(OE) altera_stapl(OE) videobuf2_dvb(OE) videobuf2_core(OE) videobuf2_dma_sg(OE) videobuf2_memops(OE) snd_seq snd_seq_device snd_pcm snd_timer snd video i2c_algo_bit ttm drm_kms_helper soundcore iTCO_wdt ppdev gpio_ich iTCO_vendor_support tveeprom(OE) cx2341x(OE) [ 506.969871] coretemp dvb_core(OE) v4l2_common(OE) videodev(OE) media(OE) kvm crc32c_intel raid456 async_raid6_recov async_memcpy async_pq async_xor drm xor async_tx raid6_pq microcode serio_raw shpchp i7core_edac edac_core i2c_i801 lpc_ich mfd_core parport_pc parport ite_cir(OE) rc_core(OE) tpm_infineon tpm_tis tpm acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd sunrpc mxm_wmi asix usbnet r8169 mii wmi [ 506.969970] CPU: 0 PID: 3160 Comm: vb2-cx23885[0] Tainted: G OE 3.17.4-200.fc20.x86_64 #1 [ 506.969982] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./P55 Extreme, BIOS P2.70 08/20/2010 [ 506.969993] task: 8800bc18e220 ti: 88020d36c000 task.ti: 88020d36c000 [ 506.970002] RIP: 0010:[a03a233a] [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.970021] RSP: 0018:88020d36fe68 EFLAGS: 00010246 [ 506.970663] RAX: RBX: RCX: 000b [ 506.971305] RDX: 0058 RSI: 8800bc18e220 RDI: 0058 [ 506.971952] RBP: 88020d36fec0 R08: 88020d36c000 R09: 158f [ 506.972611] R10: 30de R11: 0010 R12: 0058 [ 506.973275] R13: 8800b81814a0 R14: R15: 880225c61028 [ 506.973947] FS: () GS:880233c0() knlGS: [ 506.974634] CS: 0010 DS: ES: CR0: 8005003b [ 506.975321] CR2: 0058 CR3: 01c14000 CR4: 07f0 [ 506.976021] Stack: [ 506.976723] 8800bc18e220 0070 00ff81c1b460 [ 506.977442] 8802 880225c61028 88020d1d8480 880225c61028 [ 506.978165] a03a21c0 88020d36ff48 [ 506.979055] Call Trace: [ 506.979795] [a03a21c0] ? vb2_internal_qbuf+0x210/0x210 [videobuf2_core] [ 506.980545] [810b0498] kthread+0xd8/0xf0 [ 506.981293] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.982045] [8172e33c] ret_from_fork+0x7c/0xb0 [ 506.982806] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.983568] Code: 89 e7 ba 58 00 00 00 0f 85 94 01 00 00 40 f6 c7 02 0f 85 72 01 00 00 40 f6 c7 04 0f 85 50 01 00 00 89 d1 31 c0 c1 e9 03 f6 c2 04 f3 48 ab 74 0a c7 07 00 00 00 00 48 83 c7 04 f6 c2 02 74 0a 31 [ 506.984464] RIP [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.985306] RSP 88020d36fe68 [ 506.986147] CR2: 0058 [ 506.990986] ---[ end trace 1973fbcab83c3353 ]--- First I thought is was related to CAM initialization but after removing the CAMS and doing a fresh cold start I am still seeing the oopses. After the oops everything is still functioning. I am using 3x DVBSKY T980C. How can I debug this further? The problem persist while my system went through a motherboard/mem/cpu upgrade. The oops occurs when one of the DVB-C cards get its first use (in my case mythtv): [ 102.050294] si2157 18-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw' [ 181.460968] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 181.460991] IP: [a04d833a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 181.461019] PGD 0 [ 181.461024] Oops: 0002 [#1] SMP [ 181.461032] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter cfg80211 rfkill ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat
Re: videobuf2_core oops, recent media_build. dvbsky t980c's
Hi Hans, On Mon, 2015-01-12 at 16:29 +0100, Hans Verkuil wrote: On 12/29/2014 03:38 PM, Jurgen Kramer wrote: On Sat, 2014-12-27 at 10:35 +0100, Jurgen Kramer wrote: I am seeing kernel oopses using recent media_builds on kernel 3.17: [ 506.969697] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 506.969720] IP: [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.969739] PGD 0 [ 506.969746] Oops: 0002 [#1] SMP [ 506.969754] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast cfg80211 rfkill ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw sp2(OE) si2157(OE) si2168(OE) i2c_mux nouveau cx25840(OE) cx23885(OE) altera_ci(OE) tda18271(OE) altera_stapl(OE) videobuf2_dvb(OE) videobuf2_core(OE) videobuf2_dma_sg(OE) videobuf2_memops(OE) snd_seq snd_seq_device snd_pcm snd_timer snd video i2c_algo_bit ttm drm_kms_helper soundcore iTCO_wdt ppdev gpio_ich iTCO_vendor_support tveeprom(OE) cx2341x(OE) [ 506.969871] coretemp dvb_core(OE) v4l2_common(OE) videodev(OE) media(OE) kvm crc32c_intel raid456 async_raid6_recov async_memcpy async_pq async_xor drm xor async_tx raid6_pq microcode serio_raw shpchp i7core_edac edac_core i2c_i801 lpc_ich mfd_core parport_pc parport ite_cir(OE) rc_core(OE) tpm_infineon tpm_tis tpm acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd sunrpc mxm_wmi asix usbnet r8169 mii wmi [ 506.969970] CPU: 0 PID: 3160 Comm: vb2-cx23885[0] Tainted: G OE 3.17.4-200.fc20.x86_64 #1 [ 506.969982] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./P55 Extreme, BIOS P2.70 08/20/2010 [ 506.969993] task: 8800bc18e220 ti: 88020d36c000 task.ti: 88020d36c000 [ 506.970002] RIP: 0010:[a03a233a] [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.970021] RSP: 0018:88020d36fe68 EFLAGS: 00010246 [ 506.970663] RAX: RBX: RCX: 000b [ 506.971305] RDX: 0058 RSI: 8800bc18e220 RDI: 0058 [ 506.971952] RBP: 88020d36fec0 R08: 88020d36c000 R09: 158f [ 506.972611] R10: 30de R11: 0010 R12: 0058 [ 506.973275] R13: 8800b81814a0 R14: R15: 880225c61028 [ 506.973947] FS: () GS:880233c0() knlGS: [ 506.974634] CS: 0010 DS: ES: CR0: 8005003b [ 506.975321] CR2: 0058 CR3: 01c14000 CR4: 07f0 [ 506.976021] Stack: [ 506.976723] 8800bc18e220 0070 00ff81c1b460 [ 506.977442] 8802 880225c61028 88020d1d8480 880225c61028 [ 506.978165] a03a21c0 88020d36ff48 [ 506.979055] Call Trace: [ 506.979795] [a03a21c0] ? vb2_internal_qbuf+0x210/0x210 [videobuf2_core] [ 506.980545] [810b0498] kthread+0xd8/0xf0 [ 506.981293] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.982045] [8172e33c] ret_from_fork+0x7c/0xb0 [ 506.982806] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.983568] Code: 89 e7 ba 58 00 00 00 0f 85 94 01 00 00 40 f6 c7 02 0f 85 72 01 00 00 40 f6 c7 04 0f 85 50 01 00 00 89 d1 31 c0 c1 e9 03 f6 c2 04 f3 48 ab 74 0a c7 07 00 00 00 00 48 83 c7 04 f6 c2 02 74 0a 31 [ 506.984464] RIP [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.985306] RSP 88020d36fe68 [ 506.986147] CR2: 0058 [ 506.990986] ---[ end trace 1973fbcab83c3353 ]--- First I thought is was related to CAM initialization but after removing the CAMS and doing a fresh cold start I am still seeing the oopses. After the oops everything is still functioning. I am using 3x DVBSKY T980C. How can I debug this further? The problem persist while my system went through a motherboard/mem/cpu upgrade. The oops occurs when one of the DVB-C cards get its first use (in my case mythtv): [ 102.050294] si2157 18-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw' [ 181.460968] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 181.460991] IP: [a04d833a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 181.461019] PGD 0 [ 181.461024] Oops: 0002 [#1] SMP [ 181.461032] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter cfg80211 rfkill ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6
Re: videobuf2_core oops, recent media_build. dvbsky t980c's
On Sat, 2014-12-27 at 10:35 +0100, Jurgen Kramer wrote: I am seeing kernel oopses using recent media_builds on kernel 3.17: [ 506.969697] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 506.969720] IP: [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.969739] PGD 0 [ 506.969746] Oops: 0002 [#1] SMP [ 506.969754] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast cfg80211 rfkill ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw sp2(OE) si2157(OE) si2168(OE) i2c_mux nouveau cx25840(OE) cx23885(OE) altera_ci(OE) tda18271(OE) altera_stapl(OE) videobuf2_dvb(OE) videobuf2_core(OE) videobuf2_dma_sg(OE) videobuf2_memops(OE) snd_seq snd_seq_device snd_pcm snd_timer snd video i2c_algo_bit ttm drm_kms_helper soundcore iTCO_wdt ppdev gpio_ich iTCO_vendor_support tveeprom(OE) cx2341x(OE) [ 506.969871] coretemp dvb_core(OE) v4l2_common(OE) videodev(OE) media(OE) kvm crc32c_intel raid456 async_raid6_recov async_memcpy async_pq async_xor drm xor async_tx raid6_pq microcode serio_raw shpchp i7core_edac edac_core i2c_i801 lpc_ich mfd_core parport_pc parport ite_cir(OE) rc_core(OE) tpm_infineon tpm_tis tpm acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd sunrpc mxm_wmi asix usbnet r8169 mii wmi [ 506.969970] CPU: 0 PID: 3160 Comm: vb2-cx23885[0] Tainted: G OE 3.17.4-200.fc20.x86_64 #1 [ 506.969982] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./P55 Extreme, BIOS P2.70 08/20/2010 [ 506.969993] task: 8800bc18e220 ti: 88020d36c000 task.ti: 88020d36c000 [ 506.970002] RIP: 0010:[a03a233a] [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.970021] RSP: 0018:88020d36fe68 EFLAGS: 00010246 [ 506.970663] RAX: RBX: RCX: 000b [ 506.971305] RDX: 0058 RSI: 8800bc18e220 RDI: 0058 [ 506.971952] RBP: 88020d36fec0 R08: 88020d36c000 R09: 158f [ 506.972611] R10: 30de R11: 0010 R12: 0058 [ 506.973275] R13: 8800b81814a0 R14: R15: 880225c61028 [ 506.973947] FS: () GS:880233c0() knlGS: [ 506.974634] CS: 0010 DS: ES: CR0: 8005003b [ 506.975321] CR2: 0058 CR3: 01c14000 CR4: 07f0 [ 506.976021] Stack: [ 506.976723] 8800bc18e220 0070 00ff81c1b460 [ 506.977442] 8802 880225c61028 88020d1d8480 880225c61028 [ 506.978165] a03a21c0 88020d36ff48 [ 506.979055] Call Trace: [ 506.979795] [a03a21c0] ? vb2_internal_qbuf+0x210/0x210 [videobuf2_core] [ 506.980545] [810b0498] kthread+0xd8/0xf0 [ 506.981293] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.982045] [8172e33c] ret_from_fork+0x7c/0xb0 [ 506.982806] [810b03c0] ? kthread_create_on_node +0x190/0x190 [ 506.983568] Code: 89 e7 ba 58 00 00 00 0f 85 94 01 00 00 40 f6 c7 02 0f 85 72 01 00 00 40 f6 c7 04 0f 85 50 01 00 00 89 d1 31 c0 c1 e9 03 f6 c2 04 f3 48 ab 74 0a c7 07 00 00 00 00 48 83 c7 04 f6 c2 02 74 0a 31 [ 506.984464] RIP [a03a233a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 506.985306] RSP 88020d36fe68 [ 506.986147] CR2: 0058 [ 506.990986] ---[ end trace 1973fbcab83c3353 ]--- First I thought is was related to CAM initialization but after removing the CAMS and doing a fresh cold start I am still seeing the oopses. After the oops everything is still functioning. I am using 3x DVBSKY T980C. How can I debug this further? The problem persist while my system went through a motherboard/mem/cpu upgrade. The oops occurs when one of the DVB-C cards get its first use (in my case mythtv): [ 102.050294] si2157 18-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw' [ 181.460968] BUG: unable to handle kernel NULL pointer dereference at 0058 [ 181.460991] IP: [a04d833a] vb2_thread+0x17a/0x480 [videobuf2_core] [ 181.461019] PGD 0 [ 181.461024] Oops: 0002 [#1] SMP [ 181.461032] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter cfg80211 rfkill ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw sp2(OE)