Jump to content
XPEnology Community

Automated RedPill Loader (ARPL)


fbelavenuto

Recommended Posts

Just upgraded from my old setup (4th gen) to a new Intel 8th gen one, but no matter what beta release or model I pick during setup, I can never get passed the booting screen after picking "Boot loader'. Neither Syno Assistant or my router finds anything with an ip. Have tried with three different USB drives now and still the same.

I thought it was my NIC that was the the problem (i219), but if I take the usb from the old setup with 918+ Alpha1 - then it works. Except for HW transcoding which I kinda need. Only difference is that the ip listed during setup/boot have a different ending (56 vs 169).

 

Does anyone have any tips whatsoever, so I can get HW transcoding working again? Would also be nice to get on the beta releases instead, but not a showstopper.

 

EDIT: Ahh can see on github that more users are having issues when there is more than two drives. Will wait for at fix then :)

Edited by Rasmus86
Link to comment
Share on other sites

On 12/31/2022 at 1:58 AM, idaanx said:

Newer Intel CPUs don't seem to be effected by the acpi-cpufreq module and work perfectly without it. Same for my i3-6100T, maybe Skylake is the cutoff since Haswell still had the issue.

 

@fbelavenuto @pocopico  Since posting this I've also discovered a probable cause for this. I've compared the results of the cpufreq directories in the ARPL configurator and noticed the driver is different. My main board with Intel uses the intel_cpufreq driver and the newer Skylake uses intel_pstate driver to manage the states.

 

This uses something called Intel Hardware P-State (HWP) which was introduced with Skylake and is easy to test for and exclude the acpi-cpufreq module. The real 3622xs still uses pre-Skylake Xeons so makes sense that model loads the module.

 

To test older Intel chips for frequency scaling there is Intel Dynamic Acceleration (IDA), which is also easy to test for. @Dreadnought just confirmed this in a way, since this even older Atom doesn't have the issue and also no IDA feature. Verified the CPU flags online.

 

This just leaves AMD. I've extracted the the 1621+ pat file and checked the 70-cpufreq-kernel file, for this Ryzen model it still loads the acpi-cpufreq module, so should be good...

  • Like 2
Link to comment
Share on other sites

Hi,

I'm trying to install DSM 7.1 on KVM (RHEL8) by using the following guide:

All of the steps complete successfully but after step8 (exitcheck.sh reboot) I don't get a working network card for my guest (tried virtio and e1000e)

 

If I use 'e1000e' as the H/W type for the NIC, the serial console shows this on bootup:

 

Quote

 

Mon Jan  2 22:29:25 2023

SynologyNAS login: [   49.725380] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   49.727706] e1000e 0000:01:00.0 eth0: NIC Link is Down
[   66.301763] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   66.303984] e1000e 0000:01:00.0 eth0: NIC Link is Down
[   71.602002] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   71.614607] e1000e 0000:01:00.0 eth0: NIC Link is Down
[   74.747194] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   74.749222] e1000e 0000:01:00.0 eth0: NIC Link is Down
[   79.934335] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   79.936743] e1000e 0000:01:00.0 eth0: NIC Link is Down
[   80.564343] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

 


if I try to use virtio for the NIC and add the driver, no NIC is detected and an ls of /lib/modules does not show any virtio NIC driver.

 

Quote

 

./rploader.sh ext ds3622xsp-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json

./rploader.sh build ds3622xsp-7.1.0-42661

 

 

Quote

SynologyNAS> ls
adt7475.ko             leds-atmega1608.ko     syno_hddmon.ko
cdc-acm.ko             leds-lp3943.ko         synobios.ko
dca.ko                 lockd.ko               synofsbd.ko
e1000e.ko              loop.ko                synorbd.ko
ehci-hcd.ko            mpt3sas.ko             udp_tunnel.ko
ehci-pci.ko            mv14xx.ko              usb-common.ko
fat.ko                 nfs.ko                 usb-storage.ko
grace.ko               nfsv3.ko               usbcore.ko
hid.ko                 pgdrv.ko               usbhid.ko
i2c-algo-bit.ko        phy_alloc_0810_x64.ko  vfat.ko
i40e.ko                r8168.ko               vxlan.ko
igb.ko                 sg.ko                  xhci-hcd.ko
ip6_udp_tunnel.ko      sha256_generic.ko      xhci-pci.ko
ixgbe.ko               sunrpc.ko


 

