Msata disk problem - not visible


#1

I installed msata SSD disk. It has been workingfor many weeks, but suddenly (maybe after upgrade - but i think this is not reason - i reverted back by schnapps) disappear.
Fdisk can see only:

root@turris:~# fdisk -l
Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock1: 7 MiB, 7340032 bytes, 14336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcd2413d6

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 Linux

Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@turris:~#

I dont have adapter for msata->sata any tips before i try to replace it??
THX


#2

Hello

Check if kernel module has been loaded.
It should leave message like this in dmesg / kernel log / syslog

[    7.356648] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    7.365752] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs.
[    7.375307] scsi host0: ahci-mvebu
[    7.378881] scsi host1: ahci-mvebu
[    7.382409] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44
[    7.390345] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44
[    7.740604] ata2: SATA link down (SStatus 0 SControl 300)
[    7.940594] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    7.952000] ata1.00: ATA-8: SanDisk pSSD-S2 16GB, SSD 6.00, max UDMA/133
[    7.958716] ata1.00: 31277232 sectors, multi 1: LBA48.
[    7.971679] ata1.00: configured for UDMA/133
[    7.976130] scsi 0:0:0:0: Direct-Access     ATA      SanDisk pSSD-S2  6.00 PQ: 0 ANSI: 5
[    7.984640] sd 0:0:0:0: [sda] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.992324] sd 0:0:0:0: [sda] Write Protect is off
[    7.997127] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.997162] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.009066]  sda: sda1
[    8.011788] sd 0:0:0:0: [sda] Attached SCSI removable disk

Look especially if You have those lines “SATA link” (if the driver is loaded and what is connected).


#3

I dont understand it but here it is :slight_smile:

7-03-18T23:43:56+01:00 notice syslog-ng[2105]: syslog-ng starting up; version='3.0.9’
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.916557] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.925651] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.935091] scsi host0: ahci-mvebu
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.938660] scsi host1: ahci-mvebu
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.942190] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44
2017-03-18T23:43:56+01:00 info kernel[]: [ 7.950126] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44
2017-03-18T23:43:56+01:00 info kernel[]: [ 8.300618] ata2: SATA link down (SStatus 0 SControl 300)
2017-03-18T23:43:56+01:00 err kernel[]: [ 17.980614] ata1: softreset failed (device not ready)
2017-03-18T23:43:56+01:00 err kernel[]: [ 28.010611] ata1: softreset failed (device not ready)
2017-03-18T23:43:56+01:00 warning kernel[]: [ 38.640611] ata1: link is slow to respond, please be patient (ready=0)
2017-03-18T23:43:56+01:00 info dnsmasq[2069]: started, version 2.73 DNS disabled
2017-03-18T23:43:57+01:00 warning dnsmasq[2069]: overflow: 5 log entries lost
2017-03-18T23:44:01+01:00 err kernel[]: [ 63.060610] ata1: softreset failed (device not ready)
2017-03-18T23:44:01+01:00 warning kernel[]: [ 63.065674] ata1: limiting SATA link speed to 3.0 Gbps
2017-03-18T23:44:01+01:00 err kernel[]: [ 68.280611] ata1: softreset failed (device not ready)
2017-03-18T23:44:01+01:00 err kernel[]: [ 68.285674] ata1: reset failed, giving up


#4

Then check if you have NAS checked in Foris/Updater.


#5

NAS is CHECKED … maybe disc is KO…


#6

Attached logs says that controller is enabled and has connection to msata, but msata does not work as expected…


#7

My msata disk also disappeared. Several reboots did not help. I disconnected power from Omnia for a while and then the disk returned to live.


closed #8