`smartctl` does not work correctly for USB-HDD on Phicomm N1This seems to relate to a kernel change in 3.15.
To workaround it I have to prevent UAS driver from binding to my HDD drive by setting usb-storage.quirks
.
Unfortunately, solution in that post is only applicable to systems on which usb-storage
is built as a separate module. For my system, usb-storage
is linked statically into the kernel and I have to specify the argument as a boot argument.
I applied the changes to /boot/boot.ini
, and the issue was gone.
1234 image=/boot/vmlinuz-5.1.21initrd=/boot/uInitrddtb=/boot/meson-gxl-s905d-phicomm-n1.dtbbootargs=root=/dev/mmcblk1p1 (...other args...) usb-storage.quirks=0123:4567:u
This seems to relate to a kernel change in 3.15.
To workaround it I have to prevent UAS driver from binding to my HDD drive by setting usb-storage.quirks
.
Unfortunately, solution in that post is only applicable to systems on which usb-storage
is built as a separate module. For my system, usb-storage
is linked statically into the kernel and I have to specify the argument as a boot argument.
I applied the changes to /boot/boot.ini
, and the issue was gone.
1 2 3 4 | image=/boot/vmlinuz-5.1.21 initrd=/boot/uInitrd dtb=/boot/meson-gxl-s905d-phicomm-n1.dtb bootargs=root=/dev/mmcblk1p1 (...other args...) usb-storage.quirks=0123:4567:u |