apport information ** Attachment added: "AlsaDevices.txt" https://bugs.launchpad.net/bugs/1826016/+attachment/5258769/+files/AlsaDevices.txt
-- 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] --- 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/controlC0: daniel 2134 F.... pulseaudio Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf4700000 irq 25' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aac001,00100000' Controls : 20 Simple ctrls : 10 CurrentDesktop: LXDE DistroRelease: Ubuntu 18.04 HibernationDevice: RESUME=UUID=3dc696fc-5160-45bc-a421-6d55f7ac4e13 InstallationDate: Installed on 2017-07-05 (658 days ago) InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release i386 (20170412) MachineType: LENOVO 2958 NonfreeKernelModules: wl Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-47-generic root=UUID=a08c4604-dcba-44ca-92a1-c388a85d9826 ro quiet splash vt.handoff=1 ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A 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.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: No Enclosure dmi.chassis.version: N/A dmi.modalias: dmi:bvnLENOVO:bvr18CN37WW(V2.10):bd09/18/2009:svnLENOVO:pn2958:pvrLenovoG550:rvnLENOVO:rnNITU1:rvrREFERENCE:cvnNoEnclosure:ct10:cvrN/A: dmi.product.family: Lenovo dmi.product.name: 2958 dmi.product.version: Lenovo G550 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/controlC0: daniel 2134 F.... pulseaudio Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf4700000 irq 25' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aac001,00100000' Controls : 20 Simple ctrls : 10 CurrentDesktop: LXDE DistroRelease: Ubuntu 18.04 HibernationDevice: RESUME=UUID=3dc696fc-5160-45bc-a421-6d55f7ac4e13 InstallationDate: Installed on 2017-07-05 (658 days ago) InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release i386 (20170412) MachineType: LENOVO 2958 NonfreeKernelModules: wl Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-47-generic root=UUID=a08c4604-dcba-44ca-92a1-c388a85d9826 ro quiet splash vt.handoff=1 ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-47-generic N/A linux-backports-modules-4.15.0-47-generic N/A 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.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: No Enclosure dmi.chassis.version: N/A dmi.modalias: dmi:bvnLENOVO:bvr18CN37WW(V2.10):bd09/18/2009:svnLENOVO:pn2958:pvrLenovoG550:rvnLENOVO:rnNITU1:rvrREFERENCE:cvnNoEnclosure:ct10:cvrN/A: dmi.product.family: Lenovo dmi.product.name: 2958 dmi.product.version: Lenovo G550 dmi.sys.vendor: LENOVO 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 : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp