[SeaBIOS] [PATCH 1/4] xhci: Update the times for usb command timeouts.

Matt DeVillier matt.devillier at gmail.com
Mon Jun 23 17:45:52 CEST 2014


On 6/22/2014 5:04 AM, Kevin O'Connor wrote:
> On Sat, Jun 21, 2014 at 01:24:24PM -0500, Matt DeVillier wrote:
>> On 6/21/2014 1:22 PM, Kevin O'Connor wrote:
>>> The above is fine.  Can you also post 'lsusb -t' and 'lsusb -v' output
>>> for the device?  I'll take a look later tonight.
>> does it need to be from the same SeaBIOS build?  I'd imagine not
>> since the device works in the OS either way.  But if so I'll need to
>> recompile/reflash first since I have a working one loaded now
> No - the lsusb reports info on the device - it shouldn't matter what
> version of seabios is in use.  Can you post the full seabios log as
> well?
>
> Please CC the seabios mailing list on the response.
>
> -Kevin

Kevin,

here's the cbmem snipped for the USB3 flash drive:

SeaBIOS (version rel-1.7.5-6-g0fce84e-20140611-MattDevo)
init usb
XHCI init on dev 00:14.0: regs @ 0xe0700000, 13 ports, 32 slots, 32 byte contexts
XHCI    protocol USB  2.00, 9 ports (offset 1), def 3018
XHCI    protocol USB  3.00, 4 ports (offset 10), def 1000
XHCI    extcap 0xc1 @ e0708040
XHCI    extcap 0xc0 @ e0708070
XHCI    extcap 0x1 @ e0708460
XHCI    extcap 0xa @ e0708480
configure_xhci: resetting
configure_xhci: setup 16 scratch pad buffers
xhci_hub_detect port #1: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #2: 0x000206e1, powered, pls 7, speed 1 [Full]
xhci_hub_reset port #2: 0x000206e1, powered, pls 7, speed 1 [Full]
XHCI port #2: 0x00200603, powered, enabled, pls 0, speed 1 [Full]
set_address 0x000ef720
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x7f6aeb00, slotid 0, epid 1
xhci_cmd_enable_slot:
xhci_process_events: status change port #2
xhci_process_events: status change port #4
xhci_process_events: status change port #11
xhci_process_events: status change port #2
xhci_alloc_pipe: enable slot: got slotid 1
xhci_cmd_address_device: slotid 1
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f6aeb00, slotid 1, epid 1
config_usb: 0x7f6aec20
device rev=0200 cls=00 sub=00 proto=00 size=8
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f6aeb00, slotid 1, epid 1
usb_hid_setup 0x7f6aec20
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x000ef400, slotid 0, epid 3
xhci_cmd_configure_endpoint: slotid 1, add 0x9, del 0x0
USB keyboard initialized
xhci_hub_detect port #3: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #4: 0x000206e1, powered, pls 7, speed 1 [Full]
xhci_hub_reset port #4: 0x000206e1, powered, pls 7, speed 1 [Full]
XHCI port #4: 0x00200603, powered, enabled, pls 0, speed 1 [Full]
set_address 0x000ef720
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x7f6ae900, slotid 0, epid 1
xhci_cmd_enable_slot:
xhci_process_events: status change port #4
xhci_alloc_pipe: enable slot: got slotid 2
xhci_cmd_address_device: slotid 2
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f6ae900, slotid 2, epid 1
config_usb: 0x7f6aea20
device rev=0110 cls=e0 sub=01 proto=01 size=64
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f6ae900, slotid 2, epid 1
xhci_update_pipe: reconf ctl endpoint pkt size: 8 -> 64
xhci_cmd_evaluate_context: slotid 2, add 0x2, del 0x0
xhci_hub_detect port #5: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #6: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #7: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #8: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #9: 0x000002a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #10: 0x000802a0, powered, pls 5, speed 0 [ - ]
xhci_hub_detect port #11: 0x00281203, powered, enabled, pls 0, speed 4 [Super]
XHCI port #11: 0x00281203, powered, enabled, pls 0, speed 4 [Super]
set_address 0x000ef720
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x7f69de00, slotid 0, epid 1
xhci_cmd_enable_slot:
xhci_alloc_pipe: enable slot: got slotid 3
xhci_cmd_address_device: slotid 3
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f69de00, slotid 3, epid 1
config_usb: 0x7f69df20
device rev=0300 cls=00 sub=00 proto=00 size=512
xhci_update_pipe: usbdev 0x7f664290, ring 0x7f69de00, slotid 3, epid 1
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x000ef200, slotid 0, epid 3
xhci_cmd_configure_endpoint: slotid 3, add 0x9, del 0x0
xhci_alloc_pipe: usbdev 0x7f664290, ring 0x000ef000, slotid 0, epid 4
xhci_cmd_configure_endpoint: slotid 3, add 0x11, del 0x0
Searching bootorder for: /pci at i0cf8/usb at 14/storage at b/*@0/*@0,0
Searching bootorder for: /pci at i0cf8/usb at 14/usb-*@b
USB MSC vendor='UFD 3.0' product='Silicon-Power16G' rev='PMAP' type=0 removable=1
WARNING - Timeout at xhci_event_wait:394!
xhci_send_bulk: bulk xfer failed (cc -1)
USB transmission failed
xhci_send_bulk: bulk xfer failed (cc 3)
USB transmission failed
Unable to configure USB MSC drive.
Unable to configure USB MSC device.
...

-Matt



More information about the SeaBIOS mailing list