[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
OK, I guess the culprit is the new USB3 support for vhci-hcd. Can you do a bisect between v4.12 and v4.14-rc2? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
OK it seems the kernel locks entirely. (I commented out the WARN_ON Ill keep investigating. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
ok, i will do this and let you know.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
Can you try to replace the BUG_ON() macro with WARN_ON()? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
Tried it with a cp2102 usb->serial via usbip and its fine: on the kernel 4.14 so it looks like its probably usb-storage specific [ 108.613882] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(21) [ 108.613886] vhci_hcd vhci_hcd.0: devid(4) speed(2) speed_str(full-speed) [ 108.824764] vhci_hcd: vhci_device speed not set [ 108.885465] usb 3-1: new full-speed USB device number 2 using vhci_hcd [ 108.956844] vhci_hcd: vhci_device speed not set [ 109.016944] usb 3-1: SetAddress Request (2) to port 0 [ 109.058931] usb 3-1: New USB device found, idVendor=10c4, idProduct=ea60 [ 109.058934] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 109.058937] usb 3-1: Product: CP2102 USB to UART Bridge Controller [ 109.058939] usb 3-1: Manufacturer: Silicon Labs [ 109.058940] usb 3-1: SerialNumber: 0001 [ 109.083878] usbcore: registered new interface driver usbserial [ 109.083895] usbcore: registered new interface driver usbserial_generic [ 109.083910] usbserial: USB Serial support registered for generic [ 109.087722] usbcore: registered new interface driver cp210x [ 109.087738] usbserial: USB Serial support registered for cp210x [ 109.087767] cp210x 3-1:1.0: cp210x converter detected [ 109.116156] usb 3-1: cp210x converter now attached to ttyUSB0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
Did the following: 1. install the latest daily build of artful (http://cdimage.ubuntu.com/daily-live/current/artful-desktop-amd64.iso) 26-sept 2. Install the latest mainline 4.14 from here linux-image-4.14.0-041400rc2-generic_4.14.0-041400rc2.201709242031_amd64 , headers all, generic) 3. It was a big issue to boot because apparmor seems to block most things like dhclient so its difficult to get an IP address. Needed to manually run dhclient after boot in terminal with this kernel 4. Ran my program (using xhost +) initially to get around a new sudo restriction 5. Following bug occured (below) Will keep investigating... [ 126.113573] [ cut here ] [ 126.113577] kernel BUG at /home/kernel/COD/linux/drivers/usb/usbip/vhci_hcd.c:683! [ 126.113584] invalid opcode: [#1] SMP [ 126.113585] Modules linked in: uas usb_storage vhci_hcd usbip_core arc4 md4 nls_utf8 cifs ccm fscache sb_edac coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc vmw_balloon aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_rapl_perf joydev input_leds serio_raw shpchp i2c_piix4 nfit mac_hid vmw_vsock_vmci_transport vsock vmw_vmci parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid vmwgfx ttm drm_kms_helper mptspi mptscsih syscopyarea mptbase sysfillrect sysimgblt fb_sys_fops ahci psmouse libahci drm e1000 scsi_transport_spi pata_acpi [ 126.113622] CPU: 0 PID: 1802 Comm: usb-storage Not tainted 4.14.0-041400rc2-generic #201709242031 [ 126.113623] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/02/2015 [ 126.113625] task: 8a863b28 task.stack: b44e81a74000 [ 126.113632] RIP: 0010:vhci_urb_enqueue+0x2fa/0x4f0 [vhci_hcd] [ 126.113633] RSP: 0018:b44e81a77b60 EFLAGS: 00010206 [ 126.113635] RAX: 0024 RBX: 8a8620e2e000 RCX: 8a85b235c098 [ 126.113635] RDX: 0140 RSI: 8a85ec523e00 RDI: 8a8620e2e000 [ 126.113636] RBP: b44e81a77bb8 R08: 0024 R09: [ 126.113637] R10: b44e81a77cb8 R11: 1c40 R12: 0001 [ 126.113638] R13: 8a85d1c82ce0 R14: 0001 R15: 8a85ec523e00 [ 126.113639] FS: () GS:8a868a20() knlGS: [ 126.113640] CS: 0010 DS: ES: CR0: 80050033 [ 126.113641] CR2: 7fca70003ad0 CR3: 46d7d001 CR4: 003606f0 [ 126.113698] DR0: DR1: DR2: [ 126.113700] DR3: DR6: fffe0ff0 DR7: 0400 [ 126.113701] Call Trace: [ 126.113711] usb_hcd_submit_urb+0xad/0xb70 [ 126.113717] ? schedule+0x2c/0x80 [ 126.113719] ? schedule_timeout+0x1f1/0x350 [ 126.113724] ? update_curr+0xf5/0x1b0 [ 126.113726] usb_submit_urb+0x22d/0x560 [ 126.113728] ? usb_alloc_urb+0x2a/0x30 [ 126.113730] usb_sg_wait+0xa0/0x190 [ 126.113736] usb_stor_bulk_transfer_sglist.part.1+0x67/0xc0 [usb_storage] [ 126.113748] usb_stor_bulk_srb+0x4b/0x80 [usb_storage] [ 126.113753] usb_stor_Bulk_transport+0x175/0x400 [usb_storage] [ 126.113755] usb_stor_invoke_transport+0x3b/0x500 [usb_storage] [ 126.113758] ? wait_for_completion_interruptible+0xb7/0x180 [ 126.113761] usb_stor_transparent_scsi_command+0xe/0x10 [usb_storage] [ 126.113763] usb_stor_control_thread+0x1c7/0x280 [usb_storage] [ 126.113767] kthread+0x125/0x140 [ 126.113769] ? usb_stor_disconnect+0xc0/0xc0 [usb_storage] [ 126.113770] ? kthread_create_on_node+0x70/0x70 [ 126.113772] ret_from_fork+0x25/0x30 [ 126.113773] Code: f1 48 89 fa 48 c7 c6 a0 6e 51 c0 48 c7 c7 20 8e 51 c0 e8 ca 08 f9 de e9 5d fd ff ff 41 8b 87 88 00 00 00 85 c0 0f 84 67 fd ff ff <0f> 0b 48 8b 7d d0 48 c7 c6 48 5d 51 c0 e8 c4 f3 0e df 4c 89 fe [ 126.113791] RIP: vhci_urb_enqueue+0x2fa/0x4f0 [vhci_hcd] RSP: b44e81a77b60 [ 126.113794] ---[ end trace 6e70660d8a09a8dd ]--- [ 126.122875] audit: type=1400 audit(1506565321.693:181): apparmor="DENIED" operation= -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
It works fine with this build: Linux ubuntu 4.12.0-11-generic #12-Ubuntu SMP Fri Aug 11 12:26:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux It might be a 4.13 thing as a lot of code was changed in usbip for that verison. Ill do more testing on 4.13 and let you know what i find.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719888] Re: kernel BUG at /build/linux-s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683!
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.14 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc2/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719888 Title: kernel BUG at /build/linux- s_bACt/linux-4.13.0/drivers/usb/usbip/vhci_hcd.c:683! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1719888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs