Dvalin21 Posted November 11, 2022 #1 Posted November 11, 2022 Is it possible to install driver to your xpenology nas without it being installed or integrated into the kernel? And if so how? Quote
0 Peter Suh Posted December 9, 2022 #2 Posted December 9, 2022 Is it possible to install drivers on xpenology nas without installing or integrating the drivers into the kernel? If so how? First, after checking the dependencies between the driver (module) en files you want to use, 1. Copy desired module.ko file(s) to /lib/modules directory as root user. 2. /usr/sbin/depmod -a Recreate all module dependencies in /etc/modules.conf with the command 3. modprobe module_name The driver injection process is performed considering the dependencies of the module as a command. Recently I developed M SHELL for TCRP FRIEND Please refer to the contents of the script used in all-modules of https://github.com/PeterSuh-Q3/rp-ext/blob/main/all-modules/src/check-all-modules.sh 1 Quote
0 Dvalin21 Posted December 19, 2022 Author #3 Posted December 19, 2022 On 12/9/2022 at 9:35 AM, Peter Suh said: Is it possible to install drivers on xpenology nas without installing or integrating the drivers into the kernel? If so how? First, after checking the dependencies between the driver (module) en files you want to use, 1. Copy desired module.ko file(s) to /lib/modules directory as root user. 2. /usr/sbin/depmod -a Recreate all module dependencies in /etc/modules.conf with the command 3. modprobe module_name The driver injection process is performed considering the dependencies of the module as a command. Recently I developed M SHELL for TCRP FRIEND Please refer to the contents of the script used in all-modules of https://github.com/PeterSuh-Q3/rp-ext/blob/main/all-modules/src/check-all-modules.sh So snd_hda_intel is the .ko for my AMD GPU. With the kernel for synology being different than the common linux kernel, how would I compile and make it compatible for synology kernel? Quote
0 Peter Suh Posted December 19, 2022 #4 Posted December 19, 2022 11 minutes ago, Dvalin21 said: So snd_hda_intel is the .ko for my AMD GPU. With the kernel for synology being different than the common linux kernel, how would I compile and make it compatible for synology kernel? I also don't know a specific way to recompile it as an extension module for Synology. However, I am using the .ko files already created by pocopico or fabio. Quote
0 Fox Mulder Posted May 15, 2024 #5 Posted May 15, 2024 On 12/9/2022 at 11:35 PM, Peter Suh said: Is it possible to install drivers on xpenology nas without installing or integrating the drivers into the kernel? If so how? First, after checking the dependencies between the driver (module) en files you want to use, 1. Copy desired module.ko file(s) to /lib/modules directory as root user. 2. /usr/sbin/depmod -a Recreate all module dependencies in /etc/modules.conf with the command 3. modprobe module_name The driver injection process is performed considering the dependencies of the module as a command. Recently I developed M SHELL for TCRP FRIEND Please refer to the contents of the script used in all-modules of https://github.com/PeterSuh-Q3/rp-ext/blob/main/all-modules/src/check-all-modules.sh For some reason it didn't work for me.. depmod command does not exist on my DS923+ build (RR loader), and the NCT6775.KO file already exists in the lib/modules folder. Am I missing anything? Do I need to put "nct6775" in modules.conf file? Thanks. Quote
0 Peter Suh Posted May 15, 2024 #6 Posted May 15, 2024 8 hours ago, Fox Mulder said: For some reason it didn't work for me.. depmod command does not exist on my DS923+ build (RR loader), and the NCT6775.KO file already exists in the lib/modules folder. Am I missing anything? Do I need to put "nct6775" in modules.conf file? Thanks. rr may have already loaded this module. Check the module loading results with the command below. dmesg | grep nct6775 If you don't have modprobe You can also use insmod instead. Quote
0 Fox Mulder Posted May 24, 2024 #7 Posted May 24, 2024 On 5/15/2024 at 7:30 PM, Peter Suh said: rr may have already loaded this module. Check the module loading results with the command below. dmesg | grep nct6775 If you don't have modprobe You can also use insmod instead. I have i915 loaded in RR, but when I run the "dmesg | grep nct6775" I get nothing. When I try insmod, I get "insmod: ERROR: could not load module NCT6775.KO: No such file or directory" Quote
0 Peter Suh Posted May 24, 2024 #8 Posted May 24, 2024 12 hours ago, Fox Mulder said: I have i915 loaded in RR, but when I run the "dmesg | grep nct6775" I get nothing. When I try insmod, I get "insmod: ERROR: could not load module NCT6775.KO: No such file or directory" Have you confirmed that this file actually exists in the path below? /usr/lib/modules/nct6775.ko insmod must be performed within the /usr/lib/modules path where the actual ko file exists. If you want to run it from another path, try as below. insmod /usr/lib/modules/nct6775.ko Quote
0 Fox Mulder Posted May 25, 2024 #9 Posted May 25, 2024 12 hours ago, Peter Suh said: Have you confirmed that this file actually exists in the path below? /usr/lib/modules/nct6775.ko insmod must be performed within the /usr/lib/modules path where the actual ko file exists. If you want to run it from another path, try as below. insmod /usr/lib/modules/nct6775.ko Tried that, with Sudo, and got "insmod: ERROR: could not insert module /usr/lib/modules/nct6775.ko: Unknown symbol in module" Quote
0 Peter Suh Posted May 25, 2024 #10 Posted May 25, 2024 12 hours ago, Fox Mulder said: Tried that, with Sudo, and got "insmod: ERROR: could not insert module /usr/lib/modules/nct6775.ko: Unknown symbol in module" Please comment to @wjz304 about issues with this module and request that it be rebuilt. https://github.com/RROrg/rr/issues Quote
0 Peter Suh Posted May 25, 2024 #11 Posted May 25, 2024 12 hours ago, Fox Mulder said: Tried that, with Sudo, and got "insmod: ERROR: could not insert module /usr/lib/modules/nct6775.ko: Unknown symbol in module" Before making the request, add the addon below and try building the rr loader again. https://github.com/RROrg/rr-addons/tree/main/sensors It seems to integrate and activate sensor-related modules. To me, the command below seems to be the key in the script related to this. modprobe -q nct6775 Quote
0 Fox Mulder Posted May 26, 2024 #12 Posted May 26, 2024 14 hours ago, Peter Suh said: Before making the request, add the addon below and try building the rr loader again. https://github.com/RROrg/rr-addons/tree/main/sensors It seems to integrate and activate sensor-related modules. To me, the command below seems to be the key in the script related to this. modprobe -q nct6775 Thanks, but I am getting a 404 webpage error when I try to access the link. And getting nothing from the "modprobe -q nct6775" line Quote
0 Fox Mulder Posted May 26, 2024 #13 Posted May 26, 2024 On 5/15/2024 at 7:30 PM, Peter Suh said: rr may have already loaded this module. Check the module loading results with the command below. dmesg | grep nct6775 If you don't have modprobe You can also use insmod instead. I changed model from DS923+ to DS920+ and "dmesg | grep nct6775" command now returns: [ 494.707520] nct6775: Unknown symbol vid_from_reg (err 0) [ 494.707984] nct6775: Unknown symbol vid_which_vrm (err 0) Quote
0 Peter Suh Posted May 27, 2024 #14 Posted May 27, 2024 On 5/26/2024 at 2:45 PM, Fox Mulder said: I changed model from DS923+ to DS920+ and "dmesg | grep nct6775" command now returns: [ 494.707520] nct6775: Unknown symbol vid_from_reg (err 0) [ 494.707984] nct6775: Unknown symbol vid_which_vrm (err 0) I'm sorry. If you look at the list here, I failed to tell you that rr-addons are said to be private. https://github.com/orgs/RROrg/repositories So, as I told you, did you check the "sensors" addon in rr and add it separately? Quote
0 Fox Mulder Posted May 27, 2024 #15 Posted May 27, 2024 34 minutes ago, Peter Suh said: I'm sorry. If you look at the list here, I failed to tell you that rr-addons are said to be private. https://github.com/orgs/RROrg/repositories So, as I told you, did you check the "sensors" addon in rr and add it separately? how do I add it separately? I just added it either via rr manager, or via the installation menu addons. Quote
0 Peter Suh Posted May 29, 2024 #16 Posted May 29, 2024 On 5/27/2024 at 3:59 PM, Fox Mulder said: how do I add it separately? I just added it either via rr manager, or via the installation menu addons. You should always rebuild the loader after adding a new addon. Quote
Question
Dvalin21
Is it possible to install driver to your xpenology nas without it being installed or integrated into the kernel? And if so how?
15 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.