linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: 3.8.2: stale pci device info for a previously inserted express card
Date: Mon, 11 Mar 2013 16:11:11 -0700	[thread overview]
Message-ID: <20130311231111.GF5412@xanatos> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1303111111220.2246-100000@iolanthe.rowland.org>

On Mon, Mar 11, 2013 at 11:26:26AM -0400, Alan Stern wrote:
> On Mon, 11 Mar 2013, Martin Mokrejs wrote:
> 
> > Hi,
> >   I use for my daily work acpiphp to manage express cards in Dell Vostro 3550.
> > I have never seen something like this before and believe this is some new regression
> > in 3.8 series. I had in teh a USB3 card and ejected it. Then I inserted a
> > SATA Sil3132 card but it is not detected and dmesg still ends with last lines
> > added when the USB card was being removed. The funny thing is that lspci reports
> > a mixture of USB-card properties with NEC chips along with Silicon Image eSATA card.
> 
> ...
> 
> When did you run this lspci command?  After inserting the SATA card?
> 
> Did you check to see if there were any hung processes?
> 
> >   I think as a guide you can take the kmemleak report showing that USB did not
> > release its resources completely? Did I screw something with having USB HID generic
> > driver?
> 
> Is this repeatable?  It would be more meaningful to see a kmemleak
> report for immediately after the USB-3 card is removed.  The leak may
> be related to these two lines in the log (they occurred only once):
> 
> [ 8768.825242] xhci_hcd 0000:11:00.0: Abort command ring failed
> [ 8768.825244] xhci_hcd 0000:11:00.0: HC died; cleaning up
> 
> Perhaps cleaning up after a dead controller doesn't deallocate all that
> it should.  Quite possibly this is connected with the fact that on this
> attempt, you removed the USB-3 card while the WD disk drive was plugged
> into it.

I have a note to myself that the xHCI driver leaks memory on an endpoint
stall, but I can't remember exactly where.  It's possible that the
device stalled, and the host died before we could clean it up.  It's
also possible that the memory leak is somewhere else entirely.

Sarah Sharp

  parent reply	other threads:[~2013-03-11 23:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <513DD059.5030604@fold.natur.cuni.cz>
2013-03-11 15:26 ` 3.8.2: stale pci device info for a previously inserted express card Alan Stern
2013-03-11 15:48   ` Martin Mokrejs
2013-03-11 16:05     ` Alan Stern
2013-03-11 23:11   ` Sarah Sharp [this message]
2013-03-12  2:25     ` Alan Stern
     [not found] <513E02B7.4080900@fold.natur.cuni.cz>
2013-03-11 16:35 ` Alan Stern
     [not found] <513E002C.40805@fold.natur.cuni.cz>
2013-05-10 17:47 ` Bjorn Helgaas
2013-06-07 11:20   ` Martin Mokrejs
2013-06-07 11:27     ` Martin Mokrejs
2013-06-07 15:55       ` Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130311231111.GF5412@xanatos \
    --to=sarah.a.sharp@linux.intel.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=mmokrejs@fold.natur.cuni.cz \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).