public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Zeng, Star" <star.zeng@intel.com>
To: Udit Kumar <udit.kumar@nxp.com>, edk2-devel-01 <edk2-devel@lists.01.org>
Cc: "Zeng, Star" <star.zeng@intel.com>
Subject: Re: USB Enumeration
Date: Thu, 5 Oct 2017 12:45:32 +0000	[thread overview]
Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B97E87C@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <AM6PR0402MB333485D586E493B6EFE70C3C91700@AM6PR0402MB3334.eurprd04.prod.outlook.com>

We (I) did not see this appearance before, but the ASSERT should be unexpected.

Could you try to use error handling instead of ASSERT for this line of code and see whether it works or not for you?

What are the models of the Host controller and USB device?
Do you have full debug log for that?
Did you meet the ASSERT before(for example, using the code base at the beginning of this year) with the same Host controller and USB device?

Could you submit Bugzilla at https://bugzilla.tianocore.org/ with the information for the questions you have above? Then we can have follow up to check the detail by the information provided (if we can produce it by ourselves, that will be better). :)


Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Udit Kumar
Sent: Thursday, October 5, 2017 8:05 PM
To: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: [edk2] USB Enumeration

Dear Edk2 Expert, 

With edk2 shell, I am doing simple copy with USB, Flow is below 

Start- USB device is enumerated and given address 1.
1. On Shell , cp a b
2- After a while Host controller reports an error
3- Layer above Host controller, reset the USB port
4-  and Slot is enabled again ( this time address 2 was given)
5- Now FatIFileAccess calls FatCleanupVolume, which in turn calls XhcBulkTransfer And assert is reported at
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c(1800): TrsRing != ((void *) 0)

Is this expected behavior to assert, or reporting an error will be fine in such cases. 

Thanks for help 

Regards
Udit
 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-10-05 12:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 12:04 USB Enumeration Udit Kumar
2017-10-05 12:45 ` Zeng, Star [this message]
2017-10-05 13:25   ` Udit Kumar
2017-10-06  5:05     ` Udit Kumar

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-list 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=0C09AFA07DD0434D9E2A0C6AEB0483103B97E87C@shsmsx102.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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