The steps I am using are as follows:
 

Quote

 

./rploader.sh update
./rploader.sh fullupgrade
./rploader.sh|grep 3622
./rploader.sh identifyusb
./rploader.sh serialgen DS3622xs+
./rploader.sh satamap
tce-load -iw nano
nano user_config.json
./rploader.sh listmods ds3622xsp-7.1.0-42661

./rploader.sh ext ds3622xsp-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json (ONLY FOR VIRTIO)

./rploader.sh build ds3622xsp-7.1.0-42661
exitcheck.sh reboot

 

 

Any ideas?

 

I'd like to get DSM 7.1.1 working in a VM so I can test out things without doing it on the real NAS (my only NAS).
Thanks for the help,


V.

Link to comment
Share on other sites

Interestingly, I found a workaround with e1000e:

 

- Let the KVM DSM guest boot and login on the serial port.

- On the virtual serial port, login as 'root'

- when logged in, type 'rmmod e1000e' (this unloads the driver)

- then type insmod /lib/modules/e1000e.ko

-then- things started working and I could ping my virtual NAS.

 

I was then able to find the NAS in the Synology assistant and install it.

Upon bootup, I was greeted by the same kind of e1000e messages:
 

 

[  108.413268] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  108.416259] e1000e 0000:01:00.0 eth0: NIC Link is Down
[  117.923412] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  117.926688] e1000e 0000:01:00.0 eth0: NIC Link is Down
[  119.126404] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  119.129814] e1000e 0000:01:00.0 eth0: NIC Link is Down
[  120.003781] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  120.007264] e1000e 0000:01:00.0 eth0: NIC Link is Down


 

Again, I did the module unload/reload, had to configure the IP manually and things started working:

root@SynologyNAS:~# rmmod e1000e
[  160.173250] Module [e1000e] is removed. 
[  160.238040] e1000e 0000:01:00.0 eth0: NIC Link is Down



root@SynologyNAS:~# insmod /lib/modules/e1000e.ko 
[  173.549954] e1000e: Intel(R) PRO/1000 Network Driver - 3.4.2.4-NAPI
[  173.551544] e1000e: Copyright(c) 1999 - 2019 Intel Corporation.
[  173.555129] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[  173.601491] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock
[  173.657412] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 52:54:00:8c:0b:bd
[  173.658556] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection
[  173.659545] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000



root@SynologyNAS:~# ifconfig eth0 10.0.128.227 netmask 255.255.252.0 up
[  292.929087] e1000e 0000:01:00.0 eth0: MSI interrupt test failed, using legacy interrupt.
[  292.932374] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  292.933235] 8021q: adding VLAN 0 to HW filter on device eth0
root@SynologyNAS:~# [  293.312637] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[  293.318196] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

It really seems as if the e1000e driver does not work the first time it is loaded

 

this is what the virtual e1000e Ethernet H/w shows up like:

 

root@SynologyNAS:~# lspci -v -s  0000:01:00.0
0000:01:00.0 Class 0200: Device 8086:10d3
    Subsystem: Device 8086:0000
    Flags: bus master, fast devsel, latency 0, IRQ 22
    Memory at fca40000 (32-bit, non-prefetchable) [size=128K]
    Memory at fca60000 (32-bit, non-prefetchable) [size=128K]
    I/O ports at d000 [size=32]
    Memory at fca80000 (32-bit, non-prefetchable) [size=16K]
    Expansion ROM at fca00000 [disabled] [size=256K]
    Capabilities: [c8] Power Management version 2
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [e0] Express Endpoint, MSI 00
    Capabilities: [a0] MSI-X: Enable- Count=5 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number 52-54-00-ff-ff-8c-0b-bd
    Kernel driver in use: e1000e

 

Edited by ElCoyote_
  • Like 1
Link to comment
Share on other sites

On 12/25/2022 at 4:59 PM, idaanx said:

 

My post below probably wasn't very clear to for who it was, but you can use it too, to help you figure out wat the issue might be.

 

@Derex and @royeiror this was for you I guess...

 

 

Hi, please see the screenshot with the result. 

 

 Currently working using fbelavenuto method to enable direct boot under advanced menu.

Screenshot 2023-01-03 001259.png

Edited by Derex
Link to comment
Share on other sites

10 hours ago, fbelavenuto said:

Guys, please do a test who has an HP microserver and who has a performance problem: Activate "Direct Boot" within the "Advanced menu". Just active and boot, is not necessary to rebuild the loader.

 

 

 

WORKS ! works and boots perfectly after activating direct boot.

 

Could you please let me know what that does ?  Thanks

Edited by Derex
Link to comment
Share on other sites

Help please I followed different guides on this forum
 

ARPL, unsuccessful, why I’m receiving this messages? “Error downloading” I burned the img from rufus, connected the usb, everything great, I can access to the automated interface from Pc, iPad and MacBook to select the choices for the boot loader, it’s weird because I can connect from local network, but it looks like if I couldn’t download from GitHub
 

My settings are: 

USB Flash drive 8GB with latest ARPL release (v1.0-beta9)

Motherboard DG41RQ
processor Q6600, Intel core 2 Quad, 775
4gb ram 2x2GB modules
network card: rtl8111

1 sata drive connected 

 

trying with DS3622xs+ 42962 “broadwellnk”, the loader sends error downloading when I try to update it from the same window.

01-AEBA96-2-C97-4-D9-B-86-D8-8-EE4-A8-C4

 

1899-D251-B1-A4-4-CD0-946-A-06859957-F05

 

79-ED0-A9-C-9571-4048-B284-7-E0-A6-E12-D
 

D28-BCF0-C-253-C-4-FEA-9-EFA-EDC3-A3-ADA

 

 

Link to comment
Share on other sites

23 minutes ago, Joedoesthings said:

Help please I followed different guides on this forum
 

ARPL, unsuccessful, why I’m receiving this messages? “Error downloading” I burned the img from rufus, connected the usb, everything great, I can access to the automated interface from Pc, iPad and MacBook to select the choices for the boot loader, it’s weird because I can connect from local network, but it looks like if I couldn’t download from GitHub
 

My settings are: 

USB Flash drive 8GB with latest ARPL release (v1.0-beta9)

Motherboard DG41RQ
processor Q6600, Intel core 2 Quad, 775
4gb ram 2x2GB modules
network card: rtl8111

1 sata drive connected 

 

trying with DS3622xs+ 42962 “broadwellnk”, the loader sends error downloading when I try to update it from the same window.

01-AEBA96-2-C97-4-D9-B-86-D8-8-EE4-A8-C4

 

1899-D251-B1-A4-4-CD0-946-A-06859957-F05

 

79-ED0-A9-C-9571-4048-B284-7-E0-A6-E12-D
 

D28-BCF0-C-253-C-4-FEA-9-EFA-EDC3-A3-ADA

 

 

check the correct date in your maschine 

when is not woking create the usb with w32 diskimager 

https://sourceforge.net/projects/win32diskimager/

 

 

Link to comment
Share on other sites

13 hours ago, ElCoyote_ said:

Hi,

I'm trying to install DSM 7.1 on KVM (RHEL8) by using the following guide:

All of the steps complete successfully but after step8 (exitcheck.sh reboot) I don't get a working network card for my guest (tried virtio and e1000e)

 

If I use 'e1000e' as the H/W type for the NIC, the serial console shows this on bootup:

 


if I try to use virtio for the NIC and add the driver, no NIC is detected and an ls of /lib/modules does not show any virtio NIC driver.

 

 


 

The steps I am using are as follows:
 

 

Any ideas?

 

I'd like to get DSM 7.1.1 working in a VM so I can test out things without doing it on the real NAS (my only NAS).
Thanks for the help,


V.

 

Looks like you're in the wrong section, here you can find discussions and help for TCRP

  • Like 1
Link to comment
Share on other sites

2 hours ago, Joedoesthings said:

Help please I followed different guides on this forum
 

ARPL, unsuccessful, why I’m receiving this messages? “Error downloading” I burned the img from rufus, connected the usb, everything great, I can access to the automated interface from Pc, iPad and MacBook to select the choices for the boot loader, it’s weird because I can connect from local network, but it looks like if I couldn’t download from GitHub
 

My settings are: 

USB Flash drive 8GB with latest ARPL release (v1.0-beta9)

Motherboard DG41RQ
processor Q6600, Intel core 2 Quad, 775
4gb ram 2x2GB modules
network card: rtl8111

1 sata drive connected 

 

trying with DS3622xs+ 42962 “broadwellnk”, the loader sends error downloading when I try to update it from the same window.
 

 

You could also try BalenaEtcher to flash the drive, works on Windows, Mac and Linux. It will also verify the data written to the flash drive.

 

Are you sure the computer you are trying to install on, is connected to the web? Could you try to ping github.com on it, either directly or using SSH? Maybe restart your router, just to be sure...

Link to comment
Share on other sites

On my HPE Microserver Gen 10 i have 24 GB DDR4 2400T ECC UDIMM memory installed ( 16gb+8gb), i had tried different loaders and on all i have just about 4gb memory usable, and around 20gb is reserved. I had fresh installed a lot of times, uefi bios and firmware up to date.

I had tried to switch the ram modules over like advised on other forums but still the same. I can't even install any vm because no memory left to use.

Any idea what could be  ? (just to mention it worked perfectly on truenas and other things i had installed before)

 

Using latest arpl with latest DS3622xs+ image.

Screenshot 2023-01-03 130616.png

Link to comment
Share on other sites

12 hours ago, Derex said:

WORKS ! works and boots perfectly after activating direct boot.

 

Could you please let me know what that does ?  Thanks

 

Like the name suggests it boots directly into DSM without first loading the ARPL kernel ;-). ARPL gets loaded, reboots for a clean slate and loads DSM, so no conflicts between the 2.

Link to comment
Share on other sites

7 minutes ago, idaanx said:

 

Like the name suggests it boots directly into DSM without first loading the ARPL kernel ;-). ARPL gets loaded, reboots for a clean slate and loads DSM, so no conflicts between the 2.

this direct boot will also fix this low cpu performance misc addon acpid cpuid ?

Edited by nemesis122
Link to comment
Share on other sites

22 hours ago, fbelavenuto said:

Guys, please do a test who has an HP microserver and who has a performance problem: Activate "Direct Boot" within the "Advanced menu". Just active and boot, is not necessary to rebuild the loader.

 

@ fbelavenuto

 

prezado Fabio, um grande elogio pela instalação automatizada do seu rpill, consegui atualizá-lo no meu NAS de 6.2 para 7.1.1 de forma rápida e fácil sem backup e restauração!

Ótimo trabalho obrigado e feliz ano novo!
Saudações da Europa-Itália!

  • Like 1
Link to comment
Share on other sites

10 minutes ago, nemesis122 said:

will direct boot also fix this the cpu low performance mis addon acpid ?

 

It fixes the part of the CPU freq being in the lowest state, in your case the 800 MHz you saw in the Info Center. Very likely being in the base clock, this is the advertised freq without the turbo speeds. On your E3-1246v3 this could be around a 10% lose, for me it's 20%.

 

If you want all performance you still need to load the acpi-cpufreq and performance command.

  • Like 1
