How can I prevent USB drivers (EHCI) from loading on specific USB controller...
I'm using Debian 10.8 with Linux Kernel 4.19.0-14.I'm trying to use IOMMU to passthrough an entire USB controller (PCI Express card), but I'm having problems. The kernel is loading the ohci_pci and...
View ArticleWhy Linux module API isn't backward compatible?
Why isn't the Linux module API backward compatible? I'm frustrated to find updated drivers after updating the Linux kernel.I have a wireless adapter that needs a proprietary driver, but the...
View ArticleHow to find the kernel boot parameter for a given boot configuration option?
I have a Dell laptop running Debian Sid. Current kernel (4.15.4) is configured to load dell_smbios as module (CONFIG_DELL_SMBIOS=m). This produces the followning error while bootingdell_smbios: No...
View Articlewhat is linux kernel module dm_bio_prison?
A kernel module name dm_bio_prison and descripted with "device-mapper bio prison" is loaded on a linux system. It is used by the modules dm_cache and dm_thin_pool.#lsmod | grep...
View ArticleHow to replace one kernel module in the Linux kernel tree
I would like to update/exchange a single kernel module in a Linux kernel tree that I got from an embedded device vendor (Hardkernel) with the latest version from the Torvalds Linux kernel.Could someone...
View ArticleKernel module remove not permitted for some sudo users
I use a sudoers file, which (besides other items) contains following lines:homebridge ALL=(ALL) NOPASSWD: /sbin/modprobe -r bcm2835-v4l2, /sbin/modprobe bcm2835-v4l2, /sbin/reboot%sudo ALL=(ALL)...
View ArticleCan I clean /lib/modules/something from RasPI image?
I have the following content under/lib/modules$ du -hs * | sort -hr | head -n 2055M 4.14.50-v7+55M 4.14.48-v7+55M 4.14.29-v7+54M 4.9.59-v7+54M 4.9.35-v7+54M 4.14.50+54M 4.14.48+53M 4.9.59+53M...
View ArticleHow do I change the value of module.sig_enforce the Fedora kernel uses?
I am running a Fedora kernel ver: 4.15.3-300.fc27.i686). I am trying to load a custom device driver. When I try to use the device (via an open() call in a C program) the call errors out with errno...
View ArticleCannot print out a list of module versioning information required by kernel...
I want to print out a list of module versioning information required by ceph.ko module, using modprobe, following a tutorial on Linux kernel modules.I've tried to print out the information for several...
View ArticleHow to obtain linux-headers-* for other kernel versions than the most current...
I need to install the linux-header-* package for other kernel versions in order to compile a kernel module locally for a different system.Say, I want to compile for Debian 10, with a kernel version of...
View ArticlePlatform driver's probe function isn't called
I am developing a simple platform driver for beaglebone (but currently running on my virtual machine running Ubuntu) that uses device tree, but it doesn't seem like the probe function is being...
View Articleubuntu 18.04 boot hang/fail, possible to transfer live usb boot & network...
I corrupted my ubuntu 18.04 network files and now not only does the boot hang, with the consistentFAILED to start RAISE Network Interfacesbut i also cannot run repair options/update && upgrade...
View ArticleLinux kernel module brd is built-in and unusable
I want to compile a Linux kernel for the Raspberry Pi 4.When compiling a Linux kernel, menuconfig is used to configure the Linux kernel before compiling it.In my case, Linux 5.10 from raspberrypi git...
View Articleyocto not including kernel module in final image
I am trying to enable the CP210X kernel module in my yocto-poky build. I have enabled this option in the bitbake -c menuconfig <name>. I have it included in my meta layer config files under the...
View Articleaplay --list-pcms gives no output
I am having problems with my soundcard and i've been checking what is missing: since aplay --list-pcms gives no output that implies that there are no pcms(?) which i think it may be one of the reasons...
View ArticleHow to configure buildroot to add a sound device?
I've used a given board configuration to reconfigure it for my individual board. My board has a CS4270 sound device of Cirrus Logic. My uImage is booting successfully on my target hardware, but an...
View ArticleMass Storage Gadget (MSG) and USB port mode
Could someone explain to me how to tell the MSG module which USB port to use and how to put this USB port in USB host/device mode to access the mass storage created by the module?
View ArticleUnload snd_usb_audio modules
I am trying to unload the snd_usb_audio kernel module in order to try some other module parameters (with modprobe).This fails:# rmmod snd_usb_audioWith the following error:rmmod: ERROR: Module...
View ArticleTrouble with phram module
Trying to load the module using modprobe phram phram=test,<address>,<size> returns the following error. Have someone encountered similar error? Any help would be greatly appreciated.Unable...
View ArticleLKM Compiling via Makefile and VirtualBox, Getting Error "Operation Not...
Background & SetupI'm working on a group assignment to create an LKM. Compiling and running the code is done inside an Ubuntu 64-bit VM (VirtualBox). It's a bit of a convoluted setup, but here's...
View Article