August 31, 20196 yr Author Just now, Xaero said: From /etc/fstab: /boot/bzmodules /lib/modules squashfs ro,defaults 0 2 The /lib/modules directory is actually a mounted squashfs filesystem, you'd (in the end) need to rebuild that squashfs image with the new file. You may be able to get away with just using: insmod /path/to/r8168.ko.xz insmod accepts paths, but does no dependency resolution. modprobe looks inside /lib/modules/... for the module, and automatically probes any needed modules. rmmod r8169 && insmod/path/to/r8168.ko.xz May work. If not you can get really convoluted for testing: mkdir /tmp/testing mkdir /tmp/testing/work mkdir /tmp/testing/overlay mount -t overlay overlay -o lowerdir=/lib/modules,upperdir=/tmp/testing/upper,workdir=/tmp/testing/work /lib/modules You can then copy that module into the directory, and Linux should be none the wiser of it's actual location. This sort of thing is the reason I wish unraid would embrace package management; but I understand their reasons for not doing so. so im getting 'invalid module format' error and i think that the issue is that the linked r8168 driver depends on having linux 4.19-66 but unraid is on 4.19-56. While i dont think it uses the actual config file from your linked file there may be something inside the .ko.xz stating the dependencies. The only r8168 driver on the site has a 404 error when a download is attempted.
August 31, 20196 yr 2 minutes ago, Tom21 said: so im getting 'invalid module format' error and i think that the issue is that the linked r8168 driver depends on having linux 4.19-66 but unraid is on 4.19-56. While i dont think it uses the actual config file from your linked file there may be something inside the .ko.xz stating the dependencies. The only r8168 driver on the site has a 404 error when a download is attempted. Yes, it may be (unfortunately) that you have to compile the module to even attempt testing. That's a long and grueling process which I will not suggest for the feint of heart. A simpler solution is to acquire an Intel NIC - though it would be nice to prove that this driver is even the problem to begin with.
August 31, 20196 yr Author Just now, Xaero said: Yes, it may be (unfortunately) that you have to compile the module to even attempt testing. That's a long and grueling process which I will not suggest for the feint of heart. A simpler solution is to acquire an Intel NIC - though it would be nice to prove that this driver is even the problem to begin with. yep just thinking i shall pull the trigger on a new nic. Might passthrough the realtek one for vms or something idk. Thanks for all your help so far and i reckon youve found the smoking gun here but we'll see tomorrow. I assume youre in America so good day(?) but its good night for me for the first time in quite a while. see ya. but one thing thats left lingering in my mind is why did the freenas setup suddenly not work? I obviously didnt change NIC and that realtek one worked in the first place so its all still rather strange. finna cop this rq: https://www.amazon.co.uk/10Gtek®-Gigabit-Desktop-Network-EXPI9301CT/dp/B01H6O7X0W/ref=sr_1_5?keywords=lol%2Blol%2Blol&qid=1567221633&s=computers&sr=1-5&th=1 Edited August 31, 20196 yr by Tom21
August 31, 20196 yr 3 hours ago, Tom21 said: yep just thinking i shall pull the trigger on a new nic. Might passthrough the realtek one for vms or something idk. Thanks for all your help so far and i reckon youve found the smoking gun here but we'll see tomorrow. I assume youre in America so good day(?) but its good night for me for the first time in quite a while. see ya. but one thing thats left lingering in my mind is why did the freenas setup suddenly not work? I obviously didnt change NIC and that realtek one worked in the first place so its all still rather strange. finna cop this rq: https://www.amazon.co.uk/10Gtek®-Gigabit-Desktop-Network-EXPI9301CT/dp/B01H6O7X0W/ref=sr_1_5?keywords=lol%2Blol%2Blol&qid=1567221633&s=computers&sr=1-5&th=1 That I am not certain of. FreeBSD is built on completely different source to Linux, so FreeNAS is inherently completely different to Unraid. That said, a quick Google shows users of Freenas having issues with the same card(s) for probably similar reasons For example, this thread:https://forums.freebsd.org/threads/replacing-realtek-re-driver.55861/page-2 Edited August 31, 20196 yr by Xaero
August 31, 20196 yr I would recommend to buy an Intel ethernet controller. These have proven to work well.
Archived
This topic is now archived and is closed to further replies.