From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 32476D80091 for ; Mon, 28 Apr 2025 15:01:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=GWrLHcB3QlB4hQ35E1FJOiVqo6BMMwFfTi86CkuEaFI=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1745852465; v=1; x=1746111664; b=f65QziLoJEXged+mF7i2n5iW973vPwdHaMY8CpqhXEhWnlrVud+PyJVcvm7D/ragVmh3y/7R U6I31pwmVZJwISONNne0iOXoFp2jcvzFO69hCV6jsd3sk2cxXycTXFD5m49lBHLzHZnHOxlp04X eQCLVFCRR/7KMSzeWUlpQw976OSNHDRkEJJxQmRLK3g6GkW2D2P0ymO0paZweI8jX3C4z3QtI8v RmcccaGzYKLGPm5HRoESM0uQj7mwgRTjxpHEUjNyWNDKbpa0BDFbs7utlmwcI2YTykqmFK++ks8 /N8Tkb8sHokPEvWg1tKJlMnPB8VbvtjGFhm1+K9f6d0Ng== X-Received: by 127.0.0.2 with SMTP id DTQXYY7687511xu65Qs6ZA8J; Mon, 28 Apr 2025 08:01:04 -0700 Subject: [edk2-devel] USB Enumeration Timeout on Warm Reset with XhciDxe in EDK2+SlimBootloader To: devel@edk2.groups.io From: "Hamit Can Karaca via groups.io" X-Originating-Location: Mamak, Ankara, TR (213.14.123.114) X-Originating-Platform: Windows Chrome 135 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 28 Apr 2025 08:01:04 -0700 Message-ID: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,hckaraca99@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: uXjwLrT2zK1TnQI47pfrLX1ax7686176AA= Content-Type: multipart/alternative; boundary="NEBXSzH31P9zpu9ZL6d2" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=f65QziLo; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io --NEBXSzH31P9zpu9ZL6d2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, On a cold boot, the USB stick enumerates normally. On a warm reset (UEFI Re= set/Reboot) the same device hits a timeout during slot enable / address ass= ignment. This is the log i get: =E2=80=A6 Enable Slot Successfully, The Slot ID =3D 0x2 Slot 2 address not assigned successfully. Status =3D Time out Command Ring Control set Command Abort, SlotId: 2 Disable device slot 2! XhcDisableSlotCmd: Disable Slot Command Failed, Status =3D Time out XhcControlTransfer: error - Device Error, transfer - 100 UsbEnumerateNewDev: failed to set device address - Device Error =E2=80=A6 After that failure, a second warm reset succeeds, but the failure recurs on= the next reset. On a cold shutdown + power-on, enumeration always works. R= elease and Debug builds show the same behavior. Removing certain USB sticks= in the UEFI Boot Manager occasionally hangs the menu=E2=80=94requiring a f= ull power-cycle. I couldn't find any solutions, can you please help me? Thanks. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121290): https://edk2.groups.io/g/devel/message/121290 Mute This Topic: https://groups.io/mt/112501554/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --NEBXSzH31P9zpu9ZL6d2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello,
 
On a cold boot, the USB stick enumerates normally. On a warm reset (UE= FI Reset/Reboot) the same device hits a timeout during slot enable / addres= s assignment. This is the log i get:

Enable Slot Successfully, = The Slot ID =3D 0x2
Slot 2 address not assigned successfully. Status = =3D Time out
Command Ring Control set Command Abort, SlotId: 2
Di= sable device slot 2!
XhcDisableSlotCmd: Disable Slot Command Failed, S= tatus =3D Time out
XhcControlTransfer: error - Device Error, transfer = - 100
UsbEnumerateNewDev: failed to set device address - Device Error<= br />…

 

After that failure, a se= cond warm reset succeeds, but the failure recurs on the next reset. On a co= ld shutdown + power-on, enumeration always works. Release and Debug builds = show the same behavior. Removing certain USB sticks in the UEFI Boot Manage= r occasionally hangs the menu—requiring a full power-cycle.

I couldn't find any solu= tions, can you please help me?

Thanks.

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#121290) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--NEBXSzH31P9zpu9ZL6d2--