Collect storage information for chrome://system (with workaround fix for stout)
This script will run at startup and dump result in /var/log
for SSD device display smartctl and hdparm result
for eMMC device display various eMMC attribute e.g. CID, CSD
This script also include a workaround fix for stout machine.
(Run "smartctl -a" instead of "smartctl -x" on stout)
BUG=chromium:315380,chromium:328587
TEST=Tested in link, pit, stout
Reboot, verified that /var/log/storage_info show meaningful
result and SSD does not crash on stout.
Change-Id: I85d9426131ad624930af9cfdd10311383d4b7dab
Reviewed-on: https://chromium-review.googlesource.com/180342
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Puthikorn Voravootivat <puthik@chromium.org>
Tested-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Puthikorn Voravootivat <puthik@chromium.org>
2 files changed