Error with starting Openvswitch on wsl2
How do I fix that following errorsroot@DESKTOP-OK32G:/mnt/c/Windows/system32# service openvswitch-switch startmodprobe: FATAL: Module openvswitch not found in directory...
View ArticleWhy does device registration not create a device file?
I'm currently learning about Linux device drivers and feel as if I have a fundamental misunderstanding on how devices are instantiated in Linux.Within a Linux module, I can call alloc_chrdev_region()...
View ArticleHow to enable Rust support in VM kernel?
I'm trying to setup a VM with a kernel with Rust support for the purpose of developing LKM's. I was able to get this to work on my host machine, but with a VM am unable to replicate it. The kernel...
View Articlepwmconfig can't find fans, which are modifiable in uefi Bios
I would like to change the fan speeds on my PC. In the Asus BIOS settings, this is possible with PWM and DC (three of them are connected with 4 pins), but the running operating system seems to have...
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 Articledriver install: module: x86/modules: Skipping invalid relocation target
My situation:I have a prebuilt kernel running fedora already installed and running. Now, I want to install the mcp251x and mcp25xfd driver modules, which depends on the can-dev driver module, so I need...
View ArticleAnsible Search for kernel module loaded
I am trying to write an Ansible playbook to check to see if a particular module is loaded for the current kernel running.If I do anlsmod | grep my_module_$kernelVerI would see something...
View ArticleWiFi not working - wlan0 FAILED
My Arch (3.6.5-1) is exhibiting a rather peculiar problem: when wifi is set up, all logs indicate that the setup was successful and that the interface is up and functional. However, when attempting to...
View ArticleHow to determine if a module is loaded into kernel [duplicate]
Some modules are inbuilt into the kernel. While some are not. For the modules that are not inbuilt into the kernel they typically have external .ko.zst files located in /lib/modules/ directory from...
View ArticleLinux Traffic Control (tc) not working without reboot
When trying to run tc qdisc add dev $INTERFACE root handle 1: prio priomap 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 tc qdisc add dev $INTERFACE parent 1:1 handle 10: netem loss "${LOSS}"%I get the error...
View ArticleChanging the conntrack hashtable size at runtime: sysctl vs module parameter
Does adjusting net.netfilter.nf_conntrack_buckets change the conntrack hashtable size immediately? In other words, can it be used to adjust the table without needing to unload and reload the module...
View ArticleCould not find libmount
During compilation of customized distribution (using buildroot v. 11.2018) I have problem with libmount library (the problem appeared after I had included efl package in buildroot menuconfig - Target...
View Articleupdate-initramfs does not fully create initrd for new kernel
I seem to be having a bizarre problem installing a new custom kernel. update-initramfs fails during dpkg -i with:update-initramfs: Generating /boot/initrd.img-5.15.7-hardened1-test1find:...
View ArticleBuild and install kernel module into a defined /lib/module/*kernel directory
I had problems with my distribution's kernel, so I built a kernel (same version) to build my modules. My modules would be compatible. However, if I install the modules, the script creates a new...
View Articleiwlwifi: Failed to start INIT ucode: -110 in Arch Linux kernel version 5.5.3
I'm new to Arch Linux. I installed it on my laptop(LG Gram)it seem fine post installation. I don't remember my wlan works post installation because I used wired. But, when I turned on my laptop today...
View ArticleAutomatic module signing for distribution in Linux
I'm new to writing Linux modules (drivers) and digital signatures, so please correct me if any of my understanding is incorrect.When I run make modules_install on my module, I get the following error...
View ArticleUSB WIFI adapter RTL8188GU drivers
I have a usb-wifi adapter that shows under lsusb as Bus 001 Device 025: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)I built...
View ArticleHow to properly install VirtualBox 7.2.12 on Debian 13 with secure boot...
Gist:user@comp:~/vbox$ vagrant upThe provider 'virtualbox' that was requested to back the machine'homestead' is reporting that it isn't usable on this system. Thereason is shown below:VirtualBox is...
View ArticleHow to setup two linux hosts connected via USB 3.0 crossover cable, and act...
I'm trying to send information via pyusb from host a to host b, the issue is that I can't get my USB crossover cable to show up on either end via lsusb, or even doubly connected to the same host. I...
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 Article