From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
To: Tanya Brokhman <tlinder@codeaurora.org>
Cc: willy@linux.intel.com, gregkh@suse.de,
linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
ablay@codeaurora.org
Subject: Re: UAS gadget driver & UAS host driver [was: Re: [RFC/PATCH 0/4] UASP device driver]
Date: Mon, 21 Feb 2011 08:22:41 -0800 [thread overview]
Message-ID: <20110221162241.GB17590@xanatos> (raw)
In-Reply-To: <005301cbd1dd$04dbc380$0e934a80$@org>
On Mon, Feb 21, 2011 at 05:35:47PM +0200, Tanya Brokhman wrote:
> Hi Sarah
>
> > That particular error is from the host side. It means the xHCI driver
> > tried to move the ring dequeue pointer past the last part of your
> > command (probably the status phase), and the host refused to do so,
> > because that was the "active" stream ID. Can you please send me the
> > full dmesg for the stalled request with CONFIG_USB_XHCI_HCD_DEBUGGING
> > turned on?
>
> Np. I've already overcame this issue but I'll roll back and send you the
> dmesg output. When I tried enabling this flag the dmesg was swamped with
> xhci messages and the messages I was looking for weren't there already.
> I read that in order to increase the dmesg buffer size one needs to update
> the #define of LOG_BUF_LEN in linux/kernel/printk.c. I haven't tried that
> yet. Is this correct?
There will be a lot of messages, but you can capture them by running
this command line:
tail -f /var/log/kern.log | tee logfile.txt
Then send me logfile.txt.
I've been meaning to cut back on the less-than-useful debugging in the
xHCI driver and add an event trace infrastructure, but other features
have taken priority.
> Do you need the LECroy recording as well?
No, that's not necessary.
> > I think it's worth rolling back your firmware for this because I really
> > need to test this corner case. I think it may be an unhandled corner
> > case that I've been warning Intel's xHCI spec architect about. There
> > seems to be no way to modify the active stream's rings for cases like
> > these where the transfer stalls.
> >
> > Which host controller are you running under? If it's an NEC host
> > controller, please send me the line that looks something like this:
> >
> > NEC firmware version xx.xx
> >
>
> We're using NEC but I'm not sure where to retrieve the version from. The
> line you mentioned isn't present in the dmesg output and I found nothing
> similar written on the chip either.
You'll see that line in the dmesg once you enable
CONFIG_USB_XHCI_HCD_DEBUGGING.
Sarah Sharp
next prev parent reply other threads:[~2011-02-21 16:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 7:43 [RFC/PATCH 0/4] UASP device driver Tatyana Brokhman
2011-01-21 15:23 ` Alan Stern
2011-01-23 5:53 ` Tanya Brokhman
2011-02-11 22:47 ` Sarah Sharp
2011-02-13 6:45 ` Tanya Brokhman
2011-02-14 18:31 ` Sarah Sharp
2011-02-21 6:48 ` UAS gadget driver & UAS host driver [was: Re: [RFC/PATCH 0/4] UASP device driver] Tanya Brokhman
2011-02-21 13:03 ` Matthew Wilcox
[not found] ` <20110221130307.GT3663-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2011-02-21 13:45 ` Tanya Brokhman
2011-02-21 14:58 ` Sarah Sharp
2011-02-21 15:35 ` Tanya Brokhman
2011-02-21 16:22 ` Sarah Sharp [this message]
2011-02-21 16:34 ` Alan Stern
2011-03-07 7:11 ` Tanya Brokhman
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=20110221162241.GB17590@xanatos \
--to=sarah.a.sharp@linux.intel.com \
--cc=ablay@codeaurora.org \
--cc=gregkh@suse.de \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=tlinder@codeaurora.org \
--cc=willy@linux.intel.com \
/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