Project

General

Profile

Actions

Bug #14287

closed

ehci: No SOF interrupts have been received, this USB EHCI hostcontroller is unusable

Added by Toomas Soome 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

On my vmware fusion, there are warnings popping:

Dec  4 00:54:49 test usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci15ad,790@11/pci15ad,770@4 (ehci0): No SOF interrupts have been received, this USB EHCI  hostcontroller is unusable

Apparently the issue seems to be about how we enable the controller. I did use the settings from FreeBSD ehci controller start sequence, and the issue seems to be gone.

While there, moved the 64-bit addressing disable bit to if statement, which does check for the presence of the feature.

Testing done: build/install/run, the warning is not appearing. More testing feedback would be welcome.

Before patch:

Dec  7 13:06:55 beastie usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci15d9
,805@1d (ehci1): Unrecoverable USB Hardware Error
Dec  7 13:06:55 beastie usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci15d9
,805@1d (ehci1): No SOF interrupts have been received, this USB EHCI hostcontrol
ler is unusable

After patch:

Dec  7 13:08:16 beastie npe: [ID 236367 kern.info] PCI Express-device: pci15d9,805@1a, ehci0
Dec  7 13:08:16 beastie genunix: [ID 936769 kern.info] ehci0 is /pci@0,0/pci15d9,805@1a
Dec  7 13:08:17 beastie npe: [ID 236367 kern.info] PCI Express-device: pci15d9,805@1d, ehci1
Dec  7 13:08:17 beastie genunix: [ID 936769 kern.info] ehci1 is /pci@0,0/pci15d9,805@1d
Dec  7 13:08:18 beastie usba: [ID 912658 kern.info] USB 2.0 device (usb8087,8008) operating at hi speed (USB 2.x) on USB 2.0 root hub: hub@1, hubd0 at bus address 2
Dec  7 13:08:18 beastie genunix: [ID 936769 kern.info] hubd0 is /pci@0,0/pci15d9,805@1a/hub@1
Dec  7 13:08:18 beastie usba: [ID 912658 kern.info] USB 2.0 device (usb8087,8000) operating at hi speed (USB 2.x) on USB 2.0 root hub: hub@1, hubd1 at bus address 2
Dec  7 13:08:18 beastie genunix: [ID 936769 kern.info] hubd1 is /pci@0,0/pci15d9,805@1d/hub@1
Dec  7 13:08:18 beastie genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,805@1d/hub@1 (hubd1) online

and connected my USB stick:
       0. c2t0d0 <Corsair-Slider3.0-1.00 cyl 7784 alt 2 hd 255 sec 63>
          /pci@0,0/pci15d9,805@14/storage@d/disk@0,0

Actions #1

Updated by Electric Monk 8 months ago

  • Gerrit CR set to 1844
Actions #2

Updated by Toomas Soome 8 months ago

  • Description updated (diff)
Actions #3

Updated by Joshua M. Clulow 7 months ago

A report from a HP machine in the field, which this fix seems to improve: https://smartos.topicbox.com/groups/smartos-discuss/T18998e4f584b862d-M5f30b3fb568ed4bfa9b5d57b

Actions #4

Updated by Electric Monk 7 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit a8f22b53d198f9565c2921ca50c571579c4ea52f

commit  a8f22b53d198f9565c2921ca50c571579c4ea52f
Author: Toomas Soome <tsoome@me.com>
Date:   2022-01-05T16:57:01.000Z

    14287 ehci: No SOF interrupts have been received, this USB EHCI hostcontroller is unusable
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF