New answers tagged kernel-modules
"make modules_install install" tries to build initrd image on /boot partition, which has 162 megabytes free, which is simply not enough. If you want to compile kernel yourself on Ubuntu, you need to prepare at least 1GB free space on /boot partition.
That's what make localmodconfig is for. Excerpt from /usr/src/linux/README: "make localmodconfig" Create a config based on current config and loaded modules (lsmod). Disables any module option that is not needed for the loaded modules.
You should probably not have created any RAM disk (i.e. use tmpfs not ramfs), see this. Linux is managing RAM better than you can, and its page cache is very good (so you might not need to create any "RAM" disk, just use a tmpfs mounted /tmp and put your file there, or even any file in any file system: with a lot of RAM very often the data stays in the page ...
As you noticed, there was an application using the module. The KVM module actually presents (part of) its functionality through the/dev/kvm device file. So find out what application is using it - e.g. with $ lsof | grep /dev/kvm
Disabled compile time option means the code isn't compiled. Unloading a module means, that the code has been compiled into a module, but is not loaded in memory and thus is not run. Be aware, that sometimes the modules may be loaded automatically, so if you need to disable certain functionality, the safe option is to disable it at compile time or ...
Hi please follow following steps to compile driver as module for arm architecture. Cross-compiling the rt kernel on Linux Export the following variables to specify cross-compilation options: export ARCH=arm export CROSS_COMPILE=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf- raspbian/bin/arm-linux-gnueabihf- make bcmrpi_rt_defconfig Compile the ...
It simply declares a firmware file that may be required by the module. See its definition in module.h; the firmware is loaded by request_firmware(). The information provided via MODULE_FIRMWARE appears in the module information, as shown for example by modinfo.
Here is a breakdown of what is going on in this makefile: There is a list of objects someplace, add "hello-1.o" to the list. obj-m += hello-1.o Create a target called all that has no requirements. The recipe to make all is to change in to the build directory in the directory that is named based on the current kernel release this system is running (which ...
xpad is the driver for Xbox controllers included in the kernel; it doesn't fully support the newer controllers though (the button mappings are incorrect and the LEDs never sync). xboxdrv is a user-space driver for Xbox controllers and provides all the functionality of xpad, minus the bugs. You won't lose any features by switching from xpad to xboxdrv. To ...
ad 1. and 2. The kernel image is called vmlinux, that's right, but that's not what you actually need when you want to build external modules. It's the configuration and header files from this kernel that is needed. ad 3. To build modules, internal or external, you need support for loadable modules in this kernel, you want to build the module for, of course, ...
The path /usr/src/linux is the standard path where kernel sources live in a linux system. Depending on your distribution you can install linux kernel sources with your package manager, or you go to http://www.kernel.org and download and extract one. Download a kernel with git One of the most powerful ways is to download a kernel with git as super-user ...
Top 50 recent answers are included