{"id":2892,"date":"2021-03-01T11:50:25","date_gmt":"2021-03-01T19:50:25","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2892"},"modified":"2021-03-01T11:50:25","modified_gmt":"2021-03-01T19:50:25","slug":"kernel-5-12-rc1-usb-related-crash","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2892","title":{"rendered":"Kernel &#8211; 5.12-rc1 &#8211; USB-related Crash.."},"content":{"rendered":"<p>After running kernel <strong>5.12-rc1<\/strong> for short time, it crashed:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">..................................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb 1-1.1.1.5: USB disconnect, device number 11<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb 1-1.1.1.5.4: USB disconnect, device number 12<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">BUG: kernel NULL pointer dereference, address: 0000000000000278<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">#PF: supervisor read access in kernel mode<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">#PF: error_code(0x0000) - not-present page<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">PGD 0 P4D 0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Oops: 0000 [#1] SMP NOPTI<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CPU: 0 PID: 1712 Comm: kworker\/0:0 Tainted: G O 5.12.0-rc1 #1<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Hardware name: Hewlett-Packard HP Z220 CMT Workstation\/1790, BIOS K51 v01.87 06\/10\/2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Workqueue: usb_hub_wq hub_event<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RIP: 0010:gpiodevice_release+0xc\/0x70<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Code: c0 0f b6 c0 5b c3 85 c0 5b 0f 95 c0 0f b6 c0 c3 0f 0b eb b1 b8 fb ff ff ff 5b c3 0f 1f 00 55 48 8b 6f 78 48 c7 c7 d0 24 13 bd &lt;48&gt; 8b 95 78 02 00 00 48 8b 85 80 02 00 00 48 89 42 08 48 89 10 8b<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RSP: 0018:ffffa3594277fb10 EFLAGS: 00010282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RAX: ffffffffbc414070 RBX: 00000000ffffffff RCX: 0000000000000282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RDX: ffff916f049e7998 RSI: 0000000000000282 RDI: ffffffffbd1324d0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RBP: 0000000000000000 R08: 000000000000003f R09: 0000000000000282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">R10: 0000000000000001 R11: ffffffffbd1646a0 R12: ffff916ec5658c00<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">R13: ffffffffbd145e60 R14: ffff916ed5064960 R15: 0000000000000002<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">FS: 0000000000000000(0000) GS:ffff9171cdc00000(0000) knlGS:0000000000000000<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CR2: 0000000000000278 CR3: 000000014431a002 CR4: 00000000001706f0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Call Trace:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">device_release+0x2f\/0x80<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">kobject_put+0x63\/0xc0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">cp210x_disconnect+0x1b\/0x30 [cp210x]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_serial_disconnect+0xe1\/0x130<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_unbind_interface+0x65\/0x1c0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">__device_release_driver+0x144\/0x1f0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">device_release_driver+0x1f\/0x30<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">bus_remove_device+0xcd\/0x110<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">device_del+0x185\/0x450<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">? kobject_put+0x70\/0xc0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_disable_device+0xac\/0x150<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_disconnect.cold+0x60\/0x1a4<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_disconnect.cold+0x29\/0x1a4<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">usb_disconnect.cold+0x29\/0x1a4<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">hub_event+0x5cf\/0x1230<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">? __switch_to_asm+0x42\/0x70<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">process_one_work+0x1ea\/0x340<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">worker_thread+0x48\/0x3c0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">? rescuer_thread+0x380\/0x380<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">kthread+0x111\/0x130<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">? __kthread_bind_mask+0x60\/0x60<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">ret_from_fork+0x22\/0x30<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Modules linked in: rfcomm cmac bnep btusb btrtl btbcm btintel bluetooth ecdh_generic ecc hid_logitech_hidpp joydev cp210x hid_logitech_dj uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common snd_usb_audio snd_usbmidi_lib videodev snd_rawmidi mc iptable_filter bpfilter vmnet(O) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) sunrpc x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek kvm snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi irqbypass snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core iTCO_wdt snd_hwdep snd_seq snd_seq_device hp_wmi at24 sparse_keymap rfkill rapl wmi_bmof iTCO_vendor_support snd_pcm intel_cstate i2c_i801 intel_uncore snd_timer i2c_smbus pcspkr snd soundcore lpc_ich wmi drm zram ip_tables x_tables crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel r8169 e1000e fuse<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CR2: 0000000000000278<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">---[ end trace c0708be999dd76ef ]---<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RIP: 0010:gpiodevice_release+0xc\/0x70<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Code: c0 0f b6 c0 5b c3 85 c0 5b 0f 95 c0 0f b6 c0 c3 0f 0b eb b1 b8 fb ff ff ff 5b c3 0f 1f 00 55 48 8b 6f 78 48 c7 c7 d0 24 13 bd &lt;48&gt; 8b 95 78 02 00 00 48 8b 85 80 02 00 00 48 89 42 08 48 89 10 8b<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RSP: 0018:ffffa3594277fb10 EFLAGS: 00010282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RAX: ffffffffbc414070 RBX: 00000000ffffffff RCX: 0000000000000282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RDX: ffff916f049e7998 RSI: 0000000000000282 RDI: ffffffffbd1324d0<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">RBP: 0000000000000000 R08: 000000000000003f R09: 0000000000000282<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">R10: 0000000000000001 R11: ffffffffbd1646a0 R12: ffff916ec5658c00<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">R13: ffffffffbd145e60 R14: ffff916ed5064960 R15: 0000000000000002<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">FS: 0000000000000000(0000) GS:ffff9171cdc00000(0000) knlGS:0000000000000000<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CR2: 0000000000000278 CR3: 000000014431a002 CR4: 00000000001706f0<\/span><\/strong><\/code><\/p>\n<p>Trying to reboot afterwards:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\"># shutdown -r now<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Session terminated, killing shell...Bluetooth: hci0: sending frame failed (-19)<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">alsactl[800]: segfault at 28 ip 000055cd5969d92a sp 00007ffdddeaa340 error 4 in alsactl[55cd5969b000+10000]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Code: 89 ef e8 59 de ff ff 48 8d 15 54 d7 00 00 e9 4a ff ff ff e8 f8 e1 ff ff 0f 1f 84 00 00 00 00 00 41 54 49 89 fc 55 53 48 8b 2f &lt;8b&gt; 55 28 85 d2 7e 1d 31 db 0f 1f 44 00 00 48 8b 45 20 48 8b 3c d8<\/span><\/strong><\/code><\/p>\n<p>This was triggered when (re)connecting USB devices via a KVM, so might not occur on stand-alone systems?\u00a0\u00a0\u00a0\u00a0 More investigation needed, and I&#8217;ll have to change nvidia (tainted!) for nouveau if I decide to &#8216;report&#8217; it!<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 March 1st 2021.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After running kernel 5.12-rc1 for short time, it crashed: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. usb 1-1.1.1.5: USB disconnect, device number 11 usb 1-1.1.1.5.4: USB disconnect, device number 12 cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 BUG: kernel NULL pointer dereference, address: 0000000000000278 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) &#8211; not-present page PGD 0 P4D 0 Oops: 0000 <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2892\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,14,15,19,1532],"tags":[2370,646,2367,383],"class_list":["post-2892","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-kernel","category-linux-2","category-opinion","category-usb","tag-bug-kernel-null-pointer","tag-crash","tag-kernel-5-12-rc1","tag-usb"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2892"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2892\/revisions"}],"predecessor-version":[{"id":2895,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2892\/revisions\/2895"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}