Skip to content

v0.3.0: USB speed, USB Attached SCSI, interrupt fix

Latest

Choose a tag to compare

@NullMagic2 NullMagic2 released this 15 Nov 05:29
· 14 commits to main since this release

USB Controllers (B650M-P) – ReactOS v0.3.0

This release removes the USB throughput limits of v0.2.0, adds USB Attached SCSI (UAS) storage and fixes an interrupt-handler race. The MSI PRO B650M-P (MS-7E27) ran from a USB stick with these exact modules on 2026-11-15.

Downloads

  • B650M-P-USB-ReactOS-Setup-i386.exe – the offline installer. xhci.sys and usbstor.sys are new; usbhub.sys, disk.sys and hidusb.sys are byte-for-byte those of v0.2.0. It accepts a v0.2.0 installation as the previous version.
  • B650M-P-USB-ReactOS-boot-files-i386.zip – the files of the 2026-11-15 board session: freeldr.sys (unchanged since v0.2.0), the boot bridge xhciboot.sys and the five drivers, with hashes, notices and a READ-ME saying where each goes. It updates a USB system that is already prepared for USB boot; it is not a bootable image.
  • The build dependency archives are unchanged and are still fetched from the v0.2.0 release.

What changed since v0.2.0

  • Throughput. Transfer data no longer goes through uncached buffers, buffers are reused instead of allocated per transfer, and the driver no longer falls back to once-per-tick completion checks by mistake. Storage commands may be 1 MiB instead of 64 KiB. In the emulator 64 KiB sequential reads went from 28 to about 267 MB/s.
  • USB Attached SCSI. xhci.sys supports xHCI streams and usbstor.sys uses UAS when a SuperSpeed device offers it and the controller has streams. One command is sent at a time: about 20% faster than bulk-only on sustained 1 MiB reads in the emulator, no difference on small reads. Other devices stay on bulk-only transport.
  • Interrupt handler. An event arriving between the handler's two acknowledgements left the interrupt line asserted and unclaimed, which could flood the system with interrupts. Fixed.
  • xhciboot.sys saves each controller's interrupt counters to the registry (Services\XhciBoot\LastRun) so a session can be examined afterwards.
  • Source only: src/tools/gpu_setup_wizard.cpp, a graphical front end for the installer of a separate Radeon RX 7900 driver package. That package is not part of this release.

Verified

  • Board, 2026-11-15: the saved counters show all five controllers working on interrupts, none polling and none flooded. 1022:43F7, which polled under v0.2.0, handled about 211,000 interrupts in 11.5 minutes.
  • Emulator: read and write checks pass over UAS (eleven boots) and bulk-only (nine boots); a 32 MiB file written in 1 MiB writes read back identical.
  • All 18 files embedded in the installer match their recorded hashes; eight host test suites pass; xhci.sys, xhciboot.sys and usbstor.sys rebuilt from this tag differ from the released files in four timestamp bytes each.

Not verified, and known problems

  • UAS on the board: a UAS-capable SATA enclosure was attached and its disk enumerated, but which transport it used was not recorded. No throughput was measured on the board.
  • In the board session installing a program was slow while running it was fast, and menus sometimes opened slowly. The test stick itself writes only about 70 separate 4 KiB blocks per second under Linux (137 MB/s for reads), which accounts for slow installs.
  • ReactOS hung when asked to restart in that session. Not diagnosed.
  • Installing, resuming, rolling back or removing with this installer build in ReactOS.
  • UAS has no command queueing or task management. A device that offers only UAS also needs a usbstor.inf line for USB\Class_08&SubClass_06&Prot_62.
  • ReactOS sees 1 GiB of RAM; MYSTIC LIGHT is not driven; one board and one USB stick were tested.
  • disk.sys, unchanged since v0.1.0, contains a build-machine path string.

Details: evidence/usb-attached-scsi.txt, evidence/usb-throughput.txt and evidence/release-v0.3.0.json.