[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
[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/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
John Lindgren, could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report: apport-collect -p linux Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags: kernel-fixed-upstream kernel-fixed-upstream-VERSION-NUMBER where VERSION-NUMBER is the version number of the kernel you tested. For example: kernel-fixed-upstream-v3.11-rc4 This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag: needs-upstream-testing If the mainline kernel does not fix this bug, please add the following tags: kernel-bug-exists-upstream kernel-bug-exists-upstream-VERSION-NUMBER As well, please remove the tag: needs-upstream-testing If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags: kernel-unable-to-test-upstream kernel-unable-to-test-upstream-VERSION-NUMBER Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding. ** Tags added: needs-kernel-logs needs-upstream-testing regression- potential ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
Same problem, or similar enough to likely have the same cause: Total system freeze when unplugging an expresscard (sata_sil24). No mouse, no keyboard, no error. Screen remains visible, but doesn't update. Needs hard reset. I had an eSATA drive connected through the Expresscard eSATA adapter. Unmounted the drive, powered down drive enclosure, disconnected esata cable, then finally removed the expresscard. The logs (syslog and kern.log) only show: Dec 9 13:04:48 x200s kernel: [186036.733409] ata5: exception Emask 0x10 SAct 0x0 SErr 0x8 action 0xe frozen Dec 9 13:04:48 x200s kernel: [186036.733420] ata5: irq_stat 0x00100010, PHY RDY changed Dec 9 13:04:48 x200s kernel: [186036.733428] ata5: SError: { 10B8B } Dec 9 13:04:48 x200s kernel: [186036.733439] ata5: hard resetting link Dec 9 13:04:50 x200s kernel: [186038.812104] ata5: SATA link down (SStatus 0 SControl 0) Nothing else. Next line is the normal boot message after the hard reset: "kernel: imklog 5.8.6, log source = /proc/kmsg started." $ uname -a Linux x200s 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
Kernel 3.7-rc4 behaves exactly the same as 3.5.0-17. ** Tags removed: needs-upstream-testing ** Tags added: kernel-bug-exists-upstream ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.7 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages. Once you've tested the upstream kernel, please remove the 'needs- upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc4-raring/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Importance: Medium => High ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: needs-upstream-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
# apport-collect 1073688 *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/general-hooks/ubuntu.py", line 17, in import apport.hookutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository ERROR: hook /usr/share/apport/general-hooks/generic.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/general-hooks/generic.py", line 15, in import apport.hookutils, apport.fileutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository ERROR: hook /usr/share/apport/package-hooks/source_linux.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/package-hooks/source_linux.py", line 18, in import apport.hookutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (0.1 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): v *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/general-hooks/ubuntu.py", line 17, in import apport.hookutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository ERROR: hook /usr/share/apport/general-hooks/generic.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/general-hooks/generic.py", line 15, in import apport.hookutils, apport.fileutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository ERROR: hook /usr/share/apport/package-hooks/source_linux-meta.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 195, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/package-hooks/source_linux-meta.py", line 18, in import apport.hookutils File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in from gi.repository import Gio, GLib ImportError: No module named gi.repository Traceback (most recent call last): File "/usr/bin/apport-cli", line 366, in if not app.run_argv(): File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 639, in run_argv return self.run_update_report() File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 555, in run_update_report response = self.ui_present_report_details(allowed_to_report) File "/usr/bin/apport-cli", line 205, in ui_present_report_details self.collect_info() File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 990, in collect_info icthread.exc_raise() File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 66, in exc_raise exec('raise self._exception[0], self._exception[1], self._exception[2]') File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run self._retval = self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 123, in thread_collect_info if report['ProblemType'] == 'Crash' and 'APPORT_IGNORE_OBSOLETE_PACKAGES' not in os.environ: File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this b
[Bug 1073688] Re: Kernel crash when unplugging ExpressCard-to-USB adaptor
** Tags added: apport-collected ** Description changed: This is a somewhat complex problem and seems to be the combination of two separate bugs, one present in 12.04 (kernel 3.2.0-32-generic) and another new in 12.10 (kernel 3.5.0-17-generic). The problem is seen when unplugging an Encore Electronics ENPUH-302 ExpressCard-to-USB adaptor, with a generic USB thumb drive attached, from a 64-bit Intel Atom system. On 12.04, I see this message logged 20 seconds after removing the card: "xhci_hcd :0b:00.0: Timeout while waiting for configure endpoint command". If I plug the card in again during that 20 seconds, it is not recognized (dmesg says only "pciehp :00:1c.3:pcie04: Card present on Slot(35)"). On 12.10, the problem is worse. The same message ("Timeout while waiting ...") is logged 20 seconds after removing the card. If I plug the card in again during that 20 seconds, I see an additional message that was not printed in 12.04: "pciehp :00:1c.3:pcie04: >Device :0b:00.0 already exists at :0b:00, cannot hot-add". If I then unplug the card, the kernel dumps a crash report (a page fault triggered by pci_stop_bus_device()) to the screen and the system freezes. Attached are the following logs: 12.04/dmesg-boot.log: dmesg output when booting system with (Ubuntu 12.04) 12.04/dmesg-insert.log: dmesg output when plugging ExpressCard in-out-in-out (Ubuntu 12.04) 12.04/lspci-out.log: "lspci -tv" output without ExpressCard inserted (Ubuntu 12.04) 12.04/lspci-in.log: "lspci -tv" output with ExpressCard inserted (Ubuntu 12.04) 12.10/dmesg-boot.log: dmesg output when booting system with (Ubuntu 12.10) 12.10/dmesg-insert.log: dmesg output when plugging ExpressCard in-out-in (Ubuntu 12.10) 12.10/lspci-out.log: "lspci -tv" output without ExpressCard inserted (Ubuntu 12.10) 12.10/lspci-in.log: "lspci -tv" output with ExpressCard inserted (Ubuntu 12.10) 12.10/kernel-dump.png: snapshot of monitor showing kernel crash dump (Ubuntu 12.10) The testing system is the following Kontron COM on a custom board: http://us.kontron.com/products/computeronmodules/com+express/com+express+compact/comecpv2.html Let me know if you need any more info. John Lindgren + --- + Architecture: amd64 + DistroRelease: Ubuntu 12.10 + MarkForUpload: True + Package: linux (not installed) + ProcEnviron: + TERM=xterm + PATH=(custom, no user) + Uname: Linux 3.5.0-17-generic x86_64 + UserGroups: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1073688 Title: Kernel crash when unplugging ExpressCard-to-USB adaptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs