Crash while connecting phone via USB: usbfs did not claim interface 0 before use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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:/
## 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(
Apr 18 15:45:02 Lenovo-G550 kernel: [230783.535686] IPv6: ADDRCONF(
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@
$ usb-devices
[attached]
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.15.0-47-generic.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf4700000 irq 25'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,
Controls : 20
Simple ctrls : 10
CurrentDesktop: LXDE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-07-05 (658 days ago)
InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release i386 (20170412)
MachineType: LENOVO 2958
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
Tags: bionic
Uname: Linux 4.15.0-47-generic i686
UpgradeStatus: Upgraded to bionic on 2018-10-21 (185 days ago)
UserGroups: adm cdrom dip kismet lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/18/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 18CN37WW(V2.10)
dmi.board.name: NITU1
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: Lenovo
dmi.product.name: 2958
dmi.product.
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.15.0-47-generic.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf4700000 irq 25'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,
Controls : 20
Simple ctrls : 10
CurrentDesktop: LXDE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-07-05 (658 days ago)
InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release i386 (20170412)
MachineType: LENOVO 2958
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
Tags: bionic
Uname: Linux 4.15.0-47-generic i686
UpgradeStatus: Upgraded to bionic on 2018-10-21 (185 days ago)
UserGroups: adm cdrom dip kismet lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/18/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 18CN37WW(V2.10)
dmi.board.name: NITU1
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: Lenovo
dmi.product.name: 2958
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | Expired → Confirmed |
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.