All Questions
Tagged with linux-kernel kernel-module
28
questions
52
votes
5
answers
70k
views
How to get a list of active drivers that are statically built into the linux kernel?
While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
9
votes
1
answer
8k
views
What is "modloop" option in Alpine?
I'm trying to understand what is the difference of making Alpine installation medium as read-only type (LiveCD) and as a standard disk mode (where the OS state can be saved). I've seen the modloop ...
5
votes
3
answers
6k
views
Do both lsmod and /proc/modules use the same mechanism to retrieve modules?
I can get a list of modules using either lsmod or cat /proc/modules. Do the two approaches use the same mechanism to retrieve the modules? I want to know this as we could use it to find some hidden ...
3
votes
2
answers
2k
views
Where do I look for Linux kernel module documentation?
Where do I look for Linux kernel module documentation?
For example, I've tried googling the module iwlagn, but I cannot find anything that tells me about available options. Where do I look?
3
votes
1
answer
6k
views
Linux kernel - check currently used drivers
Is it possible to check what drivers from linux kernel source are used for currently working devices in the system? I know that usually device drivers are written as kernel modules, but some of them ...
3
votes
1
answer
157
views
Oracle Virtualbox on statically compiled kernel
I can't seem to find any documentation on the subject. I'm working on putting together a linux install for a fairly "dirty" environment. Best practice there would be a statically compiled kernel ...
2
votes
2
answers
1k
views
Linux kernel compiling: standalone OS
Hi guys I'm new to linux kernel compiling so I have some question:
By compiling linux kernel are we building a totally standalone OS which doesn't depend on any linux destributions?
If yes... Well ...
2
votes
1
answer
20k
views
dkms does not find kernel source
For days now I am trying to get ZFS-on-Linux working on Debian 7 but the module doesn't want to compile:
# dpkg-reconfigure zfs-dkms
------------------------------
Deleting module version: 0.6.3
...
2
votes
1
answer
8k
views
How to fix nvidia-current not found after modprobe?
I'm using Debian 10 (Buster) with a NVidia GT630 graphics card on a i386 system.
apt install nvidia-driver installed nvidia-legacy-390xx drivers.
Unfortunately the kernel module doesn't load (output ...
2
votes
3
answers
3k
views
How to use hwsim, "Module mac80211_hwsim not found in directory" error
I have tried using this guide:
https://wireless.wiki.kernel.org/en/users/drivers/mac80211_hwsim
and did
modprobe mac80211_hwsim
However the output is:
modprobe: FATAL: Module mac80211_hwsim not ...
2
votes
1
answer
5k
views
Force a Linux kernel module to be compiled as a module instead of built-in
I have the sources of the kernel of an embedded Linux box (specifically a QNAP NAS) which is running a 64-bit v3.12.6 Linux kernel, together with the kernel config files.
What I'm trying to do is ...
2
votes
0
answers
1k
views
Linux - How to list all device nodes using a specific device driver
I know I can see what driver is being used for a device node if I know the major and minor number of the device(see this link).
But I want to know if there's a way to list all device nodes that are ...
1
vote
2
answers
5k
views
__modver_version_show undefined error when building linux kernel 3.0.4 version
I tried to build the linux kernel 3.0.4 on ubuntu 11.10 in virtualbox. Here are my steps:
Download the source code
tar xjvf linux-source-3.0.0.tar.bz2
cd linux-source-3.0.0
make menuconfig, changed ...
1
vote
1
answer
5k
views
How to downgrade Linux kernel
I have a Linux machine running RHEL3.8 with kernel release 2.4.21-66.ELsmp.
How can I downgrade the Linux kernel to 2.4.21-47.ELsmp?
Second:
About the last kernel upgrade, can we find logs somewhere ...
1
vote
1
answer
5k
views
Disable "longhaul" kernel module with a GRUB command?
I've got a problem with a VIA C3 (1GHz)-system: the system freezes immediately when the CPU frequency goes under 731MHz because of an incompatibility with the (not completely implemented) i686 ...
1
vote
0
answers
2k
views
amd64_edac_mod.ko(Error Detection and Correction driver) not loading with the latest kernel to check RAS
I am trying to enable ECC to confirm RAS feature in ubuntu-18.04
Its GIGABYTE BIOS mode, I have checked ECC option, but it is not present.
and details of server is:
:~$ lscpu
Architecture: ...
1
vote
0
answers
92
views
How do I compile a module with different active kernel/kernel-after-reboot versions?
Let me explain, I updated my kernel but have to recompile the wifi module to work with the new one.
The thing is, I can't reboot and compile, because it's my media server to which I only have access ...
0
votes
1
answer
2k
views
i2cdetect -l don't return anything
I need to use the SMBus, but when I run the command i2cdetect -l I do not receive anything as output, on Windows it was recognized, I do not see anything about SMBus even doing lspci. I installed and ...
0
votes
1
answer
101
views
KVM 3.1.1 installation
I have a requirement to install KVM 3.1.1 on RHEL7 or 8.
When I am checking I found that qemu-kvm is automatically installed on RHEL8 and the version is 4.2.
It would be great if anyone can share the ...
0
votes
1
answer
80
views
how to install kernel module for blk_mq's io schedulers?
I have recently changed single queue to multi queue on my oracle server. This server is oracle linux 6.10 (4.1.12 kernel). I realize there is no any io scheduler for blk_mq alse show the /sys/block//...
0
votes
0
answers
192
views
Kernel 5.3 on AMD Chipset
currently I use my own compiled Kernel Since some mounth without any big issues, but since the Release 5.3 some physical Servers with AMD Chipset won't boot anymore, my last Kernel Vers. is 5.2.8 ...
0
votes
1
answer
395
views
Configure built-in modules in cross-compiled linux
I'm in the beginning stages of using a cross compiler (ELDK) to build an embedded Linux system from the kernel source. The Kernel is built successfully with make ARCH=powerpc CROSS_COMPILE=powerpc-...
0
votes
1
answer
445
views
Where can I find the origin of specific modprobe conf option to erase it?
When I do
modprobe -c |less
The configuration files contains:
options nouveau modeset=1
options bbswitch load_state=0 unload_state=1
options b43 nohwcrypt=1 qos=0
options rd md=0
options rd dm=0
...
0
votes
1
answer
457
views
Linux 2.6.39.4 how to find available loadable kernel modules
I'm customizing the 2.6.39.4 linux kernel on an arm platform and trying to test out a "Hello World" driver I created. I selected "M" (loadable) in the kernel make menuconfig and verified that it ...
0
votes
1
answer
113
views
Development environment for embedded system [closed]
I need to develop software in C/C++ for an embedded system. I have Debian 6 running off of a USB hard drive. I would like to be able to generate a stripped-down kernel with modules, and install them ...
0
votes
1
answer
129
views
Building modules with linux kernel for custom flavor
I followed the instructions for building a custom kernel and booting it. Everything works fine, except that when building it, I used the option skipmodule=true (as given in this link), so I guess the ...
0
votes
1
answer
2k
views
How to add ahci module to linux-image-2.6.38-11-virtual kernel?
I just installed Ubuntu 11.04 with the linux-image-2.6.38-11-virtual kernel as a virtual machine in VirtualBox (4.1.2). When I booted the machine after installation, I got this error message:
FATAL: ...
-2
votes
2
answers
1k
views
How to compile the linux without any audio codecs?
I want "no audio" functionality in an embedded system. So, any idea about how to configure kernel without any audio?
Thanks.