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

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 Mar 2017 21:05:57 -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):

 Ok.. that command 17 was actually (0x17) so 23 :-|  (fixed via hrev51050)

 This all makes a lot more sense now:

 {{{
 usb hub 2: initialised ok
 usb xhci -1: successfully started the controller
 usb xhci -1: No-Op test...
 usb xhci -1: Issue No-Op
 usb xhci -1: command[0] = 23 (0x0000000000000000, 0x00000000, 0x00005c00)
 usb xhci -1: Ding Dong! slot:0 endpoint 0
 usb xhci -1: Event Interrupt
 usb xhci -1: event[0] = 33 (0x0000000006503d40 0x05000000 0x00008401)
 usb xhci -1: event[0] = 33 (0x0000000006503d40 0x05000000 0x00008401)
 usb xhci -1: Received command event
 usb xhci -1: event[1] = 0 (0x0000000000000000 0x00000000 0x00000000)
 usb xhci -1: Command Complete. Result: 5
 usb error xhci -1: unsuccessful command TRB (5)
 usb xhci -1: Storing trb 0x05000000 0x00008401
 usb xhci -1: No-Op unsuccessful
 usb xhci -1:   command[0] = 23 (0x0000000000000000, 0x00000000,
 0x00005c01)
 usb xhci -1:   command[1] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[2] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[3] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[4] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[5] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[6] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[7] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[8] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[9] = 0 (0x0000000000000000, 0x00000000, 0x00000000)
 usb xhci -1:   command[10] = 0 (0x0000000000000000, 0x00000000,
 0x00000000)
 usb xhci -1:   command[11] = 0 (0x0000000000000000, 0x00000000,
 0x00000000)
 usb xhci -1:   command[12] = 0 (0x0000000000000000, 0x00000000,
 0x00000000)
 usb xhci -1:   command[13] = 0 (0x0000000000000000, 0x00000000,
 0x00000000)
 usb xhci -1:   command[14] = 0 (0x0000000000000000, 0x00000000,
 0x00000000)
 usb stack 0: module busses/usb/xhci successfully loaded
 }}}

 So we're inserting the No-Op, and the XHCI controller is reporting it
 failed. (updating the cycle bit to 1 as expected)

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

Other related posts: