Moderator Control Panel ]

Kernel Panic with very quick unplug/plug

Kernel Panic with very quick unplug/plug

Postby stilmant » Fri Nov 29, 2013 4:42 pm

Hello,

For some yet unexplained reasons, I'v a TBS-5925 unplugging/plugging quickly. This is maybe due to some electrical issues or other activities around the concerned remotely server.

The bad effect is that the drivers is starting a new initialization while the 'old' instance still exiting.
All this resulting in a kernel error.

Code: Select All Code
[2394082.678636] usb 2-1.1: USB disconnect, device number 8
[2394082.789326] TBS5925: LNB OFF
[2394082.789595] dvb-usb: TBS 5925 DVB-S2 USB2.0 successfully deinitialized and disconnected.
[2394083.116136] usb 2-1.1: new high-speed USB device number 9 using ehci-pci
[2394083.208180] usb 2-1.1: New USB device found, idVendor=734c, idProduct=5925
[2394083.208185] usb 2-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[2394083.208459] dvb-usb: found a 'TBS 5925 DVB-S2 USB2.0' in cold state, will try to load a firmware
[2394083.208464] dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5925.fw'
[2394083.208466] tbs5925: start downloading TBS5925 firmware
[2394083.327570] dvb-usb: found a 'TBS 5925 DVB-S2 USB2.0' in warm state.
[2394083.327619] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[2394083.331625] DVB: registering new adapter (TBS 5925 DVB-S2 USB2.0)
[2394083.340085] tbs5925: read eeprom failed.
[2394083.340764] dvb-usb: MAC address reading failed.
[2394084.280445] dvb-usb: no frontend was attached by 'TBS 5925 DVB-S2 USB2.0'
[2394084.289981] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/input/input6
[2394084.290049] dvb-usb: schedule remote query interval to 250 msecs.
[2394084.290053] dvb-usb: TBS 5925 DVB-S2 USB2.0 successfully initialized and connected.
[2394084.290293] usb 2-1.1: USB disconnect, device number 9
[2394084.301491] BUG: unable to handle kernel NULL pointer dereference at 0000000000000228
[2394084.302835] IP: [<ffffffffa0193f77>] dvb_frontend_stop.isra.6+0x17/0xa0 [dvb_core]
[2394084.304146] PGD 0
[2394084.304537] Oops: 0002 [#1] SMP
[2394084.305144] Modules linked in: arc4(F) md4(F) nls_utf8 cifs(F) autofs4(F) vesafb(F) stb6100(OF) tbs5925fe_ctrl(POF) stv090x(OF) tda18271(OF) em28xx_dvb(OF) cxd2820r(OF) rc_pinnacle_pctv_hd(OF) coretemp nfsd(F) kvm(F) ghash_clmulni_intel(F) aesni_intel(F) auth_rpcgss(F) aes_x86_64(F) ir_lirc_codec(OF) dvb_usb_tbs5925(OF) xts(F) lrw(F) gf128mul(F) dvb_usb(OF) nfs_acl(F) lirc_dev(OF) ir_mce_kbd_decoder(OF) em28xx(OF) dvb_core(OF) tveeprom(OF) videobuf_vmalloc(OF) videobuf_core(OF) v4l2_common(OF) videodev(OF) nfs(F) ir_sony_decoder(OF) ir_jvc_decoder(OF) v4l2_compat_ioctl32(OF) ir_rc6_decoder(OF) ir_rc5_decoder(OF) ir_nec_decoder(OF) ablk_helper(F) media(OF) cryptd(F) rc_core(OF) lp(F) lockd(F) parport(F) sunrpc(F) fscache(F) mac_hid wmi dcdbas lpc_ich microcode(F) bnx2 ahci(F) libahci(F)
[2394084.317282] CPU 6
[2394084.317635] Pid: 55, comm: khubd Tainted: PF          O 3.8.0-32-generic #47-Ubuntu Dell Inc. PowerEdge R210 II/0CP8FC
[2394084.319443] RIP: 0010:[<ffffffffa0193f77>]  [<ffffffffa0193f77>] dvb_frontend_stop.isra.6+0x17/0xa0 [dvb_core]
[2394084.321111] RSP: 0018:ffff880139015b40  EFLAGS: 00010246
[2394084.321967] RAX: ffff8801397545c0 RBX: 0000000000000000 RCX: 0000000000000000
[2394084.323152] RDX: 0000000000000000 RSI: 0000000082000192 RDI: 0000000000000000
[2394084.324327] RBP: ffff880139015b48 R08: 0000000000000000 R09: 0000000000000001
[2394084.325515] R10: ffffea0004de23c0 R11: ffffffff8134a5e0 R12: ffff880119424828
[2394084.326676] R13: 00000000000000a6 R14: ffff88013776c000 R15: 0000000000000000
[2394084.327558] FS:  0000000000000000(0000) GS:ffff88013fd80000(0000) knlGS:0000000000000000
[2394084.328023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2394084.328956] CR2: 0000000000000228 CR3: 0000000001c0d000 CR4: 00000000000407e0
[2394084.330139] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2394084.331295] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[2394084.332465] Process khubd (pid: 55, threadinfo ffff880139014000, task ffff8801397545c0)
[2394084.333758] Stack:
[2394084.334115]  0000000000000000 ffff880139015b90 ffffffffa0194041 ffff880119424000
[2394084.335443]  ffff880139015b78 ffffffff8134a647 ffff880119515000 ffff880139015b88
[2394084.336767]  0000000000000000 ffff88013776d0e8 ffff880139015bb8 ffffffffa01adb2b
[2394084.338122] Call Trace:
[2394084.338569]  [<ffffffffa0194041>] dvb_unregister_frontend+0x41/0x110 [dvb_core]
[2394084.339797]  [<ffffffff8134a647>] ? kobject_put+0x27/0x60
[2394084.340715]  [<ffffffffa01adb2b>] dvb_usb_adapter_frontend_exit+0x3b/0x60 [dvb_usb]
[2394084.341947]  [<ffffffffa01ac503>] dvb_usb_exit+0x63/0x120 [dvb_usb]
[2394084.342978]  [<ffffffffa01ac611>] dvb_usb_device_exit+0x51/0x70 [dvb_usb]
[2394084.344042]  [<ffffffff81501d40>] usb_unbind_interface+0x60/0x1b0
[2394084.344392]  [<ffffffff8145666c>] __device_release_driver+0x7c/0xe0
[2394084.344865]  [<ffffffff814568dc>] device_release_driver+0x2c/0x40
[2394084.345873]  [<ffffffff814560f9>] bus_remove_device+0xd9/0x110
[2394084.346844]  [<ffffffff8145381a>] device_del+0x11a/0x1b0
[2394084.347748]  [<ffffffff814ff84f>] usb_disable_device+0xaf/0x200
[2394084.348775]  [<ffffffff814f6f98>] usb_disconnect+0xa8/0x1c0
[2394084.349714]  [<ffffffff814f8433>] hub_port_connect_change+0xc3/0x9f0
[2394084.350771]  [<ffffffff814fed42>] ? usb_control_msg+0xf2/0x140
[2394084.351708]  [<ffffffff814f8fa5>] hub_events+0x245/0x700
[2394084.352595]  [<ffffffff814f9495>] hub_thread+0x35/0x1a0
[2394084.353457]  [<ffffffff8107df00>] ? finish_wait+0x80/0x80
[2394084.354378]  [<ffffffff814f9460>] ? hub_events+0x700/0x700
[2394084.355295]  [<ffffffff8107d5f0>] kthread+0xc0/0xd0
[2394084.356089]  [<ffffffff8107d530>] ? kthread_create_on_node+0x120/0x120
[2394084.357180]  [<ffffffff816d5bac>] ret_from_fork+0x7c/0xb0
[2394084.358071]  [<ffffffff8107d530>] ? kthread_create_on_node+0x120/0x120
[2394084.359188] Code: e9 0e ff ff ff 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 8b 15 0d ce 00 00 55 48 89 e5 53 48 89 fb 85 d2 75 60 <c7> 83 28 02 00 00 01 00 00 00 0f ae f0 48 8b bb 18 02 00 00 48
[2394084.363298] RIP  [<ffffffffa0193f77>] dvb_frontend_stop.isra.6+0x17/0xa0 [dvb_core]
[2394084.364572]  RSP <ffff880139015b40>
[2394084.365151] CR2: 0000000000000228
[2394084.365767] ---[ end trace c541833633066827 ]---
[2394085.825878] [sched_delayed] sched: RT throttling activated


What can we do, beside the root cause tracking, to avoid that kernel issue?

Code: Select All Code
lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 734c:5925 TBS Technologies China
Bus 002 Device 004: ID 734c:5925 TBS Technologies China
Bus 002 Device 005: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 006: ID 2013:024f PCTV Systems nanoStick T2 290e
Bus 002 Device 007: ID 734c:5925 TBS Technologies China


Code: Select All Code
Linux 3.8.0-32-generic #47-Ubuntu SMP Tue Oct 1 22:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Last edited by stilmant on Mon Jul 28, 2014 9:22 pm, edited 2 times in total.
stilmant
 
Posts: 51
Joined: Fri Mar 01, 2013 3:21 pm
Location: Luxembourg

Re: Kernel Panic with very quick unplug/plug

Postby stilmant » Mon Jul 28, 2014 9:06 pm

Hello,

I'm still having that issue but now on another server in another country, so I would call for a confirmed issue.
I'm wondering if there is some way to delay the driver loading to not have it load when the previous unload is not terminated ?


Code: Select All Code
[67335.044299] TBS5925: LNB 18V
[67335.236268] TBS5925: LNB 18V
[67336.476255] TBS5925: LNB OFF
[68034.056302] type=1400 audit(1406352903.382:66): apparmor="STATUS" operation="profile_replace" parent=6085 profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=6089 comm="apparmor_parser"
[68034.056314] type=1400 audit(1406352903.382:67): apparmor="STATUS" operation="profile_replace" parent=6085 profile="unconfined" name="/usr/sbin/cupsd" pid=6089 comm="apparmor_parser"
[68034.057153] type=1400 audit(1406352903.382:68): apparmor="STATUS" operation="profile_replace" parent=6085 profile="unconfined" name="/usr/sbin/cupsd" pid=6089 comm="apparmor_parser"
[69668.517043] usb 2-6: USB disconnect, device number 2
[69668.549767] TBS5925: LNB OFF
[69668.551083] dvb-usb: TBS 5925 DVB-S2 USB2.0 successfully deinitialized and disconnected.
[69669.632259] Monitor-Mwait will be used to enter C-2 state
[69669.632268] Monitor-Mwait will be used to enter C-3 state
[69671.860155] usb 2-6: new high-speed USB device number 3 using ehci-pci
[69671.992546] usb 2-6: New USB device found, idVendor=734c, idProduct=5925
[69671.992558] usb 2-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[69671.995638] dvb-usb: found a 'TBS 5925 DVB-S2 USB2.0' in cold state, will try to load a firmware
[69671.995648] dvb-usb: downloading firmware from file 'dvb-usb-tbsqbox-id5925.fw'
[69671.995653] tbs5925: start downloading TBS5925 firmware
[69672.116332] dvb-usb: found a 'TBS 5925 DVB-S2 USB2.0' in warm state.
[69672.116519] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[69672.120555] DVB: registering new adapter (TBS 5925 DVB-S2 USB2.0)
[69672.129005] tbs5925: read eeprom failed.
[69672.129013] dvb-usb: MAC address reading failed.
[69673.074134] dvb-usb: no frontend was attached by 'TBS 5925 DVB-S2 USB2.0'
[69673.082802] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/input/input11
[69673.083063] dvb-usb: schedule remote query interval to 250 msecs.
[69673.083071] dvb-usb: TBS 5925 DVB-S2 USB2.0 successfully initialized and connected.
[69673.083168] usb 2-6: USB disconnect, device number 3
[69673.104464] BUG: unable to handle kernel NULL pointer dereference at 0000000000000230
[69673.104588] IP: [<ffffffffa04dc267>] dvb_frontend_stop.isra.9+0x17/0xa0 [dvb_core]
[69673.104706] PGD 11a368067 PUD 11a32b067 PMD 11a308067 PTE 0
[69673.104803] Oops: 0002 [#1] SMP
[69673.104860] Modules linked in: parport_pc ppdev rfcomm bnep bluetooth binfmt_misc stb6100(OF) tbs5925fe_ctrl(POF) joydev stv090x(OF) snd_hda_codec_analog coretemp kvm_intel ir_lirc_codec(OF) kvm lirc_dev(OF) ir_mce_kbd_decoder(OF) hp_wmi sparse_keymap ir_sony_decoder(OF) ir_jvc_decoder(OF) ir_rc6_decoder(OF) dvb_usb_tbs5925(OF) dvb_usb(OF) ir_rc5_decoder(OF) uvcvideo(OF) dvb_core(OF) ir_nec_decoder(OF) tpm_infineon rc_core(OF) videodev(OF) v4l2_compat_ioctl32(OF) arc4 iwldvm mac80211 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi microcode snd_seq snd_seq_device snd_timer psmouse serio_raw iwlwifi snd lpc_ich cfg80211 i915 soundcore drm_kms_helper drm mei_me mei i2c_algo_bit tpm_tis wmi hp_accel video lis3lv02d input_polldev mac_hid lp parport sdhci_pci firewire_ohci sdhci firewire_core crc_itu_t ahci libahci e1000e ptp pps_core pata_acpi
[69673.106256] CPU: 1 PID: 35 Comm: khubd Tainted: PF          O 3.11.0-26-generic #45-Ubuntu
[69673.106359] Hardware name: Hewlett-Packard HP EliteBook 2530p/30E1, BIOS 68PSU Ver. F.21 08/02/2012
[69673.106470] task: ffff8801356b8000 ti: ffff8801356a6000 task.ti: ffff8801356a6000
[69673.106563] RIP: 0010:[<ffffffffa04dc267>]  [<ffffffffa04dc267>] dvb_frontend_stop.isra.9+0x17/0xa0 [dvb_core]
[69673.106702] RSP: 0018:ffff8801356a7b38  EFLAGS: 00010246
[69673.106771] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8801356a7fd8
[69673.106857] RDX: 0000000000000000 RSI: 00000000820001f7 RDI: 0000000000000000
[69673.106945] RBP: ffff8801356a7b40 R08: 0000000000000000 R09: 0000000000000000
[69673.107032] R10: ffffea0004384b00 R11: ffffffff81360b58 R12: ffff880126581028
[69673.107119] R13: ffff880125099118 R14: ffff880126586000 R15: 0000000000000000
[69673.107207] FS:  0000000000000000(0000) GS:ffff88013bc80000(0000) knlGS:0000000000000000
[69673.107308] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[69673.107380] CR2: 0000000000000230 CR3: 000000011a23f000 CR4: 00000000000007e0
[69673.107467] Stack:
[69673.107497]  0000000000000000 ffff8801356a7b88 ffffffffa04dc713 ffff880126586000
[69673.107609]  ffff8801356a7b70 ffffffff813609e8 ffff880126581800 ffff8801356a7b80
[69673.107719]  0000000000000000 ffff880125099118 ffff8801356a7bb0 ffffffffa050a9e2
[69673.107830] Call Trace:
[69673.107880]  [<ffffffffa04dc713>] dvb_unregister_frontend+0x43/0x110 [dvb_core]
[69673.107979]  [<ffffffff813609e8>] ? kobject_put+0x28/0x60
[69673.108055]  [<ffffffffa050a9e2>] dvb_usb_adapter_frontend_exit+0x32/0x50 [dvb_usb]
[69673.108154]  [<ffffffffa0509486>] dvb_usb_exit+0x46/0xf0 [dvb_usb]
[69673.108239]  [<ffffffffa0509578>] dvb_usb_device_exit+0x48/0x60 [dvb_usb]
[69673.108269]  [<ffffffff81527444>] usb_unbind_interface+0x64/0x1c0
[69673.108269]  [<ffffffff81477bbf>] __device_release_driver+0x7f/0xf0
[69673.108269]  [<ffffffff81477c53>] device_release_driver+0x23/0x30
[69673.108269]  [<ffffffff81477424>] bus_remove_device+0xf4/0x170
[69673.108269]  [<ffffffff81473e15>] device_del+0x135/0x1d0
[69673.108269]  [<ffffffff81524e30>] usb_disable_device+0xb0/0x270
[69673.108269]  [<ffffffff8151a11d>] usb_disconnect+0xad/0x1e0
[69673.108269]  [<ffffffff8151cbce>] hub_port_connect_change+0xce/0xad0
[69673.108269]  [<ffffffff815238a4>] ? usb_control_msg+0xd4/0x110
[69673.108269]  [<ffffffff8151daf4>] hub_events+0x524/0x990
[69673.108269]  [<ffffffff8151df95>] hub_thread+0x35/0x170
[69673.108269]  [<ffffffff81085750>] ? wake_up_atomic_t+0x30/0x30
[69673.108269]  [<ffffffff8151df60>] ? hub_events+0x990/0x990
[69673.108269]  [<ffffffff81084980>] kthread+0xc0/0xd0
[69673.108269]  [<ffffffff810848c0>] ? kthread_create_on_node+0x120/0x120
[69673.108269]  [<ffffffff816f9e6c>] ret_from_fork+0x7c/0xb0
[69673.108269]  [<ffffffff810848c0>] ? kthread_create_on_node+0x120/0x120
[69673.108269] Code: e8 bb 83 20 e1 e9 8f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 8b 05 2d bb 00 00 55 48 89 e5 53 48 89 fb 85 c0 75 60 <c7> 83 30 02 00 00 01 00 00 00 0f ae f0 48 8b bb 20 02 00 00 48
[69673.108269] RIP  [<ffffffffa04dc267>] dvb_frontend_stop.isra.9+0x17/0xa0 [dvb_core]
[69673.108269]  RSP <ffff8801356a7b38>
[69673.108269] CR2: 0000000000000230
[69673.148637] ---[ end trace 76e718f37778bf8d ]---


Ubuntu 13.10
3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
TBS linux drivers v140707
stilmant
 
Posts: 51
Joined: Fri Mar 01, 2013 3:21 pm
Location: Luxembourg

Re: Kernel Panic with very quick unplug/plug

Postby electronoob » Fri May 26, 2017 5:41 pm

I have same problem. Is there any solutions for this topic? The dmesg errors almost same in ubuntu 14
Home-made Satellite
https://www.youtube.com/watch?v=khVA2jffaZU&feature=youtu.be
User avatar
electronoob
 
Posts: 2
Joined: Wed Feb 01, 2017 12:26 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron