This bug is missing log files that will aid in diagnosing the problem. >From a terminal window please run:
apport-collect 1603564 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 -- 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/1603564 Title: USB unplug crashes system - Assuming host is dying, halting host Status in linux package in Ubuntu: Incomplete Bug description: Occasionally, when I unplug my Android phone (connected over USB), my machine crashes. At first, I presumed the entire machine had halted since the keyboard and mouse stopped working. However, I'm still able to SSH in although the screen is completely non-responsive. Pressing the power button on the CPU seems to bring up a window with Ubuntu's power options. My Ubuntu version: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty Kernel version: Linux nixentor 3.13.0-91-generic #138-Ubuntu SMP Fri Jun 24 17:00:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I see the following output on dmesg: [15563.650717] ------------[ cut here ]------------ [15563.650730] WARNING: CPU: 7 PID: 0 at /build/linux-3r7mVb/linux-3.13.0/drivers/usb/host/xhci-ring.c:1590 handle_cmd_completion+0xe56/0xe60() [15563.650732] Modules linked in: qcserial usb_wwan usbserial ip6table_filter ip6_tables iptable_filter ip_tables x_tables cachefiles cfg80211 rfcomm bnep nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache snd_hda_codec_hdmi btusb bluetooth usb_storage mxm_wmi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd uvcvideo videobuf2_vmalloc videobuf2_memops joydev videobuf2_core snd_hda_codec_realtek videodev snd_usb_audio snd_usbmidi_lib 8812au(OX) snd_seq_midi snd_seq_midi_event snd_rawmidi snd_hda_intel snd_hda_codec snd_seq serio_raw snd_hwdep radeon snd_pcm mei_me snd_page_alloc mei snd_seq_device snd_timer snd ttm drm_kms_helper soundcore drm parport_pc i2c_algo_bit ppdev lp wmi parport video intel_smartconnect shpchp acpi_pad mac_hid hid_generic usbhid hid e1000e ahci psmouse ptp libahci pps_core [15563.650804] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G OX 3.13.0-91-generic #138-Ubuntu [15563.650807] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z97 Extreme4, BIOS P1.30 05/23/2014 [15563.650809] 0000000000000000 ffff88041edc3d90 ffffffff81729906 0000000000000000 [15563.650813] 0000000000000009 ffff88041edc3dc8 ffffffff8106987d ffff880404062d60 [15563.650817] ffff8804040606b0 0000000000000010 00000004040606b0 ffff8804041a0000 [15563.650822] Call Trace: [15563.650824] <IRQ> [<ffffffff81729906>] dump_stack+0x64/0x82 [15563.650836] [<ffffffff8106987d>] warn_slowpath_common+0x7d/0xa0 [15563.650840] [<ffffffff8106995a>] warn_slowpath_null+0x1a/0x20 [15563.650845] [<ffffffff815848c6>] handle_cmd_completion+0xe56/0xe60 [15563.650852] [<ffffffff8109aa65>] ? check_preempt_curr+0x75/0xa0 [15563.650857] [<ffffffff815861eb>] xhci_irq+0x33b/0xa50 [15563.650861] [<ffffffff8109fe35>] ? sched_clock_cpu+0xb5/0x100 [15563.650865] [<ffffffff81586911>] xhci_msi_irq+0x11/0x20 [15563.650870] [<ffffffff810c27be>] handle_irq_event_percpu+0x4e/0x220 [15563.650874] [<ffffffff810c29cd>] handle_irq_event+0x3d/0x60 [15563.650878] [<ffffffff810c5497>] handle_edge_irq+0x77/0x130 [15563.650886] [<ffffffff81016e3e>] handle_irq+0x1e/0x30 [15563.650893] [<ffffffff8173c79d>] do_IRQ+0x4d/0xc0 [15563.650898] [<ffffffff81731e2d>] common_interrupt+0x6d/0x6d [15563.650900] <EOI> [<ffffffff815daaf2>] ? cpuidle_enter_state+0x52/0xc0 [15563.650910] [<ffffffff815daae8>] ? cpuidle_enter_state+0x48/0xc0 [15563.650915] [<ffffffff815dac3c>] cpuidle_idle_call+0xdc/0x220 [15563.650921] [<ffffffff8101e3fe>] arch_cpu_idle+0xe/0x30 [15563.650924] [<ffffffff810c1be1>] cpu_startup_entry+0xc1/0x2b0 [15563.650931] [<ffffffff8104278d>] start_secondary+0x21d/0x2d0 [15563.650934] ---[ end trace d9b5447d0ddb440a ]--- [15565.486066] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command. [15565.486075] xhci_hcd 0000:00:14.0: Assuming host is dying, halting host. [15565.486120] xhci_hcd 0000:00:14.0: HC died; cleaning up [15568.853140] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command [15568.853149] xhci_hcd 0000:00:14.0: Abort the command ring, but the xHCI is dead. [15569.057055] usb 3-14: device not accepting address 92, error -108 [15574.055575] xhci_hcd 0000:00:14.0: Timeout while waiting for a slot [15574.055587] xhci_hcd 0000:00:14.0: Abort the command ring, but the xHCI is dead. [15579.054167] xhci_hcd 0000:00:14.0: Timeout while waiting for a slot [15579.054176] xhci_hcd 0000:00:14.0: Abort the command ring, but the xHCI is dead. [15584.052706] xhci_hcd 0000:00:14.0: Timeout while waiting for a slot [15584.052715] xhci_hcd 0000:00:14.0: Abort the command ring, but the xHCI is dead. [15584.052841] usb 3-3: USB disconnect, device number 2 [15584.052854] usb 3-3.2: USB disconnect, device number 13 [15584.085404] usb 3-4: USB disconnect, device number 3 [15584.108793] usb 3-6: USB disconnect, device number 8 [15584.164694] usb 3-7: USB disconnect, device number 9 [15584.165426] usb 3-8: USB disconnect, device number 10 [15584.165634] usb 3-9: USB disconnect, device number 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1603564/+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