← Back to team overview

kernel-packages team mailing list archive

[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

apport-collect -p linux <replace-with-bug-number>

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:

where VERSION-NUMBER is the version number of the kernel you tested. For example:

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:

If the mainline kernel does not fix this bug, please add the following tags:

As well, please remove the tag:

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:

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

** Tags added: needs-kernel-logs needs-upstream-testing regression-

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Kernel crash when unplugging ExpressCard-to-USB adaptor

Status in “linux” package in Ubuntu:

Bug description:
  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 0000: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
  0000: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 0000:00:1c.3:pcie04: >Device
  0000:0b:00.0 already exists at 0000: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

  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:

  Let me know if you need any more info.

  John Lindgren
  Architecture: amd64
  DistroRelease: Ubuntu 12.10
  MarkForUpload: True
  Package: linux (not installed)
   PATH=(custom, no user)
  Uname: Linux 3.5.0-17-generic x86_64

To manage notifications about this bug go to: