public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: Greg KH <gregkh@suse.de>, Linux-usb <linux-usb@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Sleeping function called from invalid context in 2.6.37 xhci_hcd
Date: Thu, 6 Jan 2011 00:00:25 -0800	[thread overview]
Message-ID: <20110106080025.GA27255@xanatos> (raw)
In-Reply-To: <AANLkTi=a=ARbmr6e9KvuNdtLWkQyfecrQOPeTHze5=Xf@mail.gmail.com>

On Wed, Jan 05, 2011 at 06:59:59PM -0600, Robert Hancock wrote:
> On Wed, Jan 5, 2011 at 6:30 PM, Greg KH <gregkh@suse.de> wrote:
> > On Wed, Jan 05, 2011 at 06:22:03PM -0600, Robert Hancock wrote:
> >> Just saw this on booting up on the latest Fedora Rawhide kernel
> >> based on 2.6.37. Looks like we were trying to do a runtime suspend
> >> on the xHCI USB controller and it disabled MSI-X while interrupts
> >> were disabled?
> >
> > Known issue, patches came in too late to make it for .37, hopefully will
> > show up in .38-rc and then get backported to .37.  They are on the
> > linux-usb mailing list if you need them now.
> 
> Not sure if it's related to this issue or not, but I also noticed the
> USB 3.0 card wasn't detecting any connected devices until I disabled
> USB autosuspend on the controller through sysfs (which is enabled by
> default in that Fedora Rawhide kernel)..

There's a couple more patches to deal with some issues with
disconnecting a USB device (or safely removing a USB mass storage
device) when the bus is suspended.  See the patches starting in this
thread:

http://marc.info/?l=linux-usb&m=129421308020494&w=2

Try applying the first five patches and let me know if you still see any
issues.  The fourth patch has a known compile warning (it will get fixed
shortly) but you shouldn't run into that particular error path.

Sarah Sharp

      reply	other threads:[~2011-01-06  8:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  0:22 Sleeping function called from invalid context in 2.6.37 xhci_hcd Robert Hancock
2011-01-06  0:30 ` Greg KH
2011-01-06  0:59   ` Robert Hancock
2011-01-06  8:00     ` Sarah Sharp [this message]

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=20110106080025.GA27255@xanatos \
    --to=sarah.a.sharp@linux.intel.com \
    --cc=gregkh@suse.de \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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