Hello
Hello
I have a request to add kvm modules (kvm or kvm_intel) to the kernel or as kernel modules. I need to run Docker which needs this module, but unfortunately portainer informs me that there is no such device. I checked and such a module does not exist in the system.
Unless there is another solution to this problem that I don't know about, I'd be happy to read what should be done.
Regards
Iver
kvm or kvm_intel kernel or kernel modules
-
- Posts: 7
- youtube meble na wymiar Warszawa
- Joined: Thu Dec 21, 2023 6:02 pm
-
- Posts: 449
- Joined: Thu Apr 09, 2020 8:01 pm
Re: kvm or kvm_intel kernel or kernel modules
Contact support.
-
- Posts: 7
- Joined: Thu Dec 21, 2023 6:02 pm
Re: kvm or kvm_intel kernel or kernel modules
Do you think it can be handled this way?
-
- Posts: 449
- Joined: Thu Apr 09, 2020 8:01 pm
Re: kvm or kvm_intel kernel or kernel modules
That would be why I suggested it.
-
- Posts: 2193
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: kvm or kvm_intel kernel or kernel modules
Hi,
kvm and kvm-intel modules are provide in ADM Linux modules
if you use virtualbox APKG you will get it (and load it ... I suppose )
if it's for another usage ... just load (try first modprobe to get depends if needed) it and trace system log to see if all run as well (perhaps require some depends ... if using insmod in place of modprobe)
If the result is not as you expect ... follow the advise of ilike2burnthing
Philippe.
kvm and kvm-intel modules are provide in ADM Linux modules
Code: Select all
# ll /usr/builtin/lib/modules/kvm*
-rw-r--r-- 1 root root 339.0K Nov 3 09:30 /usr/builtin/lib/modules/kvm-intel.ko
-rw-r--r-- 1 root root 635.7K Nov 3 09:30 /usr/builtin/lib/modules/kvm.ko
root@AS5202Taphil:/volume1/.@plugins/AppCentral/virtualbox # ll /lib/modules/5.13.x/kvm*
lrwxrwxrwx 1 root root 37 Nov 3 04:42 /lib/modules/5.13.x/kvm-intel.ko -> /usr/builtin/lib/modules/kvm-intel.ko
lrwxrwxrwx 1 root root 31 Nov 3 04:42 /lib/modules/5.13.x/kvm.ko -> /usr/builtin/lib/modules/kvm.ko
if it's for another usage ... just load (try first modprobe to get depends if needed) it and trace system log to see if all run as well (perhaps require some depends ... if using insmod in place of modprobe)
If the result is not as you expect ... follow the advise of ilike2burnthing
Philippe.
Asustor updated
to ADM 5.0
FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x
AS6602T
Asustor E.O.L. at A.D.M. 4.0
AS5002T / AS1002T
Asustor past
AS202T

FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x

AS6602T
Asustor E.O.L. at A.D.M. 4.0

AS5002T / AS1002T
Asustor past

AS202T
-
- Posts: 2193
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: kvm or kvm_intel kernel or kernel modules
Hi,
To complete (after some verification) .. a module seems to be missing : irqbypass.ko T.B.C. I don't have time for this ... and less if it's for docker ...
Please provide your model and ADM version
... up to 4.2.5.xxxx I can provide the module for test ...
... on 4.2.6.xxxx + ... GPL source tree (kernel) is not yet available ... so please wait or ask Asustor.
Philippe.
To complete (after some verification) .. a module seems to be missing : irqbypass.ko T.B.C. I don't have time for this ... and less if it's for docker ...
Please provide your model and ADM version
... up to 4.2.5.xxxx I can provide the module for test ...
... on 4.2.6.xxxx + ... GPL source tree (kernel) is not yet available ... so please wait or ask Asustor.
Philippe.
Asustor updated
to ADM 5.0
FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x
AS6602T
Asustor E.O.L. at A.D.M. 4.0
AS5002T / AS1002T
Asustor past
AS202T

FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x

AS6602T
Asustor E.O.L. at A.D.M. 4.0

AS5002T / AS1002T
Asustor past

