From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tanya Brokhman" Subject: RE: UAS gadget driver & UAS host driver [was: Re: [RFC/PATCH 0/4] UASP device driver] Date: Mon, 21 Feb 2011 17:35:47 +0200 Message-ID: <005301cbd1dd$04dbc380$0e934a80$@org> References: <1295595794-23194-1-git-send-email-tlinder@codeaurora.org> <20110211224703.GC9008@xanatos> <000001cbcb49$8bba88e0$a32f9aa0$@org> <20110214183125.GC4059@xanatos> <003101cbd193$4abb2ed0$e0318c70$@org> <20110221145845.GB16492@xanatos> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110221145845.GB16492@xanatos> Content-Language: en-us Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: 'Sarah Sharp' 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 List-Id: linux-arm-msm@vger.kernel.org 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? Do you need the LECroy recording as well? > > 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. Best regards, Tanya Brokhman Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum -- 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