Timon-H Posted July 10, 2022 Share #1 Posted July 10, 2022 (edited) Hi there! Iam setting up a Xpenology NAS and have trouble with the satamap command. First my Hardware: i3-12100 Biostar B660GTN (ITX board with 4 Sata Ports) 3x Crucial MX500 1TB SSDs 16GB RAM I used THIS guide to install DSM7 but have some trouble with the satamap command. It looks like this: Found "00:17.0 Intel Corporation Device 7ae2 (rev 11)" Detected 8 ports/3 drives. Bad ports: 1 2 3 4. Override # of ports or ENTER to accept <8> Computed settings: SataPortMap=8 DiskIdxMap=00 WARNING: Bad ports are mapped. The DSM installation will fail! I searched and found THIS post. So i tryed the "dmesg |grep sd" command and got my 3 SSDs and my USB stick: [ 0.690617] sd 4:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 0.690731] sd 5:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 0.690839] sd 7:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 2.722473] sd 8:0:0:0: [sdd] 242614272 512-byte logical blocks: (124 GB/116 GiB) So i tryed to put in: SataPortMap=41 (4= 4 Sata Ports - 1 = one USB stick) DiskIdxMap=48 (4 because the first ssd is 4:0:0:0 - 8 because the usb stick is 8:0:0:0 But when i build the bootloader and restart the system i get some error (no drives found or something like that). Is my understanding of the satamap command wrong? What kind of settings should i use? Pls help Thanks! Edited July 10, 2022 by Timon-H Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #2 Posted July 10, 2022 (edited) Hi, Your chipset on your motherboard is an INTEL B660, It manages 4 sata ports (present on the motherboard). Why map your USB port? Your usb stick is recognized by the VID and PID that you enter in user_config.json (./rploader.sh identifyusb) Test : SataPortMap=4 DiskIdxMap=00 For any help, read : Edited July 10, 2022 by renegadeBE Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #3 Posted July 10, 2022 20 minutes ago, renegadeBE said: Hi, Your chipset on your motherboard is an INTEL B660, It manages 4 sata ports (present on the motherboard). Why map your USB port? Your usb stick is recognized by the VID and PID that you enter in user_config.json (./rploader.sh identifyusb) Test : SataPortMap=4 DiskIdxMap=00 For any help, read : Thanks for your reply! Sadly with SataPortMap=4 i get the same error.. I also tryed the linked Tutorial but with that i no longer find my NAS after building the bootloader. Used Plattform: DS3622xs+ used architecture:broadwellnk. Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #4 Posted July 10, 2022 Bios configs : - SATA -> AHCI - C1E -> Disable - Hot Plug -> Enable for all sata Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #5 Posted July 10, 2022 (edited) 17 minutes ago, renegadeBE said: Bios configs : - SATA -> AHCI - C1E -> Disable - Hot Plug -> Enable for all sata My SATA configuartion menu only has: Sata Controller ON/OFF -> set to ON SATA Mode Selectrion AHCI/Raid -> set to AHCI SMART Self Test ON/OFF -> set to OFF SATA Hot Plug ON/OFF -> set to ON Hybrid Storage Detection and Configuration Mode OFF/Dynamic Config for hybrid storage enable -> set to off C1E is some kind of Power State for the CPU? I looked into the CPU Power management and VRM settings but couldnt find a C1E setting. EDIT: Found out that disabling "enhanced C-States" also disables the C1E C State. I tryed again to boot up the bootloader but this "no drives detected".. Edited July 10, 2022 by Timon-H Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #6 Posted July 10, 2022 SMART self test can stay ON 7 minutes ago, Timon-H said: C1E is some kind of Power State for the CPU? I looked into the CPU Power management and VRM settings but couldnt find a C1E setting. Yep ! Because this option causes problems Install still not working ? Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #7 Posted July 10, 2022 1 minute ago, renegadeBE said: SMART self test can stay ON Yep ! Because this option causes problems Install still not working ? YEP not working.. no drives are detected.. in bios the drives are working just fine. Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #8 Posted July 10, 2022 Post result of this plz dmesg | fgrep "DUMMY" Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #9 Posted July 10, 2022 (edited) 17 minutes ago, renegadeBE said: Post result of this plz dmesg | fgrep "DUMMY" [ 0.375794] ata1: DUMMY [ 0.375795] ata2: DUMMY [ 0.375795] ata3: DUMMY [ 0.375796] ata4: DUMMY Edit: I have also tryed "dmesg | fgrep "ata5" " Results: [ 0.375802] ata5: SATA max UDMA/133 abar m2048@0x80602000 port 0x80602300 irq 124 [ 0.687782] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 0.688674] ata5.00: supports DRM functions and may not be fully accessible [ 0.688822] ata5.00: ATA-10: CT1000MX500SSD1, M3CR043, max UDMA/133 [ 0.688824] ata5.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 0.690471] ata5.00: supports DRM functions and may not be fully accessible [ 0.691303] ata5.00: configured for U Edited July 10, 2022 by Timon-H Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #10 Posted July 10, 2022 (edited) Edit your user_config.json "SataPortMap" : "4", "DiskIdxMap" : "00", "sata_remap" : "4\\>0:5\\>1:6\\>2:7\\>3" }, WARNING : If the last argument is not sata_remap add a "," After, compil your loader and test ! @IG-88 Can you watch this please? Edited July 10, 2022 by renegadeBE Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #11 Posted July 10, 2022 17 minutes ago, renegadeBE said: Edit your user_config.json "SataPortMap" : "4", "DiskIdxMap" : "00", "sata_remap" : "4\\>0:5\\>1:6\\>2:7\\>3" WARNING : If the last argument is not sata_remap add a "," Still not working. i tryed setting it up clean. i typed those commands: ./rploader.sh identifyusb now ./rploader.sh satamap now Then i edited the user_config.json with the values you send and safed it. ./rploader.sh serialgen DS3615xs ./rploader.sh backup now ./rploader.sh build bromolow-7.0.1-42218 Then i restartet and opend the IP Adress from the discstation. After some waiting the same "no Drives found" error. Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #12 Posted July 10, 2022 I don't know how to help you anymore. Sorry @IG-88 may have another solution. Or another member... If not, you can try another generator, it uses a different approach for identifying HDDs. I attached the topic for you. 1 Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #13 Posted July 10, 2022 Last test : edit directly to grub, press "e" on start. After edit, press F10 "SataPortMap" : "3" "DiskIdxMap" : "00" "sata_remap" : "4\\>0:5\\>1:6\\>2" Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #14 Posted July 10, 2022 23 minutes ago, renegadeBE said: Last test : edit directly to grub, press "e" on start. After edit, press F10 "SataPortMap" : "3" "DiskIdxMap" : "00" "sata_remap" : "4\\>0:5\\>1:6\\>2" When i press "E" on startup i get some kind of config but there is no "SataPortMap" and stuff. See: Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #15 Posted July 10, 2022 Oh : are you sure you have compiled during the modifications ? Sataportmap=8 Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #16 Posted July 10, 2022 1 minute ago, renegadeBE said: Oh : are you sure you have compiled during the modifications ? Sataportmap=8 ohhh i see... I have done it wrong wait xD Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #17 Posted July 10, 2022 10 minutes ago, renegadeBE said: Oh : are you sure you have compiled during the modifications ? Sataportmap=8 ok now i have tryd it right i think.. Still the same error but in the GRUB Editor my changes are visible. Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #18 Posted July 10, 2022 Damn ! We will have tried... 1 Quote Link to comment Share on other sites More sharing options...
flyride Posted July 10, 2022 Share #19 Posted July 10, 2022 3 hours ago, Timon-H said: Found "00:17.0 Intel Corporation Device 7ae2 (rev 11)" Detected 8 ports/3 drives. Bad ports: 1 2 3 4. Override # of ports or ENTER to accept <8> Computed settings: SataPortMap=8 DiskIdxMap=00 WARNING: Bad ports are mapped. The DSM installation will fail! I haven't seen anyone successfully map over bad ports with Sata remap. The rploader satamap is reporting your bad ports above by searching for DUMMY values in dmesg and reindexing the information to your controllers. The B660 chipset appears to share silicon with the H670 which has 8 SATA ports. Intel locks out the first 4 in your motherboard. https://images.anandtech.com/doci/17162/2022_CES_Pre-Brief_Dec 15 Final-page-029.jpg DSM won't install with ports that are electrically present and not functional (hence the DUMMY status). See the tutorial troubleshooting section for some workaround options, although they aren't really good. https://xpenology.com/forum/topic/62221-tutorial-installmigrate-to-dsm-7x-with-tinycore-redpill-tcrp-loader/ You will have the best results with one of the folllowing: Convert to a virtualized installation, connect the storage to the hypervisor and then attach the disks to a virtual SATA controller (RDM in ESXi, for example) Use a device tree platform (i.e. DS920+) which doesn't use SATAMAP. There is some evidence that you can use a device tree configuration manually on any platform version, but this is incompletely tested. Disable your on-board SATA controller and add a PCIe SATA controller that doesn't have bad ports (this is probably least desirable with an ITX motherboard) Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 10, 2022 Author Share #20 Posted July 10, 2022 23 minutes ago, flyride said: I haven't seen anyone successfully map over bad ports with Sata remap. The rploader satamap is reporting your bad ports above by searching for DUMMY values in dmesg and reindexing the information to your controllers. The B660 chipset appears to share silicon with the H670 which has 8 SATA ports. Intel locks out the first 4 in your motherboard. https://images.anandtech.com/doci/17162/2022_CES_Pre-Brief_Dec 15 Final-page-029.jpg DSM won't install with ports that are electrically present and not functional (hence the DUMMY status). See the tutorial troubleshooting section for some workaround options, although they aren't really good. https://xpenology.com/forum/topic/62221-tutorial-installmigrate-to-dsm-7x-with-tinycore-redpill-tcrp-loader/ You will have the best results with one of the folllowing: Convert to a virtualized installation, connect the storage to the hypervisor and then attach the disks to a virtual SATA controller (RDM in ESXi, for example) Use a device tree platform (i.e. DS920+) which doesn't use SATAMAP. There is some evidence that you can use a device tree configuration manually on any platform version, but this is incompletely tested. Disable your on-board SATA controller and add a PCIe SATA controller that doesn't have bad ports (this is probably least desirable with an ITX motherboard) Oh.. Thats not nice.. I have tryed the DS920+ installation with the geminilake-7.1.0-42661 architecture. I left the satamap command just like the Turorial suggested. But i cannot get the webinterface to load with that. I even looked up the IP from the server via Router but nothing is loading... i dont have a serial port or adapter.. So PCIe to SATA it is? Any suggestion wich controller i should buy? i would love some M.2 to Sata to have the PCIex16 slot for something else.. Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 10, 2022 Share #21 Posted July 10, 2022 (edited) If you feel like it, you can try this: edit your user_config.json, and build loader. Thanks to give feedback after test Custum pid/vid, sn, mac,... Delete satamap and diskidxmap. Add sata_remap Custum internalportcfg and maxdisks (we try to get out the dummy) { "extra_cmdline": { "pid": "X", "vid": "X", "sn": "X", "mac1": "X", "sata_remap" : "4\\>0:5\\>1:6\\>2:7\\>3" }, "synoinfo": { "internalportcfg" : "0xff", "maxdisks" : "4", "support_bde_internal_10g" : "no", "support_disk_compatibility" : "no", "support_memory_compatibility" : "no" }, "ramdisk_copy": { } Edited July 10, 2022 by renegadeBE Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 11, 2022 Author Share #22 Posted July 11, 2022 13 hours ago, renegadeBE said: If you feel like it, you can try this: edit your user_config.json, and build loader. Thanks to give feedback after test Custum pid/vid, sn, mac,... Delete satamap and diskidxmap. Add sata_remap Custum internalportcfg and maxdisks (we try to get out the dummy) { "extra_cmdline": { "pid": "X", "vid": "X", "sn": "X", "mac1": "X", "sata_remap" : "4\\>0:5\\>1:6\\>2:7\\>3" }, "synoinfo": { "internalportcfg" : "0xff", "maxdisks" : "4", "support_bde_internal_10g" : "no", "support_disk_compatibility" : "no", "support_memory_compatibility" : "no" }, "ramdisk_copy": { } Thanks for trying to help! I tried it, now I get a different error. Error on the drives (1,2,3,4) and the sata ports got disabled. pls shutdown the system and use other drives.. Here a Screenshot from my config: Quote Link to comment Share on other sites More sharing options...
renegadeBE Posted July 11, 2022 Share #23 Posted July 11, 2022 Plz, give me results if this : dmesg | fgrep "ata" Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 11, 2022 Author Share #24 Posted July 11, 2022 16 minutes ago, renegadeBE said: Plz, give me results if this : dmesg | fgrep "ata" tc@box:~$ dmesg | fgrep "ata" [ 0.000000] BIOS-e820: [mem 0x0000000075703000-0x00000000757d6fff] ACPI data [ 0.052885] Memory: 16041500K/16549512K available (10242K kernel code, 1227K rwdata, 1916K rodata, 1184K init, 3660K bss, 507756K reserved, 0K cma-reserved) [ 0.199443] libata version 3.00 loaded. [ 0.375989] ata1: DUMMY [ 0.375990] ata2: DUMMY [ 0.375990] ata3: DUMMY [ 0.375990] ata4: DUMMY [ 0.375997] ata5: SATA max UDMA/133 abar m2048@0x80602000 port 0x80602300 irq 124 [ 0.375998] ata6: SATA max UDMA/133 abar m2048@0x80602000 port 0x80602380 irq 124 [ 0.376000] ata7: SATA max UDMA/133 abar m2048@0x80602000 port 0x80602400 irq 124 [ 0.376001] ata8: SATA max UDMA/133 abar m2048@0x80602000 port 0x80602480 irq 124 [ 0.376427] scsi host8: pata_legacy [ 0.376448] ata9: PATA max PIO4 cmd 0x1f0 ctl 0x3f6 irq 14 [ 0.687910] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 0.687931] ata8: SATA link down (SStatus 0 SControl 300) [ 0.687951] ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 0.687972] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 0.688827] ata7.00: supports DRM functions and may not be fully accessible [ 0.688852] ata5.00: supports DRM functions and may not be fully accessible [ 0.688870] ata6.00: supports DRM functions and may not be fully accessible [ 0.688933] ata7.00: ATA-10: CT1000MX500SSD1, M3CR043, max UDMA/133 [ 0.688935] ata7.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 0.688965] ata5.00: ATA-10: CT1000MX500SSD1, M3CR043, max UDMA/133 [ 0.688966] ata5.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 0.688986] ata6.00: ATA-10: CT1000MX500SSD1, M3CR043, max UDMA/133 [ 0.688987] ata6.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA [ 0.690554] ata7.00: supports DRM functions and may not be fully accessible [ 0.690586] ata5.00: supports DRM functions and may not be fully accessible [ 0.690608] ata6.00: supports DRM functions and may not be fully accessible [ 0.691283] ata7.00: configured for UDMA/133 [ 0.691373] ata5.00: configured for UDMA/133 [ 0.691381] ata6.00: configured for UDMA/133 [ 0.728037] scsi host8: pata_legacy [ 0.728057] ata10: PATA max PIO4 cmd 0x170 ctl 0x376 irq 15 [ 0.901463] usbcore: registered new interface driver ums-datafab [ 0.960712] Write protecting the kernel read-only data: 14336k [ 0.961958] Freeing unused kernel image (text/rodata gap) memory: 2044K [ 0.962082] Freeing unused kernel image (rodata/data gap) memory: 132K Quote Link to comment Share on other sites More sharing options...
Timon-H Posted July 11, 2022 Author Share #25 Posted July 11, 2022 On 7/10/2022 at 5:32 PM, renegadeBE said: I don't know how to help you anymore. Sorry @IG-88 may have another solution. Or another member... If not, you can try another generator, it uses a different approach for identifying HDDs. I attached the topic for you. OMG with that software i got it to work... sort of. My Drives are now all there and i can upload the image from the Synology OS. But after 41-42% it gives me some error that the file is corrupted... I just downloaded it.. And yes i used the correct version... 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.