AS202T
-
- Posts: 7
- Joined: Thu Dec 21, 2023 6:02 pm
Re: kvm or kvm_intel kernel or kernel modules
Hi
Thank you very much for your interest in the topic.
I just noticed that the irqbypass.ko module is missing. He already informed me about this in version 4.2.5. Today I just updated my Flashstor to version 4.2.6.ROR2 and it's still the same.
Thank you very much for your interest in the topic.
I just noticed that the irqbypass.ko module is missing. He already informed me about this in version 4.2.5. Today I just updated my Flashstor to version 4.2.6.ROR2 and it's still the same.
-
- Posts: 2193
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: kvm or kvm_intel kernel or kernel modules
Hi,
Please try irqbypass.ko module for ADM 4.2.6+
https://forum.asustor.com/viewtopic.php?f=240&t=14399
Philippe.
Please try irqbypass.ko module for ADM 4.2.6+
https://forum.asustor.com/viewtopic.php?f=240&t=14399
Philippe.
Asustor updated
to ADM 5.0
FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x
AS6602T
Asustor E.O.L. at A.D.M. 4.0
AS5002T / AS1002T
Asustor past
AS202T

FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x

AS6602T
Asustor E.O.L. at A.D.M. 4.0

AS5002T / AS1002T
Asustor past

AS202T
-
- Posts: 7
- Joined: Thu Dec 21, 2023 6:02 pm
Re: kvm or kvm_intel kernel or kernel modules
Thank you very much. Fantastic job. What a guy 
There's only one problem. I am unable to add these modules to run automatically. When I add them manually (step 1. irqbypass.ko, step 2. kvm.ko and finally step 3. kvm-intel.ko), everything works and my Docker for which I needed them works great. But after restarting the server, I unfortunately have to add the modules manually again. Is there any way to add them permanently? I am asking for relatively simple instructions because unfortunately I am not very good at working with the version of Linux we have at Asustor.
Thank you for everything and I am asking for this advice.
Regards

There's only one problem. I am unable to add these modules to run automatically. When I add them manually (step 1. irqbypass.ko, step 2. kvm.ko and finally step 3. kvm-intel.ko), everything works and my Docker for which I needed them works great. But after restarting the server, I unfortunately have to add the modules manually again. Is there any way to add them permanently? I am asking for relatively simple instructions because unfortunately I am not very good at working with the version of Linux we have at Asustor.
Thank you for everything and I am asking for this advice.
Regards
-
- Posts: 2193
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: kvm or kvm_intel kernel or kernel modules
Hi,
If your docker App. in provide with and APKG ... just add the insmod in CONTROL/start-stop.sh
if not, you need to use a solution to add a script at start-up
... script to launch docker App. so insmod then launch docker (run?)
... scripts at start_up of the NAS (please search in the forum)
... ... in this case a possibility (if you have Entware APKG installed) is to add your script in /opt/etc/init.d folder with a name starting with Snn (nn number corresponding to the order to launch the script at boot) ... value (mandatory on 2 char.) have interest only if you launch multiple script at boot
... ... another possibility is to add a cron with @reboot
... ... other info : https://forum.asustor.com/viewtopic.php?f=46&t=8147 ... old but check idea ...
Philippe.
If your docker App. in provide with and APKG ... just add the insmod in CONTROL/start-stop.sh
if not, you need to use a solution to add a script at start-up
... script to launch docker App. so insmod then launch docker (run?)
... scripts at start_up of the NAS (please search in the forum)
... ... in this case a possibility (if you have Entware APKG installed) is to add your script in /opt/etc/init.d folder with a name starting with Snn (nn number corresponding to the order to launch the script at boot) ... value (mandatory on 2 char.) have interest only if you launch multiple script at boot
... ... another possibility is to add a cron with @reboot
Code: Select all
@reboot [path to command] [argument1] [argument2] … [argument n]
@reboot [part to shell script]
Philippe.
Asustor updated
to ADM 5.0
FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x
AS6602T
Asustor E.O.L. at A.D.M. 4.0
AS5002T / AS1002T
Asustor past
AS202T

FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x

AS6602T
Asustor E.O.L. at A.D.M. 4.0

AS5002T / AS1002T
Asustor past

AS202T