Subject: Issue Report: USB4 40Gbps Ports Limited to 20Gbps & Storage Detection Failure in Freshly Installed ZimaOS 1.6.1
System Specifications:
- OS Version: ZimaOS 1.6.1 (Official Release, freshly installed)
- Hardware: Minisforum N5 NAS / N5 Air
- CPU/APU: AMD Ryzen™ 7 255 (8 cores/16 threads, Radeon 780M)
- Memory: 64GB DDR5 SO-DIMM (5600MT/s)
- Storage Configuration: 5x 3.5/2.5" HDD bays, 3x Internal M.2 NVMe SSD slots (PCIe 4.0), 1x PCIe x16 slot (wired at PCIe 4.0 x4), OCuLink port.
- Tested External Device: OWC Express 1M2 Enclosure (loaded with Kioxia 7.68TB Enterprise SSD).
- Description of the Issue
The Minisforum N5 NAS is equipped with two full-spec USB4 Type-C ports capable of up to 40Gbps transfers. However, on a freshly installed ZimaOS 1.6.1, the operating system limits these ports to 20Gbps in the system’s sysfs tree (rx_speed and tx_speed report 20.0 Gb/s each), even after trying different ports (Domain0/Domain1).
When connecting the OWC Express 1M2 enclosure, the device fails to establish a PCIe Tunnel, forcing it into a traditional USB transfer mode. Most importantly, ZimaOS Dashboard completely fails to detect or display the OWC external storage device in the Web UI.
- Technical Symptoms & In-depth Problems
Problem A: USB4 40Gbps Bandwidth Capped at 20Gbps
- Symptoms:
cat /sys/bus/thunderbolt/devices/0-2/rx_speedandtx_speedreport 20.0 Gb/s. - Performance Drop: Real-world file transfers (via
dd) are capped at a maximum throughput of ~1.1 GB/s, whereas a proper PCIe Tunneling connection should yield between 2.8 GB/s and 3.2 GB/s.
Problem B: ZimaOS Dashboard Fails to Detect the OWC Enclosure
- Symptoms: Although the underlying Linux kernel identifies the external Kioxia drive (
nvme2n1), the ZimaOS Dashboard UI does not list the external drive at all. This prevents users from mounting, formatting, or monitoring the OWC Express 1M2 through the web interface.
Problem C: Device Authorization & Power Management Conflict
- Symptoms: The system requires continuous manual intervention via CLI. When entering low-power states, the device becomes unresponsive and yields an
Invalid argumenterror upon reset, requiring a physical plug-and-unplug cycle.
- Proposed Fix / Request to Zima Team
- AMD Platform USB4/Thunderbolt Drivers: Ensure the OS correctly initializes full 40Gbps negotiation and PCIe Tunneling on AMD-based Minisforum N5 devices.
- External Storage Detection: Fix the bug where external NVMe enclosures are not detected in the ZimaOS UI.
- Hotplug and Power Management Stability: Prevent device authorization drops during NAS sleep or idle periods.