Fedora Account System
Red Hat Associate
Red Hat Customer
Please consider backporting the fix once upstream merges a solution, or carrying PR #660 as a downstream patch in the meantime, since smartd running at boot causes affected drives to reset and disappear for ~60 s on every startup. Description of problem: On Framework 250GB / 1TB USB Expansion Cards the drivedb.h entries select "-d sntasmedia". With this device type, reading the NVMe Error Information log (Get Log Page, LID 0x01, 64 bytes) causes the next command sent to the device to hang until the SCSI timeout (~60 s) fires, after which the uas driver aborts the command and resets the USB device. Because smartd queries the device at startup, this results in the drive dropping off the bus and reappearing ~60 seconds later. When the card is used as the boot or auto-mounted data drive, this shows up as delayed device recognition after boot. Root cause (per upstream analysis): The ASMedia pass-through CDB has no transfer length field, so the device decides how much data it returns. The firmware on these cards ignores the NUMD field and always returns 512 bytes for Get Log Page. When smartctl requests a 64-byte Error Information log, the 512-byte response overflows the buffer (uas reports "data cmplt err -75"). The command itself appears to succeed, but the device is left in a bad state and the next command of any kind hangs until timeout and USB reset. Version-Release number of selected component (if applicable): smartmontools 7.5 How reproducible: Always, on affected cards. Steps to Reproduce: 1. Connect a Framework 250GB or 1TB Expansion Card 2. Make sure the drive is not mounted. 3. Run: sudo smartctl -l error,1 -d sntasmedia /dev/sdX (or: sudo smartctl -a -d sntasmedia /dev/sdX) 4. Observe dmesg. Expected results: smartctl/smartd complete promptly, no SCSI timeout, no USB reset, and the drive stays available. Additional Info: Bug report on smartmontools github: https://github.com/smartmontools/smartmontools/issues/491 PR from Daniel of Framework for a solution: https://github.com/smartmontools/smartmontools/pull/660
Unfortunately, the patch can be made to apply on 7.5, but then it doesn't compile. :( https://copr.fedorainfracloud.org/coprs/ngompa/smartmontools-fwcard-fix/build/11090326/ This needs either a new patch for 7.5 or we need to roll up to a git snapshot to apply the patch.
I've got a fix proposed thanks to some discussion and help from Framework: https://src.fedoraproject.org/rpms/smartmontools/pull-request/10
I'm waiting to hear back on whether the fix is valid, I've done a test build in COPR: https://copr.fedorainfracloud.org/coprs/ngompa/smartmontools-fwcard-fix/build/11091458/
Verified from Framework that this particular issue is resolved with this fix.
FEDORA-2026-138ede08cc (smartmontools-7.5-11.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-138ede08cc
I have to err on the upstream side, if the PR is not enough quality/tested (YET) its not good enough for downstream either. Especially after seeing the last PR comment. wrt to the issue itself, it mentions using https://github.com/smartmontools/smartmontools/commit/c238654075fbb7460a44138c4688ecb0ccd42a88 commit as a workaround fix. I've added that one. Please test it and report if it is a sufficient fix. I will add PR later once it is completed.
FEDORA-2026-138ede08cc (smartmontools-7.5-11.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-b39460e276 (smartmontools-7.5-11.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-b39460e276
FEDORA-2026-2ac596c932 (smartmontools-7.5-11.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-2ac596c932
FEDORA-2026-45f636fe3c (smartmontools-7.5-11.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-45f636fe3c
FEDORA-2026-b39460e276 has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b39460e276` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b39460e276 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-2ac596c932 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-2ac596c932` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-2ac596c932 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-45f636fe3c has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-45f636fe3c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-45f636fe3c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-45f636fe3c (smartmontools-7.5-11.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-2ac596c932 (smartmontools-7.5-11.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-b39460e276 (smartmontools-7.5-11.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.