Skip to content

USB3 xHCI detection false-negative when driver is xhci-pci-renesas #2333

@k-s-0

Description

@k-s-0

Bug Description

The usb3/storage-server test fails if any driver other than the xhci_hcd is detected, such as when the driver is reported as xhci-pci-renesas.

I observed this when certifying a Nvidia GB200 NVL72 node: see the failed test here.

Here are some links to relevant lines in the codebase, not necessarily exhaustive: 1, 2, 3, 4, 5

Cert-blocker Test Case

  • cert-blocker

To Reproduce

  1. Provision a device with which uses a driver other than xhci_hcd, contains USB 3.0 port(s), and has USB(s) inserted.
  2. Launch any Checkbox job which includes the usb3/storage-server test (or another USB test which hits the code paths linked).
  3. Verify the test failed and contains the note Disk does not use xhci_hcd..

Expected Result

Job passes.

Actual Result

Job fails with note: Disk does not use xhci_hcd..

Environment

Ubuntu 24.04
checkbox deb, 7.0.0~dev147~ubuntu24.04.1
Nvidia GB200 NVL72, during USB3 tests

Relevant log output

ubuntu@canonical-gb200-single:~$ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-pci-renesas/4p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/7p, 480M
        |__ Port 001: Dev 003, If 0, Class=Communications, Driver=cdc_ether, 480M
        |__ Port 001: Dev 003, If 1, Class=CDC Data, Driver=cdc_ether, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-pci-renesas/4p, 5000M
    |__ Port 002: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M


usb/storage-server:
--------------------
Removable devices currently mounted:
None
Removable devices currently not mounted:
/dev/sda1
--------------------
Found the following mounted usb partitions:
    /dev/sda1 : /tmp/tmpv6saahu3 : 5000000000 bits/s
--------------------
/dev/sda1 (Total Data Size / iteration: 255.9662 MB):
	[Iteration 0] Average Speed: 34.0147
	Summary:
		Total Data Attempted: 255.9662 MB
		Total Time to write: 7.5252 secs
		Average Write Time: 7.5252 secs
		Average Write Speed: 34.0147 MB/s
		--------------------------------
		Device Detected: SuperSpeed USB
		Disk does not use xhci_hcd.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions