fix(libkernel): skip storage temperature queries on RAID buses #16061
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16061"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Ducengarth on 2026-11-05T13:57:00Z.
What
On Windows,
ReadStorageTemperaturenow reads each drive's bus type first and skips the temperature query on a RAID bus or when the bus type cannot be read.IOCTL_STORAGE_QUERY_PROPERTYwithStorageDeviceTemperaturePropertynever returned for a Samsung 970 PRO 1TB (firmware 1B2QEXP7) behind Intel RST Premium 17.5.0.1017 on a Z390 board, and Windows stopped responding until a hard reset.guest_thermal_sensorsfroze the machine on all 3 runs, and a standalone probe sending only that query reproduced it. SATA and USB drives on the same machine returned an error at once. Whether the driver or the firmware is at fault is unknown.Drives behind RST now report no temperature, which is recorded in the debt file.
Tested
Windows 11 26H2 build 26300, WinLibs GCC 15.2.0, on
mainatd23df92b38, rebuilding only theguest_thermal_sensors_teststarget.guest_thermal_sensorspasses 4 of 4 runs with this change.public_headers,conventions_pr_templateandcheck_conventions.pypass.test_registrationfails here on the symlink privilege (WinError 1314), with or without this change. The Linux build was not run locally, and neither was the full test suite on this base.pr_overlap.pyreports overlaps only indocs/dev/debt/libkernel.md.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code