wimpers Posted August 22, 2022 Share #1 Posted August 22, 2022 (edited) I've succeded in installing DSM 5.2 with the XPEnoboot_DS3615xs_5.2-5644.5.img back in the days and now I feel like upgrading to the latest DSM with said RedPill boot image but it's not working. People suggested using this tutorial or basically just the steps below after booting with TCRP then it fails to see 4 disks attached to a SATA card that I added to my setup when DSM 5.2 was installed without any problems if I recall it right. ./rploader.sh update now ./rploader.sh fullupgrade now ./rploader.sh serialgen DS3622xs+ ./rploader.sh serialgen DS3622xs+ realmac ./rploader.sh satamap ./rploader.sh identifyusb now ./rploader.sh backup ./rploader.sh build broadwellnk-7.1.0-42661 ./rploader.sh backuploader exitcheck.sh reboot The satamap part gives me problems, but it detects and maps the right number of disks in TCRP, 5 on my internal SATA controller and 4 on my HBA: tc@box:~$ ./rploader.sh satamap Found SCSI HBAs, We need to install the SCSI modules scsi-5.10.3-tinycore64 is already installed! Succesfully installed SCSI modules Found "00:1f.2 Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)" Detected 6 ports/5 drives. Bad ports: 6. Override # of ports or ENTER to accept <6> Found SCSI/HBA "01:01.0 Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)" (4 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid bus number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) lspci: -s: Invalid slot number Found SCSI/HBA "" (0 drives) Computed settings: SataPortMap=6 DiskIdxMap=00 WARNING: Bad ports are mapped. The DSM installation will fail! Should i update the user_config.json with these values ? [Yy/Nn] y Done. I've searched here and there but didn't find anything so I contacted the RedPill developers and they said I need the sata_sil and libata modules because there is no extension for that but how do I do that and what does this mean? I guess they are kernel modules to support the hardware because the HBA is not recognised/working after installing the DSM pat-file but if someone could give me a few pointers'd be happy. My hardware is and old HP Compaq Elite 8300 chassis, I've reverted back to 5.2: And these are the disks: Thanks! Edited August 22, 2022 by wimpers Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted August 23, 2022 Share #2 Posted August 23, 2022 (edited) Is SiI 3114 the model name for the HBA? HBA EXT would have been automatically added by the rploader build action. Please attach the result of the command below again to see which ext is added. ls -l *load/c*/e* It seems to be necessary to determine whether the automatically added HBA EXT exists or is missing. Edited August 23, 2022 by Peter Suh Quote Link to comment Share on other sites More sharing options...
wimpers Posted August 24, 2022 Author Share #3 Posted August 24, 2022 Yes, it is a Silcon Image 3114, working fine in DSM 5.2: [tc@box ~]$ lspci -v -s 01:01 01:01.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02) Subsystem: Silicon Image, Inc. Device 7114 ... Kernel driver in use: sata_sil [tc@box ~]$ ls -l *load/c*/e* total 4 -rw-r--r-- 1 tc staff 920 Aug 24 06:14 REALLY_README.txt drwxr-sr-x 3 tc staff 80 Aug 24 06:14 pocopico.e1000e/ drwxr-sr-x 3 root staff 80 Aug 24 06:14 redpill-boot-wait/ drwxr-sr-x 3 tc staff 80 Aug 24 06:14 redpill-misc/ It seems the NIC module is there, the internal controller uses ahci so I don't think it's there. Quote Link to comment Share on other sites More sharing options...
sbv3000 Posted August 25, 2022 Share #4 Posted August 25, 2022 sata_sil isnt in the rp-ext library, but you could request it be added. https://github.com/pocopico/rp-ext the 3114 is quite old sata 1/2 speed and it might be easier to buy a 4 port standard ahci adapter eg https://www.amazon.nl/Syba-SI-PEX40064-PCI-EXPRESS-Controller-aansluiting/dp/B00AZ9T3OU/ref=sr_1_4?crid=VFK7BNQGYTUD&keywords=marvell%2B88se9215&qid=1661420342&sprefix=marvell%2Caps%2C77&sr=8-4&th=1 Quote Link to comment Share on other sites More sharing options...
wimpers Posted August 26, 2022 Author Share #5 Posted August 26, 2022 Adding it would be nice, thanks! But I think a brand new card for this system would not be necessary because I think my network (GB ethernet) or yet my source PC (all disks are connected directly tot the SATA controller without striping or RAID) is the bottleneck and I'm happy with 100MB/s most of the time for large files. Quote Link to comment Share on other sites More sharing options...
wimpers Posted August 31, 2022 Author Share #6 Posted August 31, 2022 So I I have to make the request myself, got it... Quote Link to comment Share on other sites More sharing options...
rojoone2 Posted August 31, 2022 Share #7 Posted August 31, 2022 Yes. Quote Link to comment Share on other sites More sharing options...
wimpers Posted September 5, 2022 Author Share #8 Posted September 5, 2022 Well I tried it and it's no good, I made a fork of rp-ex, as there are quite a few, t and added my sata_sil subdir with some scripts and files. mimicking the existing ones and it seems to install OK during the build. ./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/sonicwim/rp-ext/master/sata_sil/rpext-index.json But afterwards I can install the DSM pat file but after rebooting I'm kinda in a loop where I can install the DSM and reboot over and over. I'm also not able to see any error output because the loader only outputs to TTY and I have no serial console on my current PC. I got the driver file from a live MX Linux with the same major kernel version as TPRP , 5.10. One odd thing was that the checksum I computed for the compressed driver file was OK but the one for the check script (src/check-sata_sil.sh) was wrong and the only way to get it right was using the checksum the build script spat out. Yet that one's wrong but was keeping me from completing the build. Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted February 18, 2023 Share #9 Posted February 18, 2023 You have done a very useful job. Respect! It would be nice if you continued it. Many of my friends have non-PCIe motherboards with only PCI ports and two SATA ports. I would like to help them. It seems that you are very close to victory! 1 Quote Link to comment Share on other sites More sharing options...
wimpers Posted March 3, 2023 Author Share #10 Posted March 3, 2023 Well I'm no expert but I now/knew some programming so adjusting or extending existing scripts is something I can but I have little knowledge about internal kernel operation, modules, versioning and the likes. But I don't know where one should get more or extra modules (for a specific kernel) and integrate them with this kernel. Testing them is also a PITA and would only work for the hardware I got, but if the author would set up a howto about this I'd be able to do this. Now Im also still on the previous version but kinda stuck. Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted March 25, 2023 Share #11 Posted March 25, 2023 Inspired by your experience, installed dsm 5.2 using XPEnoboot_DS3615xs_5.2-5644.5.img. SATA Raid controller (Silicon Image Sil3114) - installs perfectly on XPEnoboot_DS3615xs_5.2-5644.5.img and works great. Maybe now, having already gained enough experience and knowledge, you can add the sata_sil module for the Silicon Image 3114 SATA card to rp-ext? Many of my friends use non-PCIe motherboards even though they do have PCI. For example GA-J3455N-D3H and the like. Despite the fact that this RAID controller does not support high speed, it is quite enough for home use. Thanks in advance, I hope you will respond to my request and the request of my friends. If I understand correctly, the Linux driver for this RAID controller is available ? Best wishes !!! Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #12 Posted March 26, 2023 (edited) https://github.com/SonicWim/rp-ext/blob/main/sata_sil/releases/sata_sil-2.4-broadwellnk.tgz I extracted the sata_sil module mentioned above and tested it in DS3622xs+ as shown below. As you can see in the log, sata_sil.ko is showing "invalid module format". It seems that the recompilation was not done according to the kernel 4.4.180 version used by Redpill 7.1 or lower. The process that shows this log is Junior, the installation stage of DSM. At this stage, modules are injected first. I still don't know exactly how to compile modules for Synology. ARPL fabio or TCRP pocopico two people are possible. Both of them know that they are too busy with their current jobs to find time for them these days. I've seen users requesting this driver in the issue section in the past. https://github.com/pocopico/rp-ext/issues/150 I'm not sure if the reason pocopico didn't respond was because it was impossible or because he didn't see it. Please make a request to fabio as well. SynologyNAS> cd /lib/modules SynologyNAS> ll drwxr-sr-x 2 root root 0 Mar 26 00:36 . drwxrwxrwx 5 root root 0 Mar 26 00:36 .. -rw-r--r-- 1 1001 123 35784 Mar 2 15:41 8139cp.ko -rw-r--r-- 1 1001 123 18851 Mar 2 15:41 acpi-cpufreq.ko -rw-r--r-- 1 root root 63755 Sep 3 2022 adt7475.ko -rw-r--r-- 1 1001 123 44400 Mar 2 15:41 alx.ko -rw-r--r-- 1 1001 123 26136 Mar 2 15:41 aqc111.ko -rw-r--r-- 1 1001 123 37840 Mar 2 15:41 atkbd.ko -rw-r--r-- 1 1001 123 52872 Mar 2 15:41 atl1c.ko -rw-r--r-- 1 1001 123 48648 Mar 2 15:41 atl1e.ko -rw-r--r-- 1 1001 123 349456 Mar 2 15:41 atlantic.ko -rw-r--r-- 1 1001 123 319483 Mar 2 15:41 atlantic_v2.ko -rw-r--r-- 1 1001 123 10320 Mar 2 15:41 auxiliary.ko -rw-r--r-- 1 1001 123 48168 Mar 2 15:41 b44.ko -rw-r--r-- 1 1001 123 176027 Mar 2 15:41 be2net.ko -rw-r--r-- 1 1001 123 8136 Mar 2 15:41 bitblit.ko -rw-r--r-- 1 1001 123 101904 Mar 2 15:41 bnx2.ko -rw-r--r-- 1 1001 123 1860539 Mar 2 15:41 bnx2x.ko -rw-r--r-- 1 1001 123 212208 Mar 2 15:41 bnxt_en.ko -rw-r--r-- 1 1001 123 13904 Mar 2 15:41 button.ko -rw-r--r-- 1 root root 43475 Sep 3 2022 cdc-acm.ko -rw-r--r-- 1 1001 123 32592 Mar 2 15:41 cdc_ncm.ko -rw-r--r-- 1 1001 123 42208 Mar 2 15:41 cdrom.ko -rw-r--r-- 1 1001 123 5384 Mar 2 15:41 cfbcopyarea.ko -rw-r--r-- 1 1001 123 6360 Mar 2 15:41 cfbfillrect.ko -rw-r--r-- 1 1001 123 4792 Mar 2 15:41 cfbimgblt.ko -rw-r--r-- 1 1001 123 16392 Mar 2 15:41 cpufreq_conservative.ko -rw-r--r-- 1 1001 123 20576 Mar 2 15:41 cpufreq_ondemand.ko -rw-r--r-- 1 1001 123 4467 Mar 2 15:41 cpufreq_performance.ko -rw-r--r-- 1 1001 123 4475 Mar 2 15:41 crc-ccitt.ko -rw-r--r-- 1 1001 123 4475 Mar 2 15:41 crc-itu-t.ko -rw-r--r-- 1 1001 123 87120 Mar 2 15:41 cxgb.ko -rw-r--r-- 1 1001 123 197008 Mar 2 15:41 cxgb3.ko -rw-r--r-- 1 1001 123 350120 Mar 2 15:41 cxgb4.ko -rw-r--r-- 1 1001 123 96968 Mar 2 15:41 cxgb4vf.ko -rw-r--r-- 1 root root 14763 Sep 3 2022 dca.ko -rw-r--r-- 1 1001 123 138792 Mar 2 15:41 dvb-core.ko -rw-r--r-- 1 1001 123 221208 Mar 2 15:41 dvb-usb-dib0700.ko -rw-r--r-- 1 1001 123 22456 Mar 2 15:41 dvb-usb-dvbsky.ko -rw-r--r-- 1 1001 123 42560 Mar 2 15:41 dvb-usb.ko -rw-r--r-- 1 1001 123 27176 Mar 2 15:41 dvb_usb_v2.ko -rw-r--r-- 1 1001 123 153896 Mar 2 15:41 e1000.ko -rw-r--r-- 1 1001 123 272928 Mar 2 15:41 e1000e.ko -rw-r--r-- 1 1001 123 13840 Mar 2 15:41 efifb.ko -rw-r--r-- 1 1001 123 59563 Mar 2 15:41 ehci-hcd.ko -rw-r--r-- 1 1001 123 11003 Mar 2 15:41 ehci-pci.ko -rw-r--r-- 1 1001 123 123043 Mar 2 15:41 etxhci-hcd.ko -rw-r--r-- 1 root root 93899 Sep 3 2022 fat.ko -rw-r--r-- 1 1001 123 58288 Mar 2 15:41 fb.ko -rw-r--r-- 1 1001 123 3992 Mar 2 15:41 fb_sys_fops.ko -rw-r--r-- 1 1001 123 53280 Mar 2 15:41 fbcon.ko -rw-r--r-- 1 1001 123 3064 Mar 2 15:41 fbdev.ko -rw-r--r-- 1 1001 123 10968 Mar 2 15:41 font.ko -rw-r--r-- 1 root root 7347 Sep 3 2022 grace.ko -rw-r--r-- 1 1001 123 4851 Mar 2 15:41 hid-generic.ko -rw-r--r-- 1 root root 145915 Sep 3 2022 hid.ko -rw-r--r-- 1 1001 123 13291 Mar 2 15:41 i2c-algo-bit.ko -rw-r--r-- 1 1001 123 507299 Mar 2 15:41 i40e.ko -rw-r--r-- 1 1001 123 95688 Mar 2 15:41 i8042.ko -rw-r--r-- 1 1001 123 187704 Mar 2 15:41 iavf.ko -rw-r--r-- 1 1001 123 997336 Mar 2 15:41 ice.ko -rw-r--r-- 1 1001 123 268843 Mar 2 15:41 igb.ko -rw-r--r-- 1 1001 123 51080 Mar 2 15:41 igbvf.ko -rw-r--r-- 1 1001 123 123328 Mar 2 15:41 igc.ko -rw-r--r-- 1 1001 123 10504 Mar 2 15:41 intel_auxiliary.ko -rw-r--r-- 1 root root 5283 Sep 3 2022 ip6_udp_tunnel.ko -rw-r--r-- 1 1001 123 68128 Mar 2 15:41 it87.ko -rw-r--r-- 1 1001 123 63408 Mar 2 15:41 ixgb.ko -rw-r--r-- 1 1001 123 414115 Mar 2 15:41 ixgbe.ko -rw-r--r-- 1 1001 123 96240 Mar 2 15:41 ixgbevf.ko -rw-r--r-- 1 1001 123 11176 Mar 2 15:41 jc42.ko -rw-r--r-- 1 1001 123 54472 Mar 2 15:41 jme.ko -rw-r--r-- 1 root root 11859 Sep 3 2022 leds-atmega1608.ko -rw-r--r-- 1 root root 13891 Sep 3 2022 leds-lp3943.ko -rw-r--r-- 1 1001 123 52640 Mar 2 15:41 libphy.ko -rw-r--r-- 1 root root 142235 Sep 3 2022 lockd.ko -rw-r--r-- 1 root root 38787 Sep 3 2022 loop.ko -rw-r--r-- 1 1001 123 20824 Mar 2 15:41 m88ds3103.ko -rw-r--r-- 1 1001 123 7403 Mar 2 15:41 mdio.ko -rw-r--r-- 1 1001 123 58856 Mar 2 15:41 megaraid_mbox.ko -rw-r--r-- 1 1001 123 18328 Mar 2 15:41 megaraid_mm.ko -rw-r--r-- 1 1001 123 160184 Mar 2 15:41 megaraid_sas.ko -rw-r--r-- 1 1001 123 9040 Mar 2 15:41 mii.ko -rw-r--r-- 1 1001 123 451059 Mar 2 15:41 mlx4_core.ko -rw-r--r-- 1 1001 123 194131 Mar 2 15:41 mlx4_en.ko -rw-r--r-- 1 1001 123 252435 Mar 2 15:41 mlx4_ib.ko -rw-r--r-- 1 1001 123 745315 Mar 2 15:41 mlx5_core.ko -rw-r--r-- 1 1001 123 268475 Mar 2 15:41 mlx5_ib.ko -rw-r--r-- 1 1001 123 7315 Mar 2 15:41 mlx_compat.ko -rw-r--r-- 1 1001 123 54440 Mar 2 15:41 mlxsw_core.ko -rw-r--r-- 1 1001 123 93152 Mar 2 15:41 mlxsw_pci.ko -rw-r--r-- 1 1001 123 48920 Mar 2 15:41 mmc_block.ko -rw-r--r-- 1 1001 123 165096 Mar 2 15:41 mmc_core.ko -rw-r--r-- 1 root root 97593 Mar 26 00:36 modules.alias -rw-r--r-- 1 root root 101791 Mar 26 00:36 modules.alias.bin -rw-r--r-- 1 root root 0 Mar 26 00:36 modules.builtin.bin -rw-r--r-- 1 root root 3987 Mar 26 00:36 modules.dep -rw-r--r-- 1 root root 11123 Mar 26 00:36 modules.dep.bin -rw-r--r-- 1 root root 78 Mar 26 00:36 modules.devname -rw-r--r-- 1 root root 162 Mar 26 00:36 modules.softdep -rw-r--r-- 1 root root 63581 Mar 26 00:36 modules.symbols -rw-r--r-- 1 root root 80579 Mar 26 00:36 modules.symbols.bin -rw-r--r-- 1 1001 123 565656 Mar 2 15:41 mpt3sas.ko -rw-r--r-- 1 1001 123 105208 Mar 2 15:41 mptbase.ko -rw-r--r-- 1 1001 123 49320 Mar 2 15:41 mptctl.ko -rw-r--r-- 1 1001 123 66560 Mar 2 15:41 mptsas.ko -rw-r--r-- 1 1001 123 35000 Mar 2 15:41 mptscsih.ko -rw-r--r-- 1 1001 123 26240 Mar 2 15:41 mptspi.ko -rw-r--r-- 1 1001 123 22088 Mar 2 15:41 mtk-sd.ko -rw-r--r-- 1 root root 768579 May 16 2022 mv14xx.ko -rw-r--r-- 1 1001 123 76440 Mar 2 15:41 nct6775.ko -rw-r--r-- 1 root root 362195 Sep 3 2022 nfs.ko -rw-r--r-- 1 root root 49539 Sep 3 2022 nfsv3.ko -rw-r--r-- 1 root root 353227 Jun 14 2022 pgdrv.ko -rw-r--r-- 1 root root 306179 Jun 29 2022 phy_alloc_0810_x64.ko -rw-r--r-- 1 1001 123 58123 Mar 2 15:41 processor.ko -rw-r--r-- 1 1001 123 220720 Mar 2 15:41 r8125.ko -rw-r--r-- 1 1001 123 267952 Mar 2 15:41 r8152.ko -rw-r--r-- 1 1001 123 648176 Mar 2 15:41 r8168.ko -rw-r--r-- 1 1001 123 119032 Mar 2 15:41 r8169.ko -rw-r--r-- 1 1001 123 39352 Mar 2 15:41 rc-core.ko -rw-r--r-- 1 1001 123 37840 Mar 2 15:41 scsi_transport_spi.ko -rw-r--r-- 1 1001 123 45808 Mar 2 15:41 sdhci.ko -rw-r--r-- 1 root root 57323 Sep 3 2022 sg.ko -rw-r--r-- 1 root root 15139 Sep 3 2022 sha256_generic.ko -rw-r--r-- 1 1001 123 10808 Mar 2 15:41 si2157.ko -rw-r--r-- 1 1001 123 13032 Mar 2 15:41 si2168.ko -rw-r--r-- 1 1001 123 50568 Mar 2 15:41 skge.ko -rw-r--r-- 1 1001 123 76160 Mar 2 15:41 sky2.ko -rw-r--r-- 1 1001 123 4024 Mar 2 15:41 softcursor.ko -rw-r--r-- 1 1001 123 8040 Mar 2 15:41 sp2.ko -rw-r--r-- 1 1001 123 25632 Mar 2 15:41 sr_mod.ko -rw-r--r-- 1 root root 467379 Sep 3 2022 sunrpc.ko -rw-r--r-- 1 root root 8043 Sep 3 2022 syno_hddmon.ko -rw-r--r-- 1 root root 145507 Sep 3 2022 synobios.ko -rw-r--r-- 1 root root 37347 May 19 2022 synofsbd.ko -rw-r--r-- 1 root root 128387 May 19 2022 synorbd.ko -rw-r--r-- 1 1001 123 5320 Mar 2 15:41 syscopyarea.ko -rw-r--r-- 1 1001 123 6232 Mar 2 15:41 sysfillrect.ko -rw-r--r-- 1 1001 123 4728 Mar 2 15:41 sysimgblt.ko -rw-r--r-- 1 1001 123 225864 Mar 2 15:41 tg3.ko -rw-r--r-- 1 1001 123 24448 Mar 2 15:41 thermal.ko -rw-r--r-- 1 1001 123 13376 Mar 2 15:41 ts2020.ko -rw-r--r-- 1 root root 6443 Sep 3 2022 udp_tunnel.ko -rw-r--r-- 1 1001 123 35595 Mar 2 15:41 uhci-hcd.ko -rw-r--r-- 1 root root 7067 Sep 3 2022 usb-common.ko -rw-r--r-- 1 root root 126539 Sep 3 2022 usb-storage.ko -rw-r--r-- 1 root root 355947 Sep 3 2022 usbcore.ko -rw-r--r-- 1 root root 50803 Sep 3 2022 usbhid.ko -rw-r--r-- 1 1001 123 10576 Mar 2 15:41 ushc.ko -rw-r--r-- 1 1001 123 15648 Mar 2 15:41 vesafb.ko -rw-r--r-- 1 root root 19851 Sep 3 2022 vfat.ko -rw-r--r-- 1 1001 123 23320 Mar 2 15:41 vga16fb.ko -rw-r--r-- 1 1001 123 13296 Mar 2 15:41 vgastate.ko -rw-r--r-- 1 1001 123 17264 Mar 2 15:41 via-sdmmc.ko -rw-r--r-- 1 1001 123 14200 Mar 2 15:41 virtio.ko -rw-r--r-- 1 1001 123 11704 Mar 2 15:41 virtio_input.ko -rw-r--r-- 1 1001 123 11824 Mar 2 15:41 virtio_mmio.ko -rw-r--r-- 1 1001 123 39544 Mar 2 15:41 virtio_net.ko -rw-r--r-- 1 1001 123 28056 Mar 2 15:41 virtio_pci.ko -rw-r--r-- 1 1001 123 13896 Mar 2 15:41 virtio_ring.ko -rw-r--r-- 1 1001 123 23312 Mar 2 15:41 virtio_scsi.ko -rw-r--r-- 1 1001 123 30656 Mar 2 15:41 vmw_pvscsi.ko -rw-r--r-- 1 1001 123 65776 Mar 2 15:41 vmxnet3.ko -rw-r--r-- 1 1001 123 41056 Mar 2 15:41 vub300.ko -rw-r--r-- 1 root root 54403 Sep 3 2022 vxlan.ko -rw-r--r-- 1 1001 123 171403 Mar 2 15:41 xhci-hcd.ko -rw-r--r-- 1 1001 123 11683 Mar 2 15:41 xhci-pci.ko SynologyNAS> ll sata* ls: sata*: No such file or directory SynologyNAS> curl curl: try 'curl --help' for more information SynologyNAS> curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/sata_sil.ko" -O % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17504 100 17504 0 0 27026 0 --:--:-- --:--:-- --:--:-- 159k SynologyNAS> ll sata* -rw------- 1 root root 17504 Mar 26 00:40 sata_sil.ko SynologyNAS> insmod sata_sil.ko insmod: can't insert 'sata_sil.ko': invalid module format SynologyNAS> uname -a Linux SynologyNAS 4.4.180+ #42962 SMP Sat Sep 3 22:22:16 CST 2022 x86_64 GNU/Linux synology_broadwellnk_3622xs+ SynologyNAS> Edited March 26, 2023 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #13 Posted March 26, 2023 (edited) 3 hours ago, Ostap60 said: Inspired by your experience, installed dsm 5.2 using XPEnoboot_DS3615xs_5.2-5644.5.img. SATA Raid controller (Silicon Image Sil3114) - installs perfectly on XPEnoboot_DS3615xs_5.2-5644.5.img and works great. Maybe now, having already gained enough experience and knowledge, you can add the sata_sil module for the Silicon Image 3114 SATA card to rp-ext? Many of my friends use non-PCIe motherboards even though they do have PCI. For example GA-J3455N-D3H and the like. Despite the fact that this RAID controller does not support high speed, it is quite enough for home use. Thanks in advance, I hope you will respond to my request and the request of my friends. If I understand correctly, the Linux driver for this RAID controller is available ? Best wishes !!! Recently, I am practicing compiling the kernel source of the module repo of fabio and pocopico. I have no experience compiling linux c sources for new modules, so I'm not sure how, but I'll give it a try. The integrated module of rabio has a successful compilation experience. You need to configure the kernel compilation environment on Ubuntu 16.04. I copied the module source you provided. https://github.com/PeterSuh-Q3/redpill-modules/tree/master/src/sata_sil Edited March 26, 2023 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #14 Posted March 26, 2023 7 hours ago, Ostap60 said: Inspired by your experience, installed dsm 5.2 using XPEnoboot_DS3615xs_5.2-5644.5.img. SATA Raid controller (Silicon Image Sil3114) - installs perfectly on XPEnoboot_DS3615xs_5.2-5644.5.img and works great. Maybe now, having already gained enough experience and knowledge, you can add the sata_sil module for the Silicon Image 3114 SATA card to rp-ext? Many of my friends use non-PCIe motherboards even though they do have PCI. For example GA-J3455N-D3H and the like. Despite the fact that this RAID controller does not support high speed, it is quite enough for home use. Thanks in advance, I hope you will respond to my request and the request of my friends. If I understand correctly, the Linux driver for this RAID controller is available ? Best wishes !!! I don't know if there is any progress. The "invalid module format" problem that occurred above has been passed. Instead of pocopico's repo, I changed it to the ARPL integrated module compiler of the Docker compilation method, which was successful in the compilation test a few days ago. I modified only some definitions in sata_sil.c and the compilation was successful. Modules for each of the 7 platforms are uploaded to the repo. Tested again in junior, the results are slightly different. I'm not sure if there is something in the sata_sil.c module source that needs to be modified for Synology. I'll leave the inquiry to fabio. Expect a quick reply if fabio is not busy. https://github.com/PeterSuh-Q3/arpl-modules SynologyNAS login: root Synology strongly advises you not to run commands as the root user, who has the highest privileges on the system. Doing so may cause major damages to the system. Please note that if you choose to proceed, all consequences are at your own risk. BusyBox v1.30.1 () built-in shell (ash) SynologyNAS> cd /lib/modules SynologyNAS> curl -L "https://github.com/PeterSuh-Q3/arpl-modules/raw/main/broadwellnk-4.4.180/sata_sil.ko" -O % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18208 100 18208 0 0 27205 0 --:--:-- --:--:-- --:--:-- 17.3M SynologyNAS> insmod sata_sil.ko insmod: can't insert 'sata_sil.ko': unknown symbol in module, or unknown parameter SynologyNAS> ll sata* -rw------- 1 root root 18208 Mar 26 07:09 sata_sil.ko SynologyNAS> Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #15 Posted March 26, 2023 The cause of the module error seems to be that the syno_libata module is required but is missing as shown below. This module is originally loaded by Synology for sata/ata control, but it is not confirmed on junior. I'll check if it's included in DSM. SynologyNAS> cd /lib/modules SynologyNAS> ll sata* ls: sata*: No such file or directory SynologyNAS> curl -L "https://github.com/PeterSuh-Q3/arpl-modules/raw/main/broadwellnk-4.4.180/sata_sil.ko" -O % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18208 100 18208 0 0 29213 0 --:--:-- --:--:-- --:--:-- 29213 SynologyNAS> insmod sata_sil.ko insmod: can't insert 'sata_sil.ko': unknown symbol in module, or unknown parameter SynologyNAS> /usr/sbin/depmod -a depmod: WARNING: could not open /lib/modules//modules.order: No such file or directory depmod: WARNING: could not open /lib/modules//modules.builtin: No such file or directory SynologyNAS> /usr/sbin/modprobe sata_sil modprobe: ERROR: could not insert 'sata_sil': Unknown symbol in module, or unknown parameter (see dmesg) SynologyNAS> dmesg | grep sata_sil [ 1331.760982] sata_sil: Unknown symbol syno_libata_support_pwr_ctl (err 0) [ 1331.762239] sata_sil: Unknown symbol syno_libata_port_power_ctl (err 0) [ 1331.763200] sata_sil: Unknown symbol syno_libata_index_get (err 0) [ 1331.764032] sata_sil: Unknown symbol syno_libata_set_deep_sleep (err 0) [ 1331.764858] sata_sil: Unknown symbol syno_libata_poweroff_task (err 0) [ 1331.772703] sata_sil: Unknown symbol syno_libata_support_pwr_ctl (err 0) [ 1331.773573] sata_sil: Unknown symbol syno_libata_port_power_ctl (err 0) [ 1331.774559] sata_sil: Unknown symbol syno_libata_index_get (err 0) [ 1331.775411] sata_sil: Unknown symbol syno_libata_set_deep_sleep (err 0) [ 1331.776402] sata_sil: Unknown symbol syno_libata_poweroff_task (err 0) [ 1439.373467] sata_sil: Unknown symbol syno_libata_support_pwr_ctl (err 0) [ 1439.374555] sata_sil: Unknown symbol syno_libata_port_power_ctl (err 0) [ 1439.375522] sata_sil: Unknown symbol syno_libata_index_get (err 0) [ 1439.376416] sata_sil: Unknown symbol syno_libata_set_deep_sleep (err 0) [ 1439.377292] sata_sil: Unknown symbol syno_libata_poweroff_task (err 0) Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #16 Posted March 26, 2023 I found libata in the link you shared. This module seems to have a dependency on libata. Now is the time to research again. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/ata Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #17 Posted March 26, 2023 There is a sata_nv module that pocopico compiled 8 months ago. This module is also included in the ata category along with sata_sil. I tested it to see if the sata_nv module solved the dependency error with libata. But the result was the same. https://github.com/pocopico/rp-ext/tree/main/sata_nv/releases SynologyNAS> curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/sata_nv.ko" -O % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 39776 100 39776 0 0 60691 0 --:--:-- --:--:-- --:--:-- 60691 SynologyNAS> ll sata* -rw------- 1 root root 39776 Mar 26 10:16 sata_nv.ko -rw------- 1 root root 18208 Mar 26 08:34 sata_sil.ko SynologyNAS> insmod sata_nv.ko insmod: can't insert 'sata_nv.ko': unknown symbol in module, or unknown parameter SynologyNAS> dmesg | grep sata_nv [ 8830.592670] sata_nv: Unknown symbol syno_libata_support_pwr_ctl (err 0) [ 8830.594012] sata_nv: Unknown symbol syno_libata_port_power_ctl (err 0) [ 8830.594918] sata_nv: Unknown symbol syno_libata_index_get (err 0) [ 8830.595681] sata_nv: Unknown symbol syno_libata_set_deep_sleep (err 0) [ 8830.596516] sata_nv: Unknown symbol syno_libata_poweroff_task (err 0) [ 8830.602258] sata_nv: Unknown symbol syno_libata_support_pwr_ctl (err 0) [ 8830.603036] sata_nv: Unknown symbol syno_libata_port_power_ctl (err 0) [ 8830.603859] sata_nv: Unknown symbol syno_libata_index_get (err 0) [ 8830.604637] sata_nv: Unknown symbol syno_libata_set_deep_sleep (err 0) [ 8830.605443] sata_nv: Unknown symbol syno_libata_poweroff_task (err 0) SynologyNAS> I think pocopico and fabio could be interested if they had time. Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 26, 2023 Share #18 Posted March 26, 2023 3 hours ago, Peter Suh said: I'll leave the inquiry to fabio. Expect a quick reply if fabio is not busy. https://github.com/fbelavenuto/arpl-modules/issues/201 Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted March 26, 2023 Share #19 Posted March 26, 2023 10 часов назад, Peter Suh сказал: I'll leave the inquiry to fabio. Expect a quick reply if fabio is not busy. I am very grateful to you for the work you have done. Thank you for answering my question. Alas, I do not have such knowledge in information technology. But your participation is inspiring! I hope that the problem could be solved successfully. This would help many users. There are many motherboards without PCIe. And PCI boards with good processors are still quite common. Once again - thank you very much. I hope that after your intervention, things will get off the ground and there will be progress! 1 Quote Link to comment Share on other sites More sharing options...
wimpers Posted March 27, 2023 Author Share #20 Posted March 27, 2023 If I can contribute anything don't hesitate to let me know... I'll also try and see how far I can get with the current modifications. @Peter Suh, how did you compile those modules? With a dev environment on TCRP or a different setup. Compiling kernels is something I used to do from time to time when I was using Gentoo Linux and is not too hard once your host is set up for it, even for older or non-vannlla kernels, perhaps I can help with that or test some stuff? Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted March 27, 2023 Share #21 Posted March 27, 2023 В 26.03.2023 в 13:43, Peter Suh сказал: https://github.com/fbelavenuto/arpl-modules/issues/201 If you need my help, participation in testing - then I'm ready. I have both SIL3114 and motherboards with PCI. As you can see, Fabio hasn't answered yet, or maybe he hasn't read our messages yet. Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 28, 2023 Share #22 Posted March 28, 2023 (edited) 12 hours ago, wimpers said: If I can contribute anything don't hesitate to let me know... I'll also try and see how far I can get with the current modifications. @Peter Suh, how did you compile those modules? With a dev environment on TCRP or a different setup. Compiling kernels is something I used to do from time to time when I was using Gentoo Linux and is not too hard once your host is set up for it, even for older or non-vannlla kernels, perhaps I can help with that or test some stuff? For 7.1, ARPL fabio configured a docker base environment that can be compiled very conveniently. Kernel 4.4.180 or 4.4.302 can be compiled very easily with Ubuntu 16.04 or so. After installing Linux and installing gcc and docker, the configuration of the environment is complete. And if you return only ./compile.sh located in the link src path below, all modules for 4.4.180 of the entire platform will be compiled. (I exclude DS3615xs, [EDIT PLARFORMS FILES] ) https://github.com/fbelavenuto/arpl-modules Fork the fbelavenuto repo and git clone it. or, It would be nice to fork my repo. There is already configuration for sata_sil in src/4.x/drivers/ata . https://github.com/PeterSuh-Q3/arpl-modules I attached a virtual hard drive of about 40GB to VMWARE FUSION for MAC and installed Ubuntu. The toolchain and toolkit for Synology 7.1 that comes down in conjunction with Docker are rather large. 30-40 GB should be enough. Edited March 28, 2023 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted March 28, 2023 Share #23 Posted March 28, 2023 (edited) 12 hours ago, Ostap60 said: If you need my help, participation in testing - then I'm ready. I have both SIL3114 and motherboards with PCI. As you can see, Fabio hasn't answered yet, or maybe he hasn't read our messages yet. It has already been updated to the M SHELL for TCRP integrated module v1.01 version. Rebuilding the loader will add the sata_sil module. Please build the loader in DDSML method, not EUDEV. However, there are still libata issues. It seems important to test in an environment with actual equipment to see if this issue leads to module loading failure. Share how you can view JUNIOR logs. Please send me the results of this log. -> If you can access the DSM installation request screen with ttyd as below, Then send me the log with the command you see. You must use a web browser. http://<youripaddr>:7681/ id : root / pw : ( no password ) cat /var/log/linuxrc.syno.log Edited March 28, 2023 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted March 28, 2023 Share #24 Posted March 28, 2023 11 часов назад, Peter Suh сказал: It has already been updated to the M SHELL for TCRP integrated module v1.01 version. Rebuilding the loader will add the sata_sil module. Please build the loader in DDSML method, not EUDEV. However, there are still libata issues. It seems important to test in an environment with actual equipment to see if this issue leads to module loading failure. Share how you can view JUNIOR logs. Please send me the results of this log. -> If you can access the DSM installation request screen with ttyd as below, Then send me the log with the command you see. You must use a web browser. http://<youripaddr>:7681/ id : root / pw : ( no password ) cat /var/log/linuxrc.syno.log I downloaded the bootloader from here. Recorded using Rufus on a USB flash drive. Boot from flash drive. Everything is in order on the monitor, but I could not connect via the web interface http://<myipaddr>:7681/ (network card r8168/r8169) I made a bootable USB flash drive on the server itself from the graphical menu. After reboot - the network interface does not work. (Network indicators do not blink) I'm trying to solve the problem of installing r8168 drivers before making the bootloader. Or I'll try to follow your recommendations on another motherboard. Then I'll try to get the logs: cat /var/log/linuxrc.syno.log Quote Link to comment Share on other sites More sharing options...
Ostap60 Posted March 28, 2023 Share #25 Posted March 28, 2023 (edited) 14 часов назад, Peter Suh сказал: http://<youripaddr>:7681/ id : root / pw : ( no password ) cat /var/log/linuxrc.syno.log SynologyNAS> cat /var/log/linuxrc.syno.log START /linuxrc.syno.impl addons.sh called with params early Starting ttyd... [2012/01/05 15:52:48:7571] N: ttyd 1.7.0-3ba994a (libwebsockets 4.3.2-unknown) [2012/01/05 15:52:48:7574] N: tty configuration: [2012/01/05 15:52:48:7576] N: start command: /usr/bin/ash -l [2012/01/05 15:52:48:7578] N: close signal: SIGHUP (1) [2012/01/05 15:52:48:7579] N: terminal type: xterm-256color [2012/01/05 15:52:48:7582] N: lws_create_context: LWS: 4.3.2-unknown, NET SRV H1 WS MbedTLS ConMon IPV6-off [2012/01/05 15:52:48:7590] N: elops_init_pt_uv: Using foreign event loop... [2012/01/05 15:52:48:7592] N: __lws_lc_tag: ++ [wsi|0|pipe] (1) [2012/01/05 15:52:48:7595] N: __lws_lc_tag: ++ [vh|0|netlink] (1) [2012/01/05 15:52:48:7597] N: __lws_lc_tag: ++ [vh|1|default||7681] (2) [2012/01/05 15:52:48:7600] N: [vh|1|default||7681]: lws_socket_bind: source ads 0.0.0.0 [2012/01/05 15:52:48:7603] N: __lws_lc_tag: ++ [wsi|1|listen|default||7681] (2) [2012/01/05 15:52:48:7605] N: Listening on port: 7681 Insert Marvell 1475 SATA controller driver Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module ehci-hcd ... [ OK ] :: Loading module ehci-pci ... [ OK ] :: Loading module uhci-hcd ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci ... [ OK ] addons.sh called with params modules Starting eudev daemon Triggering add events to udev Loading FB and console modules... modprobe: FATAL: Module i915 not found in directory /lib/modules Loading 9p module insmod: can't insert '/lib/modules/etxhci-hcd.ko': File exists Insert net driver(Mindspeed only)... Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 addons.sh called with params patches Adjust disks related configs automatically - patches maxdisks=0 internalportcfg=0x0 esataportcfg=0 usbportcfg=0xf00000 Insert synorbd kernel module Insert synofsbd kernel module Insert sha256 kernel module All disk ready or timeout execeed Exit on error [1] DISK NOT INSTALLED... Thu Jan 5 15:53:00 UTC 2012 addons.sh called with params jrExit none /sys/kernel/debug debugfs rw,relatime 0 0 SynologyNAS> HDD - not found Edited March 28, 2023 by Ostap60 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.