[haiku-bugs] Re: [Haiku] #16794: XHCI: Divide error exception in SubmitNormalRequest

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 19 Apr 2021 05:54:08 -0000

#16794: XHCI: Divide error exception in SubmitNormalRequest
-------------------------------+----------------------------
  Reporter:  LSS37040          |      Owner:  waddlesplash
      Type:  bug               |     Status:  new
  Priority:  normal            |  Milestone:  Unscheduled
 Component:  Drivers/USB/XHCI  |    Version:  R1/Development
Resolution:                    |   Keywords:
Blocked By:                    |   Blocking:  16878
  Platform:  x86-64            |
-------------------------------+----------------------------
Comment (by LSS37040):

 Replying to [comment:5 waddlesplash]:

I wonder if the problem here is that the xhci_endpoint is actually not
 initialized. Adding checks for that may solve this. However I am not sure
 how we can wind up in a state where the endpoint is not initialized but a
 Pipe exists...

 I'm not an expert, but I do recall seeing some BIOSes/bootloaders don't
 play well with empty card readers before (that I either need to insert a
 card in it, or hide the reader somehow).

 I think the BIOS could interpret empty card readers in all kinds of ways,
 and in some cases would cause certain BIOS/system calls to return invalid
 values which make the caller freaks out.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16794#comment:7>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: