Jump to content
XPEnology Community

Automated RedPill Loader (ARPL)


fbelavenuto

Recommended Posts

@fbelavenuto

 

What great work 👍

Thanks so much for all your hard work on "modernisation" the user friendliness of the loader.

 

i am tying it out in my Hypervisor of choice XCP-NG/xen-orchestra and i can make it boot just fine and configure the loader but it just sees no disks at all.

my Hypervisor is not very flexible about "emulating" hardware, so i don´t relay have and way to choose the "disks" other than virtual disk and Add new disk,

other operation systems see these disks just fine, both linux and windows.

i have tried DS920 and 3622+ but the loader config sees no disks in the "green" options.

hope for support the future as XCP-NG seems to grow i popularity, and it is based on the open source xen project

 

Thanks

 

  • Like 1
Link to comment
Share on other sites

New alpha release:

 

https://github.com/fbelavenuto/arpl/releases/tag/v0.3-alpha5

 

The big change is that the size of partitions 1 and 2 are now 50MB each, the modified files from DSM and Arpl's kernel/rd.gz are on partition 3.

I've added PATA modules for anyone who needs to use a DoM in an IDE interface. I didn't test much because I didn't have enough hardware but what I could test worked.

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Need some help, trying to get this to work with a Supermicro X10SDV-6C+-TLN4F and using a LSI 9211-8 HBA mode, I'm currently running 3622xs 42218 built a few months ago using rploader, would like to update to 7.1 using arpl I can build the loader and find the box but can't find any disks

I've tried adding DiskIdxMap and SataPortMap to the commandline but still can't find the disks

 

any suggestions, btw using onboard controller I can find the disks ok but my onboard controller i believe is failing as i encountered several disk crashes while using it, none when using the HBA card

TIA

Link to comment
Share on other sites

On 7/21/2022 at 7:01 PM, mrmvd said:

Just find this topic and test under VMWare ESXi 6.7U3.
VMXNet3 driver did't work, E1000e boots fine.
Thank you!

 

I tested the latest version (0.3a5) on an ESXi 6.7.0, vmxnet3 and vm_pvscsi working. I had to create the SCSI disks as "thick provision eager zeroed" to avoid formatting errors. The tested models were the non-DT ones, since the DT models are only compatible with SATA.

Link to comment
Share on other sites

1 hour ago, neonflx said:

Need some help, trying to get this to work with a Supermicro X10SDV-6C+-TLN4F and using a LSI 9211-8 HBA mode, I'm currently running 3622xs 42218 built a few months ago using rploader, would like to update to 7.1 using arpl I can build the loader and find the box but can't find any disks

I've tried adding DiskIdxMap and SataPortMap to the commandline but still can't find the disks

 

any suggestions, btw using onboard controller I can find the disks ok but my onboard controller i believe is failing as i encountered several disk crashes while using it, none when using the HBA card

TIA

Make sure you add mpt3sas driver for the HBA card. and of course LSI card has to be in IT mode.  Once you have card in HBA (IT) mode, and drivers (mpt3sas) installed, drives connected will appear. satamap and diskidxmap have no effect on HBA, so the drives on the HBA will just appear after whatever you have on built in AHCI (sata) ports. The satamap diskidxmap does effect (only effects) AHCI sata ports, not HBA.

Link to comment
Share on other sites

Another Small Test

https://github.com/fbelavenuto/arpl/releases/tag/v0.3-alpha5

 

I tried Mellanox cx353a 10gb

 

There a constant issue with it turns after the kernel loads. 

Next, I'm also having a issue with ssh I can't get it working Putty with Windows 10 or Ubuntu

I have a great dislike for the credentials, they suck....

 

So now I have tested three revisions and they all fail because the of the Mellanox cx353a 10gb issue

 

I changed the test because it's frustrating to hit wall over and over with testing.

 

So  new test Supermicro 10gb single port SPF

Go thru the install and it works like butter  DSM_DS3617xs_42661

It finds the 10gb nic and my LSi  9207 automatically

