Hi!
First of all, I'd like to thank everyone who is actively involved in and further developing this this project - I love it!
Second of all, I am not sure whether this is the correct thread for my problem, since the loader loader itself actually works like a charm. Please feel free to move this post to a more fitting place, if necessary.
As I said, I managed to get a DSM 6.1.4 (15217) - Update 2 for DS3617xs running with the loader 1.02b, however the system does not detect my data drives (anymore, see below).
I am running a HPE Proliant Microserver Gen8 with the system disk (SanDisk 120GB SSD) attached to SATA5 (the ODD port on the mainboard, used in RAID0) and 2x SanDisk 250GB SSDs for caching attached to the on-baord RAID controller (HP Dynamic Smart Array B120i) via miniSAS (SATA1 & 2) - those three disks were successfully detected by DSM. Additionally, I am running 4x WD Red 4TB in the built in 4 bay HDD enclosure which is connected to a Startech PEXSAT34SFF (Marvell 88SE92xx chip, SATA6 - 9) in AHCI mode. The controller detects the drives correctly and I was able to access them via a Linux Live-CD, however DSM does not recognize them.
For installation, I exactly followed this tutorial and tried several approaches:
* Automatic installation of latest (6.1.4) via download in installation process and automatic update to 6.1.4-Update 2
* Initial 6.1.3 (15152) and manual update (via .pat files) to 6.1.3-Update 8
** Additional manual update (via .pat files) to 6.1.4-Update 2
* Initial 6.1.4 (15217) and manual update (via .pat files) to 6.1.4-Update 2
* Initial 6.1.4 (15217) and automatic update to 6.1.4-Update 2
Also I tried with and without having the HDDs initially plugged in during installation and also with the extra RAM disk v. 4.2 for additional drivers.
Interestingly enough: In my very first installation approach I was using the automatic installation of the latest DSM (6.1.4) without having the HDDs plugged in (and with the normal RAM disk). After the installation, I hot-plugged my HDDs and they were successfully detected by DSM. I was able to create a volume and successfully copy data on them, but after a reboot of the system they were not detected anymore. Only then I noticed the problem and started debugging this behavior with all the different approaches.
I attached my dmesg log which I took from an 6.1.4-Update 2 installation but I saw similar logs with all other installation approaches. There seems to be a problem with responses of the SATA devices. I found out that this was an old Linux kernel problem, hence I updated my BIOS and installed the latest firmware for the server, however, this didn't solve the problem.
After spending several hours of searching Google, reading forum posts and bug reports, trying different installations, fiddling with the grub extra arguments and simply (un-)plugging my HDDs I am now at a stage where I cannot think of anything else I could try.
dmesg
[ 2.123032] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.155012] ata12: SATA link down (SStatus 0 SControl 300)
[ 2.157017] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 2.157032] ata13: SATA link down (SStatus 0 SControl 300)
[ 2.157042] ata8: SATA link down (SStatus 0 SControl 300)
[ 2.157055] ata10: SATA link down (SStatus 0 SControl 300)
[ 2.157070] ata14: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 2.158008] ata11: SATA link down (SStatus 0 SControl 300)
[ 2.400884] tsc: Refined TSC clocksource calibration: 2294.786 MHz
[ 2.400886] Switching to clocksource tsc
[ 2.431868] ata2: SATA link down (SStatus 0 SControl 300)
[ 2.738711] ata3: SATA link down (SStatus 0 SControl 300)
[ 3.043555] ata4: SATA link down (SStatus 0 SControl 300)
[ 3.503317] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 3.507243] ata5.00: ATA-9: SanDisk SDSSDA120G, Z33130RL, max UDMA/133
[ 3.507244] ata5.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
[ 3.516821] ata5.00: configured for UDMA/133
[ 3.516825] ata5.00: Find SSD disks. [SanDisk SDSSDA120G]
[ 3.518552] scsi 4:0:0:0: Direct-Access SanDisk SDSSDA120G Z331 PQ: 0 ANSI: 5
[ 3.518769] sd 4:0:0:0: [sde] 234441648 512-byte logical blocks: (120 GB/111 GiB)
[ 3.518810] sd 4:0:0:0: [sde] Write Protect is off
[ 3.518812] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[ 3.518825] sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.519437] sde: sde1 sde2
[ 3.521576] sd 4:0:0:0: [sde] Attached SCSI disk
[ 3.824155] ata6: SATA link down (SStatus 0 SControl 300)
[ 7.154443] ata14.00: qc timeout (cmd 0xa1)
[ 7.154447] ata14.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 7.154455] ata9.00: qc timeout (cmd 0xec)
[ 7.154459] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 7.202412] ata7: link is slow to respond, please be patient (ready=0)
[ 7.459286] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 7.459298] ata14: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 11.892006] ata7: COMRESET failed (errno=-16)
[ 11.892102] ata7: COMRESET fail, set COMRESET fail flag
[ 17.243260] ata7: link is slow to respond, please be patient (ready=0)
[ 17.454151] ata14.00: qc timeout (cmd 0xa1)
[ 17.454155] ata14.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 17.454156] ata14: limiting SATA link speed to 1.5 Gbps
[ 17.454162] ata9.00: qc timeout (cmd 0xec)
[ 17.454165] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 17.454167] ata9: limiting SATA link speed to 3.0 Gbps
[ 17.758999] ata14: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 17.759009] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 320)
[ 21.932852] ata7: COMRESET failed (errno=-16)
[ 21.932948] ata7: COMRESET fail, set COMRESET fail flag
[ 27.284105] ata7: link is slow to respond, please be patient (ready=0)
[ 47.743607] ata14.00: qc timeout (cmd 0xa1)
[ 47.743611] ata14.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 47.743617] ata9.00: qc timeout (cmd 0xec)
[ 47.743620] ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 48.048451] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 320)
[ 48.048462] ata14: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 56.950876] ata7: COMRESET failed (errno=-16)
[ 56.950973] ata7: COMRESET fail, set COMRESET fail flag
[ 56.951087] ata7: limiting SATA link speed to 3.0 Gbps
[ 61.996286] ata7: COMRESET failed (errno=-16)
[ 61.996381] ata7: COMRESET fail, set COMRESET fail flag
[ 61.996497] ata7: reset failed, giving up
[ 61.996585] ata7: get error flags 0x2
[ 61.996668] ata7: do detect tries 1
[ 61.996747] ata7: device plugged sstatus 0x133
[ 61.996752] ata7: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xf t1
[ 61.996896] ata7: irq_stat 0x00000000, PHY RDY changed
[ 61.997012] ata7: hard resetting link
[ 67.765328] ata7: link is slow to respond, please be patient (ready=0)
[ 71.996153] ata7: COMRESET failed (errno=-16)
[ 71.996249] ata7: COMRESET fail, set COMRESET fail flag
[ 71.996363] ata7: hard resetting link
[ 77.765194] ata7: link is slow to respond, please be patient (ready=0)
[ 81.996019] ata7: COMRESET failed (errno=-16)
[ 81.996117] ata7: COMRESET fail, set COMRESET fail flag
[ 81.996234] ata7: hard resetting link
[ 87.765059] ata7: link is slow to respond, please be patient (ready=0)
[ 117.024039] ata7: COMRESET failed (errno=-16)
[ 117.024135] ata7: COMRESET fail, set COMRESET fail flag
[ 117.024249] ata7: limiting SATA link speed to 3.0 Gbps
[ 117.024249] ata7: hard resetting link
[ 122.028470] ata7: COMRESET failed (errno=-16)
[ 122.028565] ata7: COMRESET fail, set COMRESET fail flag
[ 122.028679] ata7: reset failed, giving up
[ 122.028767] ata7: get error flags 0x2
[ 122.028850] ata7: do deep tries 1
[ 122.028926] ata7: not support deep sleep, do one more detect try
[ 122.029060] ata7: device plugged sstatus 0x133
[ 122.029064] ata7: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xf t1
[ 122.029208] ata7: irq_stat 0x00000000, PHY RDY changed
[ 122.029324] ata7: hard resetting link
[ 127.797509] ata7: link is slow to respond, please be patient (ready=0)
[ 132.028336] ata7: COMRESET failed (errno=-16)
[ 132.028431] ata7: COMRESET fail, set COMRESET fail flag
[ 132.028546] ata7: hard resetting link
[ 137.797375] ata7: link is slow to respond, please be patient (ready=0)
[ 142.028204] ata7: COMRESET failed (errno=-16)
[ 142.028299] ata7: COMRESET fail, set COMRESET fail flag
[ 142.028412] ata7: hard resetting link
[ 147.797242] ata7: link is slow to respond, please be patient (ready=0)
[ 177.056223] ata7: COMRESET failed (errno=-16)
[ 177.056318] ata7: COMRESET fail, set COMRESET fail flag
[ 177.056433] ata7: limiting SATA link speed to 3.0 Gbps
[ 177.056434] ata7: hard resetting link
[ 182.060654] ata7: COMRESET failed (errno=-16)
[ 182.060749] ata7: COMRESET fail, set COMRESET fail flag
[ 182.060863] ata7: reset failed, giving up
[ 182.060951] ata7: get error flags 0x2
[ 182.061035] ata7: ==== port retry failed ====
[ 182.061131] ata7: EH complete
[ 182.061180] registered taskstats version 1
[ 182.061524] rtc_cmos 00:06: setting system clock to 2017-12-10 12:43:22 UTC (1512909802)
[ 182.061852] Freeing unused kernel memory: 760k freed
[ 182.061910] Write protecting the kernel read-only data: 8192k
[ 182.061989] Freeing unused kernel memory: 1320k freed
[ 182.062626] Freeing unused kernel memory: 496k freed
Hide
dmesg_15217-u2.log