So I’ve simply tried to connect a SSD (Samsung EVO 850) and I’m getting no information or detection from the Jetson.
I’ve been checking out cat /proc/mounts, df -aTH lsblk to aid my poor human eyes, and even apt-got gparted. None of these options have shown an sda device. All I am seeing is the mmcblk0p’s of what I can only assume is the on board flash storage.
Has anyone figured out how to mount an external drive on the TX1 or is that a kernel module/driver that is only coming later?
You won’t see anything on mounts or df until the SSD has a partition mounted. What is the output of “lsblk”? This lists block devices…you are correct that the mmcblk0pX entries are internal eMMC.
Interesting…only eMMC shows. Was the SSD connected when you ran that lsblk? Also, have you tried a non-SSD hard drive on that (just to debug the cable)?
Yep SSD is connected and was connected during lsblk. Tried reseting the connection to no avail. Just tried plugging in another SSD and then another HDD and neither show up in lsblk.
Interesting, just did a fresh reboot with HDD plugged in, and now it’s showing up in lsblk. Alright, sorry for the false alarm and thanks for the assistance!
The simple answer here is that the TX1’s SATA port is not hot-swappable. I believe the manual says this, although it may not have been very clear about it.
It also does not reliably detect the SATA when only doing a reboot from the command line. I found that it needed a power cycle with the power switch to detect the drive reliably.
Hello, Tonie:
SATA is enabled by default in kernel configuration. Just attach the SATA HDD with Jetson TX1 board and device node will appear.
if that fails, please check the kernel log and see whether there’s any error.
Sometimes the mounted ssd just disappears for no reason (multiple ssd devices were tested, model TX1 R28) and rebooting from command line does not help, but usually manual power-on/off solves the problem…
could not find solution yet, kernel log file can be found here:
The logs don’t show anything related to the SATA port going away, though I did see evidence of where something went wrong from the prior boot not shutting down correctly:
Apr 03 02:09:10 tegra-ubuntu kernel: EXT4-fs (mmcblk0p1): warning: mounting fs with errors, running e2fsck is recommended
Where is the partition mounted? Is there any sort of load which triggers this? Would you be able to run “dmesg --follow” prior to doing something which would trigger the failure, and then save a log of what shows up as the error occurs? Note that serial console would be ideal for this since it’ll remain visible and logged even when the Jetson is powered down or failing…ssh might work as long as the error doesn’t kill networking (the host PC would have a copy of dmesg text).
You might also give more information on the specific device, and run “sudo gdisk -l” on that device to show how it is partitioned. Also list where it is mounted.