Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Browsing all 1183 articles
Browse latest View live
↧

'Operation not permitted' when using modprobe/insmod

I'm trying to install a driver module for a dedicated PCIe board. I'm using the same OS and kernel versions stated in the datasheet but am getting the Operation not permitted error when adding the...

View Article


Why is this USB driver module preventing SSH logins?

I am porting the driver for a USB device to Rocky Linux 9.3. Once the module is inserted, new logins by ssh are unresponsive. Blacklisting the module and rebooting restores normal...

View Article


Kernel module removed even with miscdevice file is open in user-space

I have a kernel module that creates a miscdevice file (/dev/net/netdata), an user-space application that opens the file and mmaps it.Apparently I can rmmod the module even with /dev/net/netdata file...

View Article

Determining cause of Linux kernel panic

I'm running an Ubuntu 12.04 derivative (amd64) and I've been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system...

View Article

System waits for Wifi USB dongle to be plugged at boot

Using Linux kernel 6.5.0-18.During boot network initialization, Linux waits for the wifi USB dongle to be plugged in (up to ~2 minutes).If I plug it in, even briefly, the boot process ends quickly and...

View Article


Image may be NSFW.
Clik here to view.

Tried to update my Debian install from kernel 6.1.0-17 to 6.1.0-18, but it...

I tried to update my Debian system like normal, and one of the updates was for the kernel, from 6.1.0-17 to 6.1.0-18. However, it seems like there is some incompatibility with the most recent nvidia...

View Article

How can I break at module_init()? This loadable kernel module is preventing...

I am porting the driver for a USB device to Rocky Linux 9.3. Once the module is inserted, new logins by ssh are unresponsive. Blacklisting the module and rebooting restores normal...

View Article

Image may be NSFW.
Clik here to view.

Although all is correct, Linux kernel module signing fails strangely

I have a problem during signing kernel module, which is not able to sign microcodes only, other is going well./playground/lin/linux$ make bindeb-pkg KBUILD_SIGN_PIN=1234 -j8 V=12 1> /dev/null 0>...

View Article


How to deal with closed source modules when configuring a new kernel build

I found this command very useful:make localmodconfigHowever, having some closed source drivers/modules is a problem because this command can't find an appropriate method for including the config...

View Article


iwlwifi: 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 Article

How to simulate a PC speaker?

I bought a modern laptop which seems to lack a hardware speaker. Is there some kernel module to simulate it over ALSA instead or so? I could find only some very old patched modules from late 90s which...

View Article

Should 'dpkg -i iptables' be installing the required kernel modules?

I'm in the process of installing iptables onto an embedded Debian 8.7 armhf machine that does not have access to the internet. My method has been to manually find the .deb package files from the Debian...

View Article

What's the logic behind generation of Module.symvers file?

As far as I understood Module.symvers file provides list of symbols exported by modules plus license these are exported under and optionally a CRC. Other modules can depend on these symbols for their...

View Article


How to make an unofficial Orange Pi 5 Mipi-DSI display work on an Orange Pi 5...

For a while I've tried to make use of a display I ordered from Aliexpress to make it work with an unofficial 7Ji Arch Linux distribution for Orange Pi 5, to no avail. Perhaps against my better...

View Article

module: x86/modules: Skipping invalid relocation target

I tried to compile a module on Debian 10 (v4l2loopback) like this:sudo apt-get install linux-headers-$(uname -r)git clone https://github.com/umlaeute/v4l2loopback.gitcd v4l2loopback/make -j4sudo make...

View Article


How to get full mountpoint path name by the sturct fc_context

In my kernel module, I've implemented a syscall hook named fsconfig to manage operations related to remounting readonly mountpoints. For instance, if a user executes mount /dev/sda /tmp/mytest -o...

View Article

Ubuntu VM without iptables and without ip_tables module

I'm using an Ubuntu 16.04 vm at a provider I haven't used before and immediately encountered a new problem. I installed the iptables package, however when I attempted to run iptables -L, I received...

View Article


WiFi 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 Article

What's the expected overhead of a passthrough device mapper?

I'm trying to establish a baseline throughput overhead for a passthrough device mapper; i.e. a device mapper that does nothing. Roughly following benchmarking procedures from Cloudflare, I'm measuring...

View Article

Difference between C-state and S-state?

I was going through the Linux power management files, and I am confused about the C and S states.The C-states are defined in /sys/devices/system/cpux/cpuidle/. From what I understand they are used to...

View Article
Browsing all 1183 articles
Browse latest View live