I can see all the drives, It was the easiest install I have ever done

Great job fbelavenuto, I appreciate you efforts...it a good idea.......

 

Link to comment
Share on other sites

@fbelavenuto I've noticed this issue which i was not aware of ,

 

If there is inconsistencies on the number of netif_num and macX redpill will panic. 

 

e.g  only mac1 was set and netif_num2:


[    1.860905] <redpill/runtime_config.c:94> Configured boot device type to fake-SATA DOM
[    1.861892] <redpill/runtime_config.c:137> No MAC addressed are specified - use "macs=" or "mac1="..."mac4=" to set them
[    1.863933] <redpill/runtime_config.c:142> Number of defined interfaces ("netif_num=2") is not equal to the number of MAC addresses found (0)
[    1.866893] <redpill/runtime_config.c:206> Config validation resulted in ERR
[    1.867921] <redpill/runtime_config.c:210> Config validation FAILED

 
e.g  mac1 and mac2 was set and netif_num1:

  
  1.727955] <redpill/runtime_config.c:94> Configured boot device type to fake-SATA DOM
[    1.729000] <redpill/runtime_config.c:142> Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2)
[    1.730956] <redpill/runtime_config.c:206> Config validation resulted in ERR
[    1.731986] <redpill/runtime_config.c:210> Config validation FAILED
[    1.732966] <redpill/runtime_config.c:220> Failed to populate runtime config!

 

Should there be a validation of this cmdline inconsistencies to avoid headless users failing to install ?

Edited by pocopico
  • Like 2
Link to comment
Share on other sites

@fbelavenuto I've noticed this issue which i was not aware of ,
 
If there is inconsistency on the number of netif_num and macX redpill will panic. 
 
e.g  only mac1 was set and netif_num2:

[    1.860905] Configured boot device type to fake-SATA DOM
[    1.861892] No MAC addressed are specified - use "macs=" or "mac1="..."mac4=" to set them
[    1.863933] Number of defined interfaces ("netif_num=2") is not equal to the number of MAC addresses found (0)
[    1.866893] Config validation resulted in ERR
[    1.867921] Config validation FAILED
 
e.g  mac1 and mac2 was set and netif_num1:
  
  1.727955] Configured boot device type to fake-SATA DOM
[    1.729000] Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2)
[    1.730956] Config validation resulted in ERR
[    1.731986] Config validation FAILED
[    1.732966] Failed to populate runtime config!
 
Should there be a validation of this cmdline inconsistences to avoid headless users failing to install ?
I saw this error in my logs too, but with TCRP... I can check it again

Edit : actually it seems old logs, probably a misconfiguration on my side. so disregard, sorry.
Link to comment
Share on other sites

1 minute ago, Orphée said:
12 minutes ago, pocopico said:
@fbelavenuto I've noticed this issue which i was not aware of ,
 
If there is inconsistency on the number of netif_num and macX redpill will panic. 
 
e.g  only mac1 was set and netif_num2:

[    1.860905] Configured boot device type to fake-SATA DOM
[    1.861892] No MAC addressed are specified - use "macs=" or "mac1="..."mac4=" to set them
[    1.863933] Number of defined interfaces ("netif_num=2") is not equal to the number of MAC addresses found (0)
[    1.866893] Config validation resulted in ERR
[    1.867921] Config validation FAILED
 
e.g  mac1 and mac2 was set and netif_num1:
  
  1.727955] Configured boot device type to fake-SATA DOM
[    1.729000] Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2)
[    1.730956] Config validation resulted in ERR
[    1.731986] Config validation FAILED
[    1.732966] Failed to populate runtime config!
 
Should there be a validation of this cmdline inconsistences to avoid headless users failing to install ?

I saw this error in my logs too, but with TCRP... I can check it again

 

Thanks @Orphée , but i think this was checked on TCRP either :)

Link to comment
Share on other sites

@fbelavenuto also all PATA modules in Geminilake are unloadable due to missing symbols although libata is included in the kernel :

 

