fbelavenuto / arpl

Automated Redpill Loader
GNU General Public License v3.0
7.21k stars 1.55k forks source link

can't get it to work/ trying to migrate from redpill 7.0 #334

Open aniel300 opened 1 year ago

aniel300 commented 1 year ago

In reference to: https://github.com/fbelavenuto/arpl-modules/issues/99 "Here are my specs (i have 2 nics at the moment but i have tried with only 1 cable connected at the time but i still ca nt get this to work) have tried different ports, usb devices, sata ssd as the boot drive, i get ip address while configuring, however i do not get nic blinking status if i boot with "switch to direct boot" set to false (not sure what the difference between the two are) i also recommend an update on the documentation and/or in the menu explanation for "switch to direct boot" and lkm version, what they do and their differences.

Note: am trying to migrate from esxi/ lsi card in it mode passthrough to dsm 7.0 (i think). i also did some quick tests on virtualbox and i was able to get it working (although i couldn't get it to work the "RS4021xs+" version) but i cant get it to work on my main machine. hope we can come to a resolution and am also opening a new issue, just in case. thank you for the hard work and keep up the good work. mRemoteNG_JorDQp5toH"

fbelavenuto commented 1 year ago

Ok, is a Realtek. Please try one thing, go to modules menu, option "Choose modules to include" and de-select r8169, return and rebuild the loader. If not works, return to menu, select r8169 and de-select r8168.

Direct boot is a test for a specific motherboard, you can leave it in "false". LKM dev produces more debug. I'll update the docs.

aniel300 commented 1 year ago

doi i need to use "DS1621+" for amd or can i use "DS3622xs+"?

aniel300 commented 1 year ago

how can i fix the numering of hdds/ how can i make it star from 0 or 1 ? image

aniel300 commented 1 year ago

If i use "DS1621+" with "Direct boot=false:" it boots but i get "no drives detected" If i use "DS1621+" with "Direct boot=true:" i believe i dont get network light If i use "DS3622xs+" with "Direct boot=false:" it doesn't boot/ i get no blinkin light. If i use "DS3622xs+" with "Direct boot=true:" it boots and i get the option to recover (hdd were moved, bla, bla, etc) but then after it reboots it doesn't boot anymore/ i get blinking light but i can't access it or see it on "http://find.synology.com".

Note: i used r8169 but i have a feeling r8168 will also work as well and even both selected at the same time will work. But am at a loss here, idk what to do or what am doing wrong. chrome_kDdYqsCKfA

fbelavenuto commented 1 year ago

doi i need to use "DS1621+" for amd or can i use "DS3622xs+"?

For AMD cpu it is necessary to use v1000 platform (DS1621+, DS2422+, FS2500+), but all these models are Device-tree, they only work with native SATA ports, they don't work with LSI/SCSI/etc.

If i use "DS3622xs+" with "Direct boot=true:" it boots and i get the option to recover (hdd were moved, bla, bla, etc) but then after it reboots it doesn't boot anymore/ i get blinking light but i can't access it or see it on "http://find.synology.com/".

Interesting!! If it booted this way it's a solution, and if it recognized the network card even better!! Could it be that you have not set a fixed IP? If the lights flash it means the network driver worked.

You can do one thing, add the "dbgutils" addon, rebuild the loader and boot, then access your usb flash disk and get the files from the "log" folder of the first partition.

aniel300 commented 1 year ago

For AMD cpu it is necessary to use v1000 platform (DS1621+, DS2422+, FS2500+), but all these models are Device-tree, they only work with native SATA ports, they don't work with LSI/SCSI/etc. so i need to use DS3622xs+ right ?

Interesting!! If it booted this way it's a solution, and if it recognized the network card even better!! Could it be that you have not set a fixed IP? If the lights flash it means the network driver worked.

in this partical case i have a permanent ip set in my pfsense for this partical nic/mac address

You can do one thing, add the "dbgutils" addon, rebuild the loader and boot, then access your usb flash disk and get the files from the "log" folder of the first partition.

wil do and report back, do u have a discord server for this project where we can talk?

aniel300 commented 1 year ago

here are the logs logs.zip

fbelavenuto commented 1 year ago

so i need to use DS3622xs+ right ? Looking into logs, not works!

Test other models, I'm not sure if there are any models compiled for Intel that work well on AMD.

aniel300 commented 1 year ago

so my options are to use a intel base cpu or use a type 1 hypervisor (esxi, etc)?

fbelavenuto commented 1 year ago

so my options are to use a intel base cpu or use a type 1 hypervisor (esxi, etc)?

The forum may have some tips. I myself don't have a microcomputer with AMD to do better tests.

aniel300 commented 1 year ago

ok thanks

fbelavenuto commented 1 year ago

Some sucess?

aniel300 commented 1 year ago

@fbelavenuto i havent played with this/ havent done any more research (right now am running your project on esxi). if u have any more info please do let me know

fbelavenuto commented 1 year ago

Please update ARPL, reboot, update modules, addons and lkm, rebuild the loader and test it.

aniel300 commented 1 year ago

have u done new improvements ? also is it possible to run intel base images on amd cpus ?

fbelavenuto commented 1 year ago

Just for test modules, in yur case the Realtek network card.

aniel300 commented 1 year ago

ok i will test soon, but can u answer my question about "is it possible to run intel base images on amd cpus ?"

fbelavenuto commented 1 year ago

ok i will test soon, but can u answer my question about "is it possible to run intel base images on amd cpus ?"

Some models works, only testing to discover

aniel300 commented 1 year ago

ok i will try and report back. but the reason am asking is because i only have amd cpu but i also use lsi cards so i need the intel base images

aniel300 commented 1 year ago

the reason am asking is because i use amd and lsi card so i i need the intel base image, don't i ?

fbelavenuto commented 1 year ago

the reason am asking is because i use amd and lsi card so i i need the intel base image, don't i ?

Yep! ADM models are only DT, incompatible with HBA

aniel300 commented 1 year ago

ok i will do some testing and report back if i can get it working on amd

aniel300 commented 1 year ago

i did some more testing and i just realized my issue is related to this. have u figured what the issue is and do you have an eta ?https://github.com/fbelavenuto/arpl/issues/449