fbelavenuto / arpl-modules

Binary modules for ARPL
GNU General Public License v2.0
25 stars 44 forks source link

Network issue, DS3622xs+, RTL8111 with r8169 #43

Open SebbesApa opened 2 years ago

SebbesApa commented 2 years ago

Hi,

I have a problem with no ethernet activity after booting. Loading DSM kernel... Booting... and 30 seconds later, give or take, no ethernet activity. The physical console hangs as well and i have to shut down the pc with the power button. I have the chipset RTL8111 and it seems to me that the driver exists in the loader (Kernel driver in use: r8169)

Previously i got this to work with TCRP 0.8.0.0/0.8.0.5, broadwellnk-7.1.0-42621 (DS3622xs+)

I've attached some log files as well as my config. Anyone that can see what i'm missing? Is there some other log that can be of use? dmesg.log lspci -nnk.log user-config.yml.txt

Thanks!

the-leaf commented 2 years ago

you can test it extract file and use ssh copy folder to /mnt/p3/addons/

add new addons rt8169

rebuild loader

Sorry, my English is bad.

rt8169.zip

1

2

SebbesApa commented 2 years ago

Unfortunately the result is the same with that rt8169 addon.

fbelavenuto commented 2 years ago

Then in your case the better module to use is the r8168.

SebbesApa commented 2 years ago

Getting a "Addon r8168 not found!" when i added r8168: "" to the user-config. Guessing that it is not included and i have to manually add it? If so, do you have a link to it?

fbelavenuto commented 2 years ago

Do not exists an addon called "r8168", is necessary delete the "r8169.ko" from modules and do not delete the "r8168.ko". Please type this commands inside ARPL:

cd /mnt/p3/modules ls mkdir broadwellnk gzip -dc broadwellnk-4.4.180.tgz | tar xf - -C broadwellnk cd broadwellnk rm r8169.ko tar cf /tmp/broadwellnk-4.4.180.tar * cd /mnt/p3/modules gzip /tmp/broadwellnk-4.4.180.tar mv /tmp/broadwellnk-4.4.180.tar.gz broadwellnk-4.4.180.tgz

Then access ARPL typing "menu.sh", rebuild the loader and test it.

fbelavenuto commented 2 years ago

To make it easier, use this pre-release (re-burn the image): https://github.com/fbelavenuto/arpl/actions/runs/3184033056 (Get in Artifacts session)

Select the model, buildnumber and the rest and before creating the loader go to the menu "Modules" option "Choose modules to include" and de-select r8169, leaving r8168 selected.

SebbesApa commented 2 years ago

The result is the same, not ethernet activity after "booting". Tried both removing r8169.ko manually like your first example as well as unchecking r8169 under "choose modules" in your pre release v0.5-alpha1.

fbelavenuto commented 2 years ago

To finish the test, please leave only r8169 selected and deselect r8168 (leave the other modules all selected)

SebbesApa commented 2 years ago

Same result with only r8169.

SebbesApa commented 2 years ago

Is there any test i can do in TCRP to see what the difference is between the loaders?

SebbesApa commented 2 years ago

Just tested TCRP 0.9.2.7 with broadwellnk-7.1.1-42962 and it's using r8169 for my mainboard. Ethernet connectivity works well with that.

` [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json ######################################################################## 100.0% [OK] [#] ========================================== pocopico.r8169 ========================================== [#] Extension name: r8169 [#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support [#] To get help visit: [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169 [#] Software author: https://github.com/pocopico [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json [#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661 [#] =======================================================================================

Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169 Searching for matching extension for r8169 Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json" ------------------------------------------------------------------------------------------------ `

fbelavenuto commented 2 years ago

Please update modules, select only r8169 (deselect r8168) and try again

SebbesApa commented 2 years ago

Updated the modules and made sure only r8169 was selected, but with the same result, no eth connectivity :-/

fbelavenuto commented 2 years ago

Ok, I've replaced the r8169.ko with the pocopico's r8169.ko I will need to study more.

SebbesApa commented 2 years ago

Updated everything within 0.5-alpha1, but still the same problem. Don't understand if pocopico's r8169.ko should fix this or not, of if I get that if i update everything within ARPL.

SebbesApa commented 2 years ago

Did the tests with v1.0-beta2. Same results.

fabio-ffclrp commented 2 years ago

Ok, thanks for the test. I still haven't found a solution for your case, but I'm looking.

fbelavenuto commented 1 year ago

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

SebbesApa commented 1 year ago

Updated to v1.0-beta11a as well as modules, addons and lkm but unfortunately it does not work.

fbelavenuto commented 1 year ago

Ok, thanks for the test