Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-7373

usbohci: boot process freezes after USB port scan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Drivers: USB
    • None
    • Board MSI 890 GXM-G65 (AMD nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller) with attached USB mice and keyboard
      ROS LiveCD Revision r59550 (last change of "usbohci": r59288)

    Description

      The boot process freezes without any further error message after scanning the USB OHCI Ports.

      Last message: libusb/hub_controller.cpp 324 [USBOHCI] Port 4: Status 0, Change 0
      (No further debug log available (yet). I will deliver it in some days.)

      Cause for error: the usbhub driver waits in "fdo.c" in the function "RootHubInitCallbackFunction" with "KeWaitForSingleObject" for an interrupt. But this interrupt never happens. Thus the boot process freezes.

      Work around: Set the Timeout parameter of KeWaitForSingleObject to a finite value (for example -10,000,000 => 1 sec) then the boot process do not freeze anymore. But the OHCI ports are not initialized and mice an keyboard are not available.

      Primary cause: Something goes wrong in function "InterruptServiceRoutine" in "hardware.cpp" of the OHCI driver. Interrupts are disabled in "if (Status & OHCI_ROOT_HUB_STATUS_CHANGE)" and afterwards not enabled. It seems that previously the reset of the ports works not correctly.
      As surgery with an axe it helped to delete the line for the disabling of the interrupts. In connection with disabling the EHCI driver (CORE-7224?) USB mice and keyboard work fine in my test environment.

      Related issues: CORE-6728 ?

      Attachments

        Activity

          People

            j_anderw Johannes Anderwald
            debock debock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: