Disable bridge module insert?
I have Fedora 20 setup with default kernel configuration, where bridge feature is enabled as a module (CONFIG_BRIDGE=m), and the bridge module loads as the system starts. I don't understand who...
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 ArticleFreeBSD kernel module to control fan speed
I have been trying to get a FreeBSD box (running FreeNAS) to control its fans. It wants to just run them at high speed even though the system temperatures are quite low.The lm-sensors package can do...
View ArticleAkmod Building Nvidia Modules on Every Boot (Fedora)
recently my system was suffering from really long boot times so I decided to investigate. systemd-analyze blame gives the following output:3min 41.630s akmods.service3min 39.318s...
View ArticleHow can my PCI device driver remap PCI memory to userspace?
I am trying to implement a PCI device driver for a virtual PCI device on QEMU. The device defines a BAR region as RAM, and the driver can do ioremap() this region and access it without any issues. The...
View ArticleHigh resolution sleep in kernel thread?
What is the correct way to sleep to us resolution in a thread?I'm trying to write a device driver and I need to keep a pin high for a certain number of us after a GPIO interrupt.My plan is to create a...
View ArticleHow do I install the Ashmem and Binder kernel mods for Anbox?
So, I need a virtual Android environment for some work I'm doing and decided to install Anbox. Unfortunately, it won't run because Ashmem and Binder are not installed. I've tried alternatives like...
View ArticleWhy are raid modules always loaded?
This is driving me seriously crazy:$ doas lsmod | fgrep raid | fgrep ' 0'raid10 73728 0raid456 192512 0raid1 57344 0raid0 24576 0even though:none of my filesystems or swaps is on RAIDI don't use btrfs...
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 ArticleKeyboard stopped working on Lenovo Yoga Slim 7 ProX (AMD) 14ARH7 (EndeavourOS)
After a recent system update, the built-in keyboard stopped working propperly. I googled the issue, but there seems not to be any known issue. The problem arose on July 29, 2023 after upgrading the...
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 ArticleHow do I check if a kobject exists?
I'm following this guide on sysfs: https://embetronicx.com/tutorials/linux/device-drivers/sysfs-in-linux-kernel/If I use kobject_create_and_add to add a new kobject, the function will fail if the...
View ArticleHow do I change the modules directory that the kernel searches
I am new to rebuilding the kernel and kernel modules and such, so I apologize if this is a poor question.I am running Centos 6.8 , 2.6.32.642.el6.x86_64. I am trying learn about device drivers and...
View ArticleLots of errors trying to update nvidia drivers with dnf update --refresh on...
So about a week or two ago I tried updating my kernel which incidentally broke my NVIDIA Drivers somehow. Every startup I'd get the "NVIDIA Kernel module broken. Reverting to nouveau" message or...
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 Articleload driver with insmode get :disagrees about version of symbol module_layout
I compiled simple drive for Linux kernel for ARM system:$ uname -aLinux CR5 4.4.171-cr5 #2 Tue Mar 10 11:49:00 CET 2020 armv7l GNU/LinuxTo compile i used the config file from the up ruining system...
View ArticleCan I load char driver on already existing device node?
I am exploring Linux kernel driver programming. And stumbled with following thoughts,Can I load a char driver on already existing device node (device node may already be created using mknod) ?To...
View ArticleShortcuts running privileged commands
Intro: Using ABIs to control fan_speed, fn_lock, or conservation mode can be done with editing files in the (e.g. /sys/bus/platform/.../) directory which is owned by root.For example if i wanted to...
View ArticleWhat is the difference between driver name and kernel module name for lshw?
Using lshw to query my WiFi USB adapter shows the following:$ lshw -C network *-network description: Wireless interface physical id: 12 bus info: usb@3:7 logical name: ... serial: ... capabilities:...
View Article3ware LSI RAID Controller not recognized by tw_cli utility
I am attempting to resolve an issue regarding the raid controller on my server. What I am trying to resolve is the following error message when I use the tw_cli utility.tw_cli > showNo controller...
View Article