This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1826016
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: bionic
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1826016
Title:
Crash while connecting phone via USB: usbfs did not claim interface 0
before use
Status in linux package in Ubuntu:
Incomplete
Bug description:
After plugging in my phone via a USB cable, my system slowed and soon
became non-responsive, even to Ctl+Alt+F1 and Alt+SysRq+[SUB] keys. At
some point I unplugged the phone. I let the computer sit for an hour
to see if anything would happen; the GUI continued to be displayed,
and it continued to be unresponsive to all keyboard and mouse input.
My phone tends to have a poor and inconsistent USB connection. While
that's a problem, it shouldn't be the kind of problem that leads to a
system crash.
I plug this phone in regularly using the same cable, and this is the
only time it caused a crash. It usually connects via MTP without
problems. It is conceivable that some other application caused the
crash, or reduced the available memory enough to expose a bug in
usbfs. However, the 640,442 error messages in /var/log/kern.log makes
me think this is a usbfs problem.
I'm not sure where to report this bug, as the logs indicate it is
related to usbfs, which this says has long-since been deprecated and
removed from Linux: https://askubuntu.com/a/388062
## LOGS
$ grep 'did not claim interface' /var/log/kern.log | wc -l
640442
$ grep 'did not claim interface' /var/log/kern.log -B15 | head -n30
Apr 18 15:45:00 Lenovo-G550 kernel: [230782.257893] IPv6:
ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
Apr 18 15:45:02 Lenovo-G550 kernel: [230783.535686] IPv6:
ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.152047] usb 2-1: new high-speed
USB device number 35 using ehci-pci
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.310148] usb 2-1: New USB device
found, idVendor=22b8, idProduct=2e82
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.310152] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.310154] usb 2-1: Product: XT1031
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.310156] usb 2-1: Manufacturer:
motorola
Apr 18 17:33:17 Lenovo-G550 kernel: [237280.310158] usb 2-1: SerialNumber:
TA9750117R
Apr 18 17:33:19 Lenovo-G550 kernel: [237281.560368] usb 2-1: USB disconnect,
device number 35
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.016043] usb 2-1: new high-speed
USB device number 36 using ehci-pci
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.173616] usb 2-1: New USB device
found, idVendor=22b8, idProduct=2e82
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.173620] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.173622] usb 2-1: Product: XT1031
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.173624] usb 2-1: Manufacturer:
motorola
Apr 18 17:33:19 Lenovo-G550 kernel: [237282.173626] usb 2-1: SerialNumber:
TA9750117R
Apr 18 17:33:34 Lenovo-G550 kernel: [237297.211272] usb 2-1: usbfs: process
31829 (pool) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.344058] usb 2-1: reset high-speed
USB device number 36 using ehci-pci
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501039] usb 2-1: usbfs: process
31829 (pool) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501220] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501228] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501233] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501238] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501243] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501248] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501254] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501259] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501264] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501277] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501283] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:33:35 Lenovo-G550 kernel: [237297.501288] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
$ grep 'did not claim interface' /var/log/kern.log | tail
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440134] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440139] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440152] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440158] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440165] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440170] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440175] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440181] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440187] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
Apr 18 17:36:34 Lenovo-G550 kernel: [237476.440192] usb 2-1: usbfs: process
31824 (events) did not claim interface 0 before use
## ENVIRONMENT
$ lsb_release -d
Description: Ubuntu 18.04.2 LTS
$ uname -r
4.15.0-47-generic
$ cat /proc/version
Linux version 4.15.0-47-generic (buildd@lcy01-amd64-016) (gcc version 7.3.0
(Ubuntu 7.3.0-16ubuntu3)) #50-Ubuntu SMP Wed Mar 13 10:40:37 UTC 2019
$ usb-devices
[attached]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826016/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp