[haiku-bugs] Re: [Haiku] #13343: QEMU XHCI Devices not bootable

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 26 Mar 2017 19:14:37 -0000

#13343: QEMU XHCI Devices not bootable
--------------------------------+----------------------------
   Reporter:  kallisti5         |      Owner:  nobody
       Type:  bug               |     Status:  new
   Priority:  high              |  Milestone:  R1/beta1
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  12895
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by kallisti5):

 Looking through the XHCI tickets.
 We commonly see the following errors per the XHCI spec:

 * 5 TRB Error
   * Asserted when a TRB parameter error condition (e.g., out of range or
 invalid parameter) is detected in a TRB. Refer to section 4.10.2.2 for
 examples
   > 4.10.2.2 TRB Error
   > A TRB Error indicates the TRB field values are out of range or that
 the xHC has
   > determined that a TRB is incorrectly formed.
   > This error condition may be reported in a Transfer Event or a Command
 Completion Event
   > due to an error detected on a Transfer or Command TRB, respectively.
 This error will
   > not be reported in any other Event TRB types.
   > Note: A Transfer Ring TRB Error should transition an endpoint to the
 Error state (refer
   > to section 4.8.3), however an xHC implementation may assert HCE18 due
 to the detection
   > of TRB Error related error conditions. It is the responsibility of
 software to always
   > present correctly formed TRBs to the xHC.

 * 17 Parameter Error
   * Asserted by a command if a Context parameter is invalid.

 All of the errors we see seem to align to an incorrectly set parameter
 field.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13343#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: