fbelavenuto / arpl

Automated Redpill Loader
GNU General Public License v3.0
7.24k stars 1.57k forks source link

How TO Set SataPortMap DiskIdxMap SATA-REmap #350

Open dbh-love opened 2 years ago

dbh-love commented 2 years ago

After compiling the DS2422 or DS920 boot file. The Settings related to "SataPortMap", "DiskIdxMap" and "SATA-REmap" cannot be found. Where can I set the above parameters?

编译DS2422+ 或者 DS920+ 引导文件完成后。 一直找不到 ”SataPortMap”、“ DiskIdxMap”和“ SATA _ remap” 相关的设置。 请问在什么地方设置上述参数?

OrpheeGT commented 2 years ago

You have to add them yourself in cmdline menu. Once added you can revue them (show user cmdline ...) But only in case needed.

dbh-love commented 2 years ago

You have to add them yourself in cmdline menu. Once added you can revue them (show user cmdline ...) But only in case needed.

Log in to the root account through crt or putty?

Then how to operate it? Can you elaborate?

thank you

dbh-love commented 2 years ago

You have to add them yourself in cmdline menu. Once added you can revue them (show user cmdline ...) But only in case needed.

I saw someone say that you can add the SataPortMap DiskIdxMap SATA Remap setting in "ARPL1\user-config. yml", but it will not take effect after adding it.

Do you need to add configuration information to files in other paths?

ScotGu commented 2 years ago

可以手动添加,依次进入配置界面的 [Cmdline menu] - [Add/edit a cmdline item] 中手动添加"SataPortMap","DiskIdxMap"的名称和参数。 然后在重新[Build the loader]就可以了。

具体操作可以看下面截图。

111

ScotGu commented 2 years ago

After compiling the DS2422 or DS920 boot file. The Settings related to "SataPortMap", "DiskIdxMap" and "SATA-REmap" cannot be found. Where can I set the above parameters?

编译DS2422+ 或者 DS920+ 引导文件完成后。 一直找不到 ”SataPortMap”、“ DiskIdxMap”和“ SATA _ remap” 相关的设置。 请问在什么地方设置上述参数?

忘记点回复了~

dbh-love commented 2 years ago

非常感谢

dbh-love commented 2 years ago

After compiling the DS2422 or DS920 boot file. The Settings related to "SataPortMap", "DiskIdxMap" and "SATA-REmap" cannot be found. Where can I set the above parameters? 编译DS2422+ 或者 DS920+ 引导文件完成后。 一直找不到 ”SataPortMap”、“ DiskIdxMap”和“ SATA _ remap” 相关的设置。 请问在什么地方设置上述参数?

忘记点回复了~

已经设置好了,引导信息里面也有了对应的配置信息,但是好像还是没有解决根本的问题。 现状: 主板有2个sata控制器,不配置"SataPortMap"和"DiskIdxMap" 顺序也是对应原生6sata口是1-6,ASM1166转6口是7-12 问题: 1.目前我用8盘位的机箱连接SATA1-8口,硬盘只插4块,位置是5-8口,但是存储空间里面识别到的硬盘却是1-4。 2.也测试过其他情况,不管插多少硬盘,系统都是按照顺序识别,插7块就是1-7号,5块就是1-5号,不会出现空位? 3.如果我把8个盘位插满是可以自动按顺序识别的,但是我拔掉2-7号任意一块,重启后就自动排列成1-7号 4.请问这个问题可以解决吗?就是插上的硬盘对应所插的接口,没有插的接口会自动空出来。

It has been set, and there is corresponding configuration information in the boot information, but it still doesn't seem to solve the fundamental problem.

present situation:

The motherboard has two sata controllers. "SataPortMap" and "DiskIdxMap" are not configured. The sequence also corresponds to 1-6 native 6sata ports and 7-12 ASM1166 to 6 ports

Question:

  1. At present, I use an 8-disk chassis to connect to SATA1-8 port, and only 4 hard disks are inserted in 5-8 port locations, but the hard disks identified in the storage space are 1-4.

  2. Other situations have also been tested. No matter how many hard disks are plugged in, the system recognizes them in order. Seven disks are numbered 1-7, and five disks are numbered 1-5. There is no vacancy?

  3. If I insert 8 drawers full, I can automatically identify them in order, but if I unplug any one of them from No. 2-7, they will be automatically arranged as No. 1-7 after restart

  4. Can this problem be solved? The hard disk you plug in corresponds to the interface you plug in. If you do not plug in the interface, you will be prompted that there is no disk.

dbh-love commented 2 years ago

You have to add them yourself in cmdline menu. Once added you can revue them (show user cmdline ...) But only in case needed.

已经设置好了,引导信息里面也有了对应的配置信息,但是好像还是没有解决根本的问题。 现状: 主板有2个sata控制器,不配置"SataPortMap"和"DiskIdxMap" 顺序也是对应原生6sata口是1-6,ASM1166转6口是7-12 问题: 1.目前我用8盘位的机箱连接SATA1-8口,硬盘只插4块,位置是5-8口,但是存储空间里面识别到的硬盘却是1-4。 2.也测试过其他情况,不管插多少硬盘,系统都是按照顺序识别,插7块就是1-7号,5块就是1-5号,不会出现空位? 3.如果我把8个盘位插满是可以自动按顺序识别的,但是我拔掉2-7号任意一块,重启后就自动排列成1-7号 4.请问这个问题可以解决吗?就是插上的硬盘对应所插的接口,没有插的接口会自动空出来。

It has been set, and there is corresponding configuration information in the boot information, but it still doesn't seem to solve the fundamental problem.

present situation:

The motherboard has two sata controllers. "SataPortMap" and "DiskIdxMap" are not configured. The sequence also corresponds to 1-6 native 6sata ports and 7-12 ASM1166 to 6 ports

Question:

  1. At present, I use an 8-disk chassis to connect to SATA1-8 port, and only 4 hard disks are inserted in 5-8 port locations, but the hard disks identified in the storage space are 1-4.

  2. Other situations have also been tested. No matter how many hard disks are plugged in, the system recognizes them in order. Seven disks are numbered 1-7, and five disks are numbered 1-5. There is no vacancy?

  3. If I insert 8 drawers full, I can automatically identify them in order, but if I unplug any one of them from No. 2-7, they will be automatically arranged as No. 1-7 after restart

  4. Can this problem be solved? The hard disk you plug in corresponds to the interface you plug in. If you do not plug in the interface, you will be prompted that there is no disk.

fbelavenuto commented 2 years ago

Hi guys,

These models are Device-tree models, these variables don't work in these models.

dbh-love commented 2 years ago

Hi guys,

These models are Device-tree models, these variables don't work in these models.

Can I set it if I use the 918 model?

fbelavenuto commented 2 years ago

Can I set it if I use the 918 model?

Yes

dbh-love commented 2 years ago

Can I set it if I use the 918 model?

Yes

Thank you. I'll try 918

dbh-love commented 2 years ago

Can I set it if I use the 918 model?

Yes

1.我更换了918引导。设置"SataPortMap"和"DiskIdxMap" 后解决了硬盘顺序问题。但是和2422、920引导一样,开机后,空盘位热插的硬盘识别不到,需要重启后才能识别?请问这个问题是BUG,还是可以通过设置解决? 2.第一个盘位没硬盘的情况下,完成安装后,在第一个盘位插入硬盘会提示重新部署? 1.I changed the 918 mode. After setting "SataPortMap" and "DiskIdxMap", the problem of hard disk order is solved. However, as in the 2422 and 920 modes, the hard disk with empty disk slots hot inserted cannot be recognized after boot, so it can only be recognized after restart? Is the problem a bug or can it be solved by setting?

  1. If there is no hard disk in the first drawer, after the installation is completed, you will be prompted to redeploy when you insert the hard disk in the first drawer?
OrpheeGT commented 2 years ago

I'm not sure to understand your translation, but I don't think Synology handle disk hot plug. So I don't think you can plug/remove disks while DSM running. Check if original Synology can handle it in the first place... (but I don't think so) And even if original Synology can handle it, remember we are on a hack, don't expect everything to work as original.

You will have more help for these kind of "plays" on xpenology forum where there is a lot more users to discuss with.

fbelavenuto commented 2 years ago

Please check on BIOS your PC if exists the "Hot Swap" option for each SATA port, if yes, enable it.

dbh-love commented 2 years ago

Please check on BIOS your PC if exists the "Hot Swap" option for each SATA port, if yes, enable it.

这个和主板BIOS设置没有关系,应该是固件的问题。 经过测试:启动系统后,原来有硬盘的位置可以热插拔,没有硬盘的位置无法识别。 This has nothing to do with the motherboard BIOS settings. It should be a firmware problem.

After testing: After starting the system, the original location of the hard disk can be hot swapped, and the location without the hard disk cannot be identified.

dbh-love commented 2 years ago

I'm not sure to understand your translation, but I don't think Synology handle disk hot plug. So I don't think you can plug/remove disks while DSM running. Check if original Synology can handle it in the first place... (but I don't think so) And even if original Synology can handle it, remember we are on a hack, don't expect everything to work as original.

You will have more help for these kind of "plays" on xpenology forum where there is a lot more users to discuss with.

非常感谢。怪我有强迫症,要求太高๐·°(৹˃̵﹏˂̵৹)°·๐ 再次感谢你的回答 Thank you. Blame me for being obsessive-compulsive and demanding ˃̵﹏˂̵ ৹)°·๐

Thanks again for your answer

livebelive commented 1 year ago

我跟你一样的强迫症 哈哈如何是好啊。。。回到918盘位只显示4个不舒服 用8盘位的型号 硬盘的序号又不对...并且就像你说的那样,启动之前没插硬盘的接口,在系统运行中插入硬盘是识别不到的。。。

livebelive commented 1 year ago

我上面的没太看懂,回到918的话,这两个问题都能解决是吗? 1:硬盘序号不会乱变动吗? 2:空sata接口系统运行中插入可以识别吗?