SSD is not detecting in apalis T30

Hi,
In apalis t30(Linux apalis-t30 3.1.10) SSD is not detecting.
With the same setup, HDD is detecting and able to create and delete files in the HDD but in the same board SSD is not detecting.
So does apalis T30 supports SSD by default? What are the changes needed to support the SSD?

hi
which ssd are you connecting to the board? Are you getting any messages when connecting/disconnecting ssd?
send the log of lsusb, please?

Hi Jaski,

Please find the required details:

ssd details: Samsung SSD 850 pro 1TB
P/N: MZ7KE1T0
Model: MZ-7KE1T0
MSIP: REM-SEC-MZ-7KE1T0
S/N: S252NX0H707707R
Rated: DC+5.0V---1.5A

I think SSD is detected from the kernel but but not getting mounted. Rotational value is “0”, that means SSD is detected from the kernel.

root@apalis-t30:~# cat /sys/block/sda/queue/rotational 0 
root@apalis-t30:~#

And once tried to get the /dev nodes details for the SSD through “fdisk -l” it shows /dev/sda node for the SSD and the size of the SSD. After creating the new partition once tried to mount the new, it was throwing file system type error.

Please find the attched debug logs for the SSD.

root@apalis-t30:~# lsusb
Bus 001 Device 002: ID 8564:1000 Transcend Information, Inc. JetFlash
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@apalis-t30:~# 

root@apalis-t30:~# fdisk -l

Disk /dev/sda: 1024.2 GB, 1024209543168 bytes
255 heads, 63 sectors/track, 124519 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1          45      358400   7 HPFS/NTFS
Partition 1 does not end on cylinder boundary
/dev/sda2              45       10199    81561600   7 HPFS/NTFS
/dev/sda3           10199      124520   918282240   6 FAT16

Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes
4 heads, 32 sectors/track, 119296 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1              65         320       16384   c Win95 FAT32 (LBA)
/dev/mmcblk0p2             321      118880     7587840  83 Linux

Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes
4 heads, 16 sectors/track, 128 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk0boot1 doesn't contain a valid partition table

Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes
4 heads, 16 sectors/track, 128 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk0boot0 doesn't contain a valid partition table

Disk /dev/sdb: 7822 MB, 7822376960 bytes
5 heads, 13 sectors/track, 235047 cylinders
Units = cylinders of 65 * 512 = 33280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               2      235048     7638976   c Win95 FAT32 (LBA)
root@apalis-t30:~# 
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 |


root@apalis-t30:~# cat /sys/block/sda/queue/rotational 
0
root@apalis-t30:~#

hi deepak,
the SDD is detected and mounted by the module. Could you send the output of mount?

Hi Jaski,

Thank you for confirming this.

Now i don’t have logs for the “mount” command(Because SSD is at the client place). But i tried to use “mount” command and mount command didn’t shows the mount point for the SSD. I also tried to format the SSD through fdisk command and created new partition. When trying to mount that partition i was getting error file system type error. So do i need to create any specific file system?

Hi Jaski,

I have got the “mount” command logs for the. But still is SSD not mounted.

Which file format Apalis T30 supports?

From the fdisk command it looks like new partitions for the SSD are NTFS. So does NTFS file format supports?

logs:

root@apalis-t30:~# mount

/dev/mmcblk0p2 on / type ext3 (rw,noatime,errors=continue,user_xattr,acl,barrier=1,data=writeback)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup 
(rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)

fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /var/volatile type tmpfs (rw,relatime)
/dev/mmcblk0p1 on /media/mmcblk0p1 type vfat (rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shor)

tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=203992k,mode=700)

root@apalis-t30:~# df -Th
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            ext3            7.1G    437.5M      6.7G   6% /
devtmpfs             devtmpfs      996.0M         0    996.0M   0% /dev
tmpfs                tmpfs         996.0M         0    996.0M   0% /dev/shm
tmpfs                tmpfs         996.0M    404.0K    995.7M   0% /run
tmpfs                tmpfs         996.0M         0    996.0M   0% /sys/fs/cgroup
tmpfs                tmpfs         996.0M      4.0K    996.0M   0% /tmp
tmpfs                tmpfs         996.0M         0    996.0M   0% /var/volatile
/dev/mmcblk0p1       vfat           16.0M      4.0M     11.9M  25% /media/mmcblk0p1
tmpfs                tmpfs         199.2M         0    199.2M   0% /run/user/0
root@apalis-t30:~#

NTFS should not be used for Linux. Use exfat4 or some other useful FileSystem.

Hi Jaski,

Today i got SSD, after creating the ext3 partition SSD is detecting in T30.
But i am not getting anything related to SSD while using “lsusb”. So does “lsusb” command lists the SSD details?

logs:

root@apalis-t30:~# mount
/dev/mmcblk0p2 on / type ext3 (rw,noatime,errors=continue,user_xattr,acl,barrier=1,data=writeback)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
tmpfs on /tmp type tmpfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /var/volatile type tmpfs (rw,relatime)
/dev/sda1 on /media type ext3 (rw,relatime,sync,errors=continue,user_xattr,acl,barrier=1,data=writeback)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=203992k,mode=700)
/dev/mmcblk0p1 on /run/media/root/boot type vfat (rw,nosuid,nodev,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,)

root@apalis-t30:~# 
root@apalis-t30:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@apalis-t30:~#

If you connect a SSD using USB, it should definitely appear in lsusb

Are you using USB based SSD drives?

If yes, can you try to connect when the system is fully booted and see whether there are any kernel messages printed when plugging-in?

Hi Stefan,

I am connecting SSD through SATA cable, thats why lsusb is not showing SSD details. but i can see the mount point for the SSD.

With “I can see the mount point” you mean the kernel creates the device file(s) under /dev (e.g. sdaX)?

Which version are you using? Our 2.8b1 had a regression that automount does not work anymore, see issue #34155.

You can manually fix by removing MountFlags=slave in /lib/systemd/system/systemd-udevd.service.

Hi Stefan,

SSD was not auto mounted.

kernel version : Linux apalis-t30 3.1.10

After connecting the SSD through SATA cable, i have formated the SSD through “fdisk /dev/sda” and created a node sda1 and then formated sda1 node through mkfs.ext3. After creating ext3 partition for sda1 i have manually mounted /dev/sda1 to /mnt. Then after reboot i was able to see mount point for the sda1 and able to read and write.

Yes that make sense, there need to be a valid partition table/partition and file system on the drive for auto mount to work.

Thanks for letting us know.