RE: xhci data toggle out of sync
- Reply: Hans Petter Selasky : "Re: xhci data toggle out of sync"
- In reply to: Hans Petter Selasky : "Re: xhci data toggle out of sync"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Apr 2022 09:30:45 UTC
Hi HPS, The error seems to be NO_PIPE and end points are 2 & 3 but the usbconfig dump_all_desc lists epaddress 1, 81 any idea why ? ugen0.3: <Virtium VTDU31XC008G-A901> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x2aaa idProduct = 0x0100 bcdDevice = 0x0100 iManufacturer = 0x0001 <Virtium> iProduct = 0x0003 <VTDU31XC008G-A901> iSerialNumber = 0x0002 <P1T66005607903260063> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 <Mass storage> bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 root@:RE:0% FreeBSD/arm (Amnesiac) (ttyu0) login: xhci0: MMV endpoint 3 state 2 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV endpoint 3 state 3 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV Could not reset endpoint 3 err 12 xhci0: MMV endpoint 3 state 2 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV endpoint 3 state 3 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV Could not reset endpoint 3 err 12 xhci0: MMV endpoint 3 state 2 xhci0: MMV Could not stop endpoint 3 err 12 (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 ab 43 28 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain xhci0: MMV endpoint 2 state 1 xhci0: MMV Could not reset endpoint 2 err 12 xhci0: MMV endpoint 3 state 3 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV Could not reset endpoint 3 err 12 xhci0: MMV endpoint 3 state 2 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV endpoint 3 state 3 xhci0: MMV Could not stop endpoint 3 err 12 xhci0: MMV Could not reset endpoint 3 err 12 FreeBSD/arm (Amnesiac) (ttyu0) Thanks, Mahesh Juniper Business Use Only -----Original Message----- From: Hans Petter Selasky <hps@selasky.org> Sent: Tuesday, April 19, 2022 2:26 PM To: Mahesh Vardhamanaiah <maheshmv@juniper.net>; freebsd-usb@freebsd.org Cc: Steve Kiernan <stevek@juniper.net>; Justin Hibbits <jhibbits@juniper.net>; Kumara N Babu <bkumara@juniper.net>; Kamal Prasad <krprasad@juniper.net>; Kristof Provost <kp@FreeBSD.org>; Bjoern A. Zeeb <bz@FreeBSD.org> Subject: Re: xhci data toggle out of sync [External Email. Be cautious of content] Hi Mahesh, On 4/19/22 10:40, Mahesh Vardhamanaiah wrote: > xhci0: MMV Could not stop endpoint 3 > xhci0: MMV Could not reset endpoint 3 Is there a chance you can find out why the XHCI controller is not accepting these commands? I mean, if the endpoint cannot be reset, also when there is no previous failure, there clearly is a design issue in the fabric :-( --HPS