Link to comment
Share on other sites

12 hours ago, Derex said:

On my HPE Microserver Gen 10 i have 24 GB DDR4 2400T ECC UDIMM memory installed ( 16gb+8gb), i had tried different loaders and on all i have just about 4gb memory usable, and around 20gb is reserved. I had fresh installed a lot of times, uefi bios and firmware up to date.

I had tried to switch the ram modules over like advised on other forums but still the same. I can't even install any vm because no memory left to use.

Any idea what could be  ? (just to mention it worked perfectly on truenas and other things i had installed before)

 

Using latest arpl with latest DS3622xs+ image.

Screenshot 2023-01-03 130616.png

 

 

 

Fixed for now !!!

 

I had found that adding disable_mtrr_trim to grub.cfg worked. Did this really easy by adding a new command from the loader. 

Still wondering what caused this ? don't even know what that command does.

 

Also , after that command i had switched back from direct boot from advanced menu in loader . Now loader works perfectly, without needing direct boot, and also memory issues gone !! Happy days !!!

 

Can someone please tell me what that command does and why it happened ?

 

 

Screenshot 2023-01-04 011446.png

Edited by Derex
Link to comment
Share on other sites

15 hours ago, nemesis122 said:

check the correct date in your maschine 

when is not woking create the usb with w32 diskimager 

https://sourceforge.net/projects/win32diskimager/


the date is correct in "server bios". 

IMG-1026.jpg

IMG-1379.jpg

looks like im connectee to internet because the ip is related to the home router and i can access in ARPL from another computers "via web", is it possible that the driver allows me to conect locally but denies me the connection to github? 😕  

15 hours ago, nemesis122 said:

 

 

Link to comment
Share on other sites

13 hours ago, idaanx said:

 

You could also try BalenaEtcher to flash the drive, works on Windows, Mac and Linux. It will also verify the data written to the flash drive.

 

Are you sure the computer you are trying to install on, is connected to the web? Could you try to ping github.com on it, either directly or using SSH? Maybe restart your router, just to be sure...

 yes, im connected because lets say server its running the loader, i connect from the macbook over wifi and i can do all the steps but it didnt downloaded from github, how can i check the driver of the bootloader or ping github?  

Link to comment
Share on other sites

19 minutes ago, Joedoesthings said:

 yes, im connected because lets say server its running the loader, i connect from the macbook over wifi and i can do all the steps but it didnt downloaded from github, how can i check the driver of the bootloader or ping github?  

 

Local network is not the same as the internet. If you don't know how to use SSH use a monitor and keyboard on the computer you run ARPL on and wait until it is done loading. On the console type "ping -t3 github.com" without the quotes and if it works you'll get a connection, if it doesn't work try "ping -t3 1.1.1.1".

 

What do you mean with driver?

Link to comment
Share on other sites

6 hours ago, Joedoesthings said:

I got this, what does it mean? How can i connect it to network/GitHub?

By drivers i meant: is there a way to add the driver or my RTL8111 to the ARPL so it can connect to network? 

002B2D13-0E55-4DB9-80A0-0C56F12F349D.jpeg

 

The NIC works otherwise you wouldn't have gotten an ip from the router, 192.168.x.x are local handed out by the router.

 

The ping in ARPL is a bit different, try "ping -w5 1.1.1.1" again. If you get a positive response it has internet, if not it doesn't. And restart your router and/or modem, and try to ping github.com or something else again.

 

If you are able to ping 1.1.1.1 but a url doesn't work it's a DNS issue.

 

Run "nslookup github.com" to see what DNS server is used.

Link to comment
Share on other sites

On 1/2/2023 at 3:05 PM, idaanx said:

3615xs is the only one which works without the fix, and since I didn't know who to fix it yet I switch back to it.

You wrote, DS3615XS can use cpu freq and intel speedstep governors  without any trick? So if i switch to, it will work at me? Asrock H110m-ITX and i7-6700 CPU.  

Thanks! 

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...