[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2021-01-29 Thread Colin Godsey
For the other folks that see this, it does seem to help to use the reset button slower, for what its worth. Possibly offers a better disconnect/reconnect timing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2021-01-29 Thread Colin Godsey
This still seems to be happening on 5.8. Different board yet again, but same situation. Crashes every 1/X times when resetting the board. I don't have logs of the actual crash (ZFS root maybe?), but it locks up right after the "failed to set dtr/rts" like the others reported here, with similar

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-09-27 Thread Launchpad Bug Tracker
[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/1871143

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-07-29 Thread Dan Halbert
I brought this up on the linux-usb email list and was told it was more likely to be an issue in the filesystem code. In addition, that code (and the USB code) don't expect an MSC USB device to behave badly, and there's no guarantee that if it does, Linux will not crash. In this case, the

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-07-04 Thread Dan Halbert
Thank you. Attaching lspci-v output in preparation for reporting to the linux-usb mailing list. lsusb -v output is already attached to the first port. ** Attachment added: "lspci-v.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871143/+attachment/5389646/+files/lspci-v.txt --

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-07-04 Thread Kai-Heng Feng
Please raise the issue to linux-usb mailing list. Possible use-after- free bug here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871143 Title: Kernel crash during USB device enumeration or

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-06-09 Thread Dan Halbert
I'm wrong, I got this to happen on 4.10, which is quite old, so I'm not sure if it's worth going back much further in time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871143 Title: Kernel crash

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-06-09 Thread Dan Halbert
I was able to reproduce the problem after a few tries with the 5.7.0-050700-generic kernel. I then started trying older kernels. It appears the problem started somewhere between 4.10.0 an 4.18.0. But sometimes it takes several tries to reproduce, so I'll continue some ad- hoc bisecting to see if I

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-06-09 Thread Kai-Heng Feng
Since the system is upgraded from 16.04, have you tried any older kernel? This could be a regression. Also, please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-06-09 Thread Dan Halbert
Thanks for the reply. TinyUSB runs on the microcontroller board; it is the USB stack implementation used by the software on the board. So it doesn't touch the kernel, by definition. It is behaving in some way that is unexpected to the Linux driver, and causing bad behavior on the part of the

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-06-08 Thread Kai-Heng Feng
Disconnect: [76704.227672] cdc_acm 1-1.4:1.0: failed to set dtr/rts [76704.936301] usb 1-1.4: USB disconnect, device number 11 Reprobe: [76707.579590] usb 1-1.4: new full-speed USB device number 12 using ehci-pci Then: [76707.692717] general protection fault: [#1] SMP PTI Could be use

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-04-30 Thread Dan Halbert
Another crash, with a different backtrace. with a different board, but related USB implementation. Since the report above, the underlying USB implementation on the boards has changed somewhat, but the circumstances of the crash are similar: [40859.232293] usb 1-1.3: USB disconnect, device number

[Bug 1871143] Re: Kernel crash during USB device enumeration or mounting

2020-04-06 Thread Dan Halbert
Key part of dmesg is: [76704.227672] cdc_acm 1-1.4:1.0: failed to set dtr/rts [76704.936301] usb 1-1.4: USB disconnect, device number 11 [76704.951638] blk_update_request: I/O error, dev sdc, sector 1110 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0 [76704.951644] Buffer I/O error on dev