From: Sarah Sharp <sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Tanya Brokhman <tlinder-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Cc: willy-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
gregkh-l3A5Bk7waGM@public.gmane.org,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
ablay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Subject: Re: UAS gadget driver & UAS host driver [was: Re: [RFC/PATCH 0/4] UASP device driver]
Date: Mon, 21 Feb 2011 06:58:45 -0800 [thread overview]
Message-ID: <20110221145845.GB16492@xanatos> (raw)
In-Reply-To: <003101cbd193$4abb2ed0$e0318c70$@org>
On Mon, Feb 21, 2011 at 08:48:01AM +0200, Tanya Brokhman wrote:
> Hello Sarah, Matthew
>
> We're almost done with our internal testing (using the MSDVT tool we
> purchased from MCCI and the UT we developed) so our main concentration right
> now is on the UAS host which isn't working for us very well.
>
> Attached is the dmesg snippet from the UAS host. (I've added a few dbg
> printk while debugging)
> The SCSI command sequence that occurs after enumeration is INQUERY, TEST
> UNIT READY, READ CAPACITY, MODE SENSE. The first 3 finish correctly but
> after issuing MODE SENSE command I observe 2 strange warnings:
>
> [ 4335.771653] xhci_hcd 0000:01:00.0: WARN: babble error on endpoint
> [ 4335.771657] usb 9-1: ep 0x81 - asked for 4 bytes, 4 bytes untransferred
> [ 4335.771771] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd invalid
> because of stream ID configuration
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?
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
Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-02-21 14:58 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 [this message]
2011-02-21 15:35 ` Tanya Brokhman
2011-02-21 16:22 ` Sarah Sharp
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=20110221145845.GB16492@xanatos \
--to=sarah.a.sharp-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=ablay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=gregkh-l3A5Bk7waGM@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tlinder-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=willy-VuQAYsv1563Yd54FQh9/CA@public.gmane.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