https://bugzilla.kernel.org/show_bug.cgi?id=219362 Bug ID: 219362 Summary: USB SATA does not correctly shutdown the SSD upon poweroff causing data loss Product: Drivers Version: 2.5 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P3 Component: USB Assignee: drivers_usb@xxxxxxxxxxxxxxxxxxxxxx Reporter: harviecz@xxxxxxxxx Regression: No I have SATA SSD drive connected via TUSB9261 converter. Eventualy i experience filesystem inconsistency when i repeatedly shutdown the device like this: echo s > /proc/sysrq-trigger; echo u > /proc/sysrq-trigger; echo o > /proc/sysrq-trigger; Same problem does not occur when i do this: echo s > /proc/sysrq-trigger; echo u > /proc/sysrq-trigger; for i in /sys/block/*/device/delete; do echo 1 > "$i"; done; echo o > /proc/sysrq-trigger; This tells me, sysrq power(o)ff does not shutdown the devices in correct order. It shuts down the USB hub before it sends SATA shutdown to the SSD, therefore failing to notify SSD to write its internal caches before PMIC shuts down the power completely. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.