L
L
lapka-admin2018-04-12 11:04:57
linux
lapka-admin, 2018-04-12 11:04:57

Linux kernel modules?

There is a regular VDS on Ubuntu
The lsmod command says that the system does not have any kernel modules loaded.
For example, I assemble some module. I start. Do I need to reboot after that
sudo dkms build -m ixgbe -v 4.3.1
? If something goes wrong, will I see it immediately during the build, launch? After all, if the system does not reboot, then I will not be able to get into it later. do not have access to the machine itself? Will I need either KVM or OS reinstallation?
sudo dkms install -m ixgbe -v 4.3.15

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Kazantsev, 2018-04-12
@saintbyte

man modprobe

C
CityCat4, 2018-04-12
@CityCat4

ixgbe is firewood for the network. Collecting firewood for a network network on VDS is about the same as attaching a real steering wheel to a toy children's car on a string :) On VDS, network networks are virtualized and you are provided with something that has nothing to do with the real hardware of the host.
No reboot is needed to run a module - that's why it's a module and not part of the kernel.
man modprobe
man lsmod
UPD: yes, if you really mess up (and this is possible, especially with video driver modules - even in a virtual machine) - you may well need a console, because the system will most likely fall into 80x25 text screen mode. I did it once :D

B
Boris Syomov, 2018-04-12
@kotomyava

A reboot is not required to load the module.
Problems with modules do not often lead to unloading. But in the event of such a problem, you really need access to the console, or reinstallation.
It is unlikely that you need to build the specified module in the case of VDS, if this physical device is not specially allocated to you.
Most often, the network is virtualized, and this module is needed not on the virtual machine, but on the host system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question