insmod: can't insert './pata_sl82c105.ko': unknown symbol in module, or unknown parameter
[  208.538905] pata_triflex: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  208.541080] pata_triflex: Unknown symbol syno_libata_port_power_ctl (err 0)
[  208.543226] pata_triflex: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  208.545057] pata_triflex: Unknown symbol syno_libata_poweroff_task (err 0)
[  208.551156] pata_triflex: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  208.553036] pata_triflex: Unknown symbol syno_libata_port_power_ctl (err 0)
[  208.554844] pata_triflex: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  208.556859] pata_triflex: Unknown symbol syno_libata_poweroff_task (err 0)

 

SynologyNVR> ls -la /sys/module/libata/
drwxr-xr-x    3 root     root             0 Jul 27 08:03 .
drwxr-xr-x  110 root     root             0 Jul 27 08:02 ..
drwxr-xr-x    2 root     root             0 Jul 27 08:03 parameters
--w-------    1 root     root          4096 Jul 27 08:03 uevent
-r--r--r--    1 root     root          4096 Jul 27 08:03 version
 

 

Link to comment
Share on other sites

3 hours ago, pocopico said:

@fbelavenuto I've noticed this issue which i was not aware of ,

 

If there is inconsistencies on the number of netif_num and macX redpill will panic. 

 

e.g  only mac1 was set and netif_num2:


[    1.860905] <redpill/runtime_config.c:94> Configured boot device type to fake-SATA DOM
[    1.861892] <redpill/runtime_config.c:137> No MAC addressed are specified - use "macs=" or "mac1="..."mac4=" to set them
[    1.863933] <redpill/runtime_config.c:142> Number of defined interfaces ("netif_num=2") is not equal to the number of MAC addresses found (0)
[    1.866893] <redpill/runtime_config.c:206> Config validation resulted in ERR
[    1.867921] <redpill/runtime_config.c:210> Config validation FAILED

 
e.g  mac1 and mac2 was set and netif_num1:

  
  1.727955] <redpill/runtime_config.c:94> Configured boot device type to fake-SATA DOM
[    1.729000] <redpill/runtime_config.c:142> Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2)
[    1.730956] <redpill/runtime_config.c:206> Config validation resulted in ERR
[    1.731986] <redpill/runtime_config.c:210> Config validation FAILED
[    1.732966] <redpill/runtime_config.c:220> Failed to populate runtime config!

 

Should there be a validation of this cmdline inconsistencies to avoid headless users failing to install ?

 

Thanks, I'll add this check.

Link to comment
Share on other sites

3 hours ago, pocopico said:

@fbelavenuto also all PATA modules in Geminilake are unloadable due to missing symbols although libata is included in the kernel :

 

insmod: can't insert './pata_sl82c105.ko': unknown symbol in module, or unknown parameter
[  208.538905] pata_triflex: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  208.541080] pata_triflex: Unknown symbol syno_libata_port_power_ctl (err 0)
[  208.543226] pata_triflex: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  208.545057] pata_triflex: Unknown symbol syno_libata_poweroff_task (err 0)
[  208.551156] pata_triflex: Unknown symbol syno_libata_support_pwr_ctl (err 0)
[  208.553036] pata_triflex: Unknown symbol syno_libata_port_power_ctl (err 0)
[  208.554844] pata_triflex: Unknown symbol syno_libata_set_deep_sleep (err 0)
[  208.556859] pata_triflex: Unknown symbol syno_libata_poweroff_task (err 0)

 

SynologyNVR> ls -la /sys/module/libata/
drwxr-xr-x    3 root     root             0 Jul 27 08:03 .
drwxr-xr-x  110 root     root             0 Jul 27 08:02 ..
drwxr-xr-x    2 root     root             0 Jul 27 08:03 parameters
--w-------    1 root     root          4096 Jul 27 08:03 uevent
-r--r--r--    1 root     root          4096 Jul 27 08:03 version
 

 

 

Bad news :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...