The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [kernel-modules]

Use this tag for questions about loading, configuring, or compiling them. See also /drivers for questions about which modules to use for specific hardware. A kernel module is a bit of code that can be added into the kernel by the administrator while the system is running, typically providing one feature such as a filesystem.

270 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
218 views

How to interpret the crash dump

This a sample crash dump I have from the unit. Could anyone help me in understanding what these details mean? Example: [] (sys_init_module+0x0/0x1878) from [] (ret_fast_syscall+0x0/0x30) Here ...
1
vote
0answers
63 views

Tntfs.ko - How can I put it in an initrd file? Or load on boot?

I'm trying to load that specific module (for zenworks purposes), but I can't find the right command to put in my server boot. I tried insmod and modprobe commands, but I'm unsuccessful in doing that. ...
1
vote
0answers
476 views

Discover needed tuner/frontends kernel modules for a DVB device

I'm trying to compile loadable kernel modules (.ko files) to support different USB DVB tuners on a Linux embedded system (a QNAP NAS specifically) with kernel 4.2.8. This system doesn't have udev (or ...
1
vote
0answers
328 views

Black screen after upgrade to fedora 26

I upgraded my system from Fedora 25 to 26, and after upgrading it rebooted and I got a black screen with a mouse pointer in middle but no GUI to make a login. There is an error on booting which says ...
1
vote
0answers
2k views

insmod: Invalid module format - How to verify version incompatibility or force?

I am running a custom built kernel (4.8.15-rt10) and have been given a module that was built on the exact same kernel with the same .config (I provided everything). When I use insmod to insert the ...
1
vote
0answers
522 views

Use TL-WN727N in AP mode

I have bought TL-WN727N to use it like AP because this page said it supports this mode: https://wikidevi.com/wiki/Mt7601u. I forgot to read the fine print. The driver installed with Linux kernel only ...
1
vote
1answer
678 views

How 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 ...
1
vote
0answers
43 views

Linux driver does not work properly, when compiled into kernel

I recently had a lot of troubles in making my Gentoo communicate with USB->serial converter, which was working on a prolific 2303 driver. It turned out, that when driver is compiled as a module and ...
1
vote
0answers
140 views

How to find out which kernel module supports particular hardware

One of my customer asked me question about providing them driver for RAID controller card in the server. It seems that server vendor only provides firmware for the controller but no driver. Also ...
1
vote
1answer
531 views

How to setup two linux hosts connected via USB 3.0 crossover cable, and act as if one is a device

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 ...
1
vote
1answer
2k views

How to make Realtek nic use r8168 driver

I've been trying (unsuccessfully) for the last few days to make my Realtek ethernet card to work. I have no problems with my wireless connection: only the ethernet connection doesn't work. I have ...
1
vote
0answers
58 views

In HP-UX, how do you write a C program using PKCS#11 api?

I am heavily confused by HP-UX's manual on its cryptographic module linked here. It gives an example of a C code using PKCS#11 apis, but nowhere can I find information on where to find the shared ...
1
vote
1answer
664 views

Lenovo Y700 Elantech touchpad query 0x01 failed

I have an annoying problem with my Elantech touchpad for at least a half a year now. Most of the time it randomly loses sync and got recognized as PS/2 Elantech Touchpad or BYD Touchpad. It varies ...
1
vote
0answers
193 views

writing a USB sniffing kernel module

Here is my problem : I have a Raspberry pi zero with Raspbian Jessie and I set up the dwc2 module to use USB OTG. I would like to sniff the USB traffic from the Raspberry to implement host ...
1
vote
0answers
625 views

PS/2 keyboard only works up to GRUB, not after OS fully booted

I have an IBM model F keyboard connected to to my PS/2 port and the keyboard seems to be recognized at first: the lights on the board blink and up to the GRUB menu key presses are being registered. ...
1
vote
0answers
137 views

H264 support for webcam driver source in kernel?

I have a EVM board, which has camera connected over mipi bus, Overall my EVM board will act as USB webcam gadget, I want my webcam board to support h264, as I was going through drivers/usb/gadget/...
1
vote
0answers
393 views

How to build and run Ubuntu 16.04 kernel with a specific module?

I installed Ubuntu 16.04 on Nvidia Tegra TK board (arm architecture). Then I connected touchscreen from STMicroelectronics STMPE to it. But generic kernel does not include the module for this ...
1
vote
0answers
205 views

Load a Bluetooth driver on top of a generic TTL-232R->USB cable

I have one of these TTL-232R->USB cables which I usually use to access a terminal on an embedded board. They are usually detected like this: [89702.948822] usb 2-3.7: new full-speed USB device number ...
1
vote
0answers
911 views

Cross-Compilation of tun/tap device driver for armv7

I have multiple IP-Cameras from China based on Hi3516A SOC. They works well, and I want to get access to them using VPN. I decide to install tinc-vpn on camera because I have full access to camera's ...
1
vote
0answers
2k views

PCI passthrough: vfio-pci ignores ids of devices

I have 3 GPUs in my dual XEON server. I followed instructions on Arch wiki and set up vfio-pci with ids=10de:100c,10de:0e1a: $ modprobe -c | grep vfio options vfio_iommu_type1 ...
1
vote
1answer
450 views

empty modules.dep for new kernel compilation

i've got empty modules.dep file after compiling new kernel from source after kernel compile, and then kernel module compile and then make modules_install to modules directory, i checked modules.dep ...
1
vote
0answers
581 views

Trying to build (a)kmod package for acpi_call on Fedora, cannot be installed

I want to package a simple kernel module, acpi_call, for Fedora. For this I have followed the kmods2 instructions on RPM Fusion and got the following SPEC file: # Copyright © 2016 Martin Ueding <...
1
vote
2answers
142 views

Can initramfs programs access all memory - do they run in real or protected mode?

This is in the context of current 64-bit processors and current linux kernels (I'm using 4.6.4.) Is it possible for me to write a program that during boot can examine base memory, 640k and under, ...
1
vote
0answers
686 views

Unable to upgrade a kernel module using modprobe: after reboot dmesg indicates the old version (but modinfo shows the new one)

I cannot upgrade e1000e driver in Ubuntu 16.04. At least not according to the output of dmesg after reboot. After downloading the latest version 3.3.4 and running make install in the src/ directory, ...
1
vote
0answers
72 views

Package additional in-tree modules

Targeting an up to date Fedora whose kernel unfortunately lacks a module: Is it possible to package the module (using kmod or whatever existing infrastructure), so that the module package has the ...
1
vote
1answer
1k views

Udev rule setting up SocketCAN socket only works correctly only when run manually

I want to start slcand (the userspace daemon for the serial line CAN interface driver) when my Lawicel CanUSB dongle is plugged in. I followed Pascal Walter's step-by-step guide and all seems to work (...
1
vote
0answers
157 views

Manually Select Driver (AHCI/SATA Drive)

I am wondering if there is a way to bypass the default driver when using a SATA Host Bus Adapter (I want it to use my LKM). The other way of doing this is black listing the default driver so mine ...
1
vote
0answers
176 views

Load NVIDIA module for X and load nouveau module for framebuffer: automatically

NVIDIA driver doesn't have support for framebuffer console. I want Linux kernel to automatically load NVIDIA for X window system, and nouveau for framebuffer console. There should be a method to ...
1
vote
0answers
208 views

How to trace the life cycle of kernel threads by following creation and switching?

How to trace the life cycle of kernel threads by following creation and switching ? kernel_thread() and schedule() are the 2 functions I know that but have no idea how to implement it..
1
vote
1answer
1k views

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest ...
1
vote
0answers
1k views

Loading new wlan driver

TL;DR. Two issues: can't get wlan0 working, can't get wpa_supplicant working. I compiled & installed kernel 4.4 (rev. eb4d55) with revamped rtl8xxxu support enabled. In order to compile & ...
1
vote
0answers
432 views

Linux kernel running only with use of physical address

Is it theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes how would you know if there was ...
1
vote
1answer
195 views

how to build a autoconf module and how to load that for compiling other program

I am using our university's computer cluster which installed GNU autoconf 2.68. Now I need autoconf 2.69 to compile other programs. I don't have root privilege, so I want build my own autoconf module ...
1
vote
0answers
1k views

Linux Kernel module Remote Debugging with GDB + KGDB, Remote 'g' packet reply is too long

I am trying to remotely debug Linux Kernel and I am having issues. My setup: Target machine with Ubnutu Linux with my custom kernel 4.3 which I built with debugging information and KGDB. ...
1
vote
0answers
169 views

API for Kernel Module Development

I want to know if there is an API documentation listing all the functions/methods in the Header files? E.g. linux/kernel.h listing functions like printk(), linux/moduleparam.h indicating functions ...
1
vote
0answers
146 views

Kernel module inconsistency

everyone. I have special USB device (chinese touchscreen), what I need to connect to my computer with Linux. By default, Linux assign connected device to usbhid (I found this info by execute usb-...
1
vote
0answers
127 views

Installation doesn't happen on new kernel versions?

I have several modules setup in DKMS which should be automatically installing to new kernel versions, but aren't. I'm noticing the same problem on all four of my home-brewed DKMS modules. Here's an ...
1
vote
1answer
359 views

Does amdgpu support my Fury X and why isn't the driver loaded?

Currently my linux machine only can detect one monitor and seems to be running the bare minimum for graphic support. My system seems to recognize that the card is a Fury X but doesn't load any drivers ...
1
vote
0answers
61 views

Specify driver for given device?

I have an interesting problem. I'm on Ubuntu 14.04 (distro: elementary OS Freya). I have a MacBook Pro in a dock which provides ethernet over USB 3. The USB ethernet device id is 0b95:1790 and uses ...
1
vote
0answers
1k views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
1
vote
0answers
835 views

Custom driver for keyboard GNU/Linux 4.1.0-rc8 (Fedora)

I am writing a driver for a Logitech G110 USB keyboard for Kernel 4.1.0-rc8. My driver is perfectly loadable with insmod (Debugging message prints to dmesg that it get's initialized through ...
1
vote
1answer
675 views

Is it possible to tell what source loaded a Linux kernel module?

In my Linux distribution there are a number of modules loaded during boot up and I'm trying to find where they're loaded from. [root /proc]# lsmod Module Size Used by ...
1
vote
0answers
190 views

How to catch my bluetooth service events

I have usb bluetooth device which is using btusb 0.6 module (driver). The thing is I am interested to know is: how is the systemctl start bluetooth.service event invoked? I was looking info about ...
1
vote
0answers
699 views

Manually compile and add module r8169 (and others)

When typing lspci i get: ... 01:00.0 Ethernet controller: Realtek Semiconductor CO., LTD RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 05:00.0 Ethernet controller: Atheros ...
1
vote
0answers
721 views

Autoloading externally compiled module at hotplug event

I have a pretty outdated embedded linux driven system with v2.6.33.7 kernel, which came without USBNET and CDC_ETHER modules. I compiled those modules to be able to attach a certain USB-LAN stick, ...
1
vote
0answers
449 views

Xen Kernel - SCSI_WAIT_SCAN Module

We've recently deployed a HP ProLiant DL180 Gen9 with 12 x Intel 530 SSD Drives. The system is running RAID-10 on top of HP Smart Array P840. Our aim was to use Xen on this server. However, when the ...
1
vote
0answers
151 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB qdisc. But I ...
1
vote
0answers
55 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
1
vote
0answers
1k views

intel_agp kernel module not found

I trying to use intel embedded HD 4400 graphics. As best as I know, it's need to load i915 kernel module (and the kernel module loader also try to load it) without success because it's depends from ...
1
vote
0answers
3k views

Broadcom driver on Kali Linux

I recently installed Kali Linux, switching from Scientific Linux. The only problem is my wireless driver, which doesn't want to install at all. lspci -nn | grep Net : 02:00.0 Ethernet controller [...