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 ...

learn more… | top users | synonyms

0
votes
0answers
16 views

Continuety of driver support in linux kernel

I am an embedded GNU/Linux learner. I understand with the new Kernel, driver support for most added hardware is coming through Device Tree Structure (DTS). But I have found out that there are still ...
5
votes
2answers
49 views

Are driver modules loaded and unloaded automatically?

On Ubuntu 14.04, I found that when I don't plug in my external wireless adapter, its module rt2800usb is still shown in lsmod. when does automatically loading a driver module happen? Is it when ...
2
votes
0answers
21 views

Modeline for Dell U2415 1920x1200 resolution

I'm trying here to run my secondary display (U2415) on the native resolution 1920x1200. Xrandr unfortunately reports only 1920x1080, which is not satisfactory. $ xrandr Screen 0: minimum 8 x 8, ...
0
votes
0answers
13 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
0
votes
0answers
16 views

quick question about kernel modules [migrated]

I'm very familier with linux (been using it for 2 years, no windows for 1 1/2 years), and i'm finally digging deeper into kernel programming and I'm working a project. So my questions: Will a kernel ...
1
vote
2answers
34 views

Identify out of tree modules?

I'm attempting to upgrade and test kernel 3.12. What is the most efficient way to identify out-of-tree modules that should be removed before testing? There are a few mentioned (vitualbox, nvidia, ...
0
votes
0answers
13 views

Check the firmware which a module needs

in http://ubuntuforums.org/showthread.php?t=2242147&page=2, The driver requires firmware: $ modinfo iwlwifi filename: ...
1
vote
1answer
19 views

What are files *.ko used for?

The following two commands output the same thing: $ modinfo iwlwifi filename: /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko .... $ modinfo ...
1
vote
1answer
19 views

Where (the directory) should I put my newly created module in the kernel?

I have created new module code. And want to compile it for my kernel. But I am not sure about I thing. Should I copy it to some designated directory before I start the compilation? Or I can just ...
1
vote
1answer
25 views

Do I have more thn one wireless driver modules?

$ lsmod | grep iwl iwldvm 232283 0 mac80211 652718 1 iwldvm iwlwifi 179412 1 iwldvm cfg80211 494362 3 iwlwifi,mac80211,iwldvm I heard that ...
11
votes
3answers
1k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
5
votes
1answer
157 views

Is there a way to determine what kernel version a kernel module was compiled against?

I have recently been playing around with creating kernel modules using some crosstools for an embedded setup. It would be helpful to me in future to have the ability to identify the version of the ...
1
vote
0answers
25 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, ...
2
votes
0answers
22 views

Slackware won't ring my bell

I want to ring bell in bash I've set lsmod |grep pcs pcspkr 1987 0 xset b and finally echo -e \\a But no ring.
0
votes
1answer
48 views

Get base address and size of a loaded kernel module?

How can I get the base address and size of a loaded kernel module?
1
vote
0answers
28 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 ...
0
votes
0answers
24 views

configuring kernel source for manual module compilation

I need to compile an xpad module from source, system is debian wheezy, the platform is ci20. I cannot locate linux headers-3.0.8-(...) anywhere (not on the system, not on the web, not in official ...
2
votes
3answers
88 views

How to take variables from another Makefile in shell script

I want to use the variables from another Makefile under the directory ~/kernelbuild/linux-3.14.37 in my own shell script. Following is the variables that I need: VERSION = 3 PATCHLEVEL = 14 SUBLEVEL ...
2
votes
0answers
60 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
0
votes
1answer
29 views

How do I install freeBSD headers ?

I have been a arch linux user for the past 2 years and now moving on to freeBSD for kernel development. I have install freeBSD and want to compile a dynamically loadable kernel module for freeBSD. ...
1
vote
0answers
12 views

Fair traffic classification using TC

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

web cam starting hangs os

I faced a strange effect as ... when my notebook wakes up from suspend I can start and close my web cam with guvcview 1-3 times; But after while on 3dr or 4th starting attempt (I didn't count for ...
2
votes
0answers
85 views

Do I have a dead NIC?

OK so this is kind of a long one due to command output. Not necessarily in complexity as I'm only showing some basic t-shooting so any feedback would be appreciated. Basically, I have a fairly new ...
0
votes
1answer
52 views

lsmod lists only one single module, no other modules available to load, how do I proceed?

The system debian wheezy, platform ci20, stock imagination kernel 3.0.8. the output of lsmod lists only one module, pvrsrvkm, which is the "out of tree graphics driver" by imagination. The problem ...
1
vote
0answers
789 views

How to install Realtek RTL8723BE wireless driver on debian?

I installed Debian Wheezy 7.8 on a Lenovo G50-70 x64, it seems that I don't have the driver for my wireless card installed, the output of iwconfig: lo no wireless extensions. eth0 ...
1
vote
1answer
86 views

Loading kernel modules that were compiled for another kernel failed

I want to load kernel modules, ip_gre.ko and gre.ko, on a embedded-device running embedded-linux to make that device to support GRE protocol. Since I do not want to change Embedded-linux device's ...
1
vote
1answer
55 views

What's the difference of `/etc/modules-load.d` and `/etc/modules`?

I red the introduction of them and found that, they both deal with module loading during boot time. So, what's the difference of these two different configuation ways?
0
votes
0answers
34 views

Compiling a loadable kernel module(Debian/Ubuntu)

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
1
vote
0answers
73 views

Compiling a loadable kernel module outputs several warnings about undefined functions [closed]

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
2
votes
0answers
53 views

How to insert a modified ELF loader given the current ELF loader is present?

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
0
votes
1answer
28 views

Sunix Low Level Parallel port driver not working

Background: I am currently in the process of updating a Industrial PC + software from Debian 4 (etch) to Debian 7 (Wheezy) due to hardware obsolescence, one of the few pieces of hardware being shared ...
0
votes
0answers
29 views

Stability of internal Wireless module or adpater in Ubuntu

This is an update to my previous problem with wireless adapter or module in Ubuntu 12.04 on Thinkpad T400. Now I have installed 14.04. Sometimes when I move my laptop around a little, the ...
0
votes
0answers
36 views

How do I install the `uvcvideo` module on Android 4.4.2

Setup UDOO QUAD Android KitKat 4.4.2 SD image Microsoft LifeCam Cinema Problem Android 4.4.2 SD Image is configured to use the CSI camera. To use USB camera you need to recompile kernel and ...
0
votes
1answer
27 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
1answer
48 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
0
votes
1answer
57 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
2
votes
1answer
60 views

modinfo when a module was compiled into kernel statically wouldn't work — workarounds?

modinfo is rather useful tool when it comes to tweaking module's parameters (at least discovering what options are availalbe), for e. g.: $ modinfo dummy filename: ...
0
votes
2answers
128 views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
4
votes
1answer
47 views

How to list all loadable kernel modules?

I'm looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns: sudo modprobe i2c-dev modprobe: module i2c-dev not found in modules.dep How can I list all ...
1
vote
1answer
149 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
1
vote
0answers
23 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 ...
2
votes
1answer
45 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
0
votes
0answers
83 views

Using usbserial kernel module on Fedora 21

Currently using Fedora 21 uname -r 3.17.8-300.fc21.x86_64 I have a thermal printer which connects using RS232 and has a cable which can be connected to a USB port. When I connect this device, ...
0
votes
0answers
44 views

keyboard still working after calling free_irq(1, NULL);

I'm developing a kernel module which free the IRQ number 1 in order to disable the keyboard in Intel architectures. according to wikipedia the IRQ 1 is used for keyboard. but after building and ...
0
votes
0answers
105 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 ...
0
votes
0answers
47 views

Trying to understand the wacom tablet plugging in usb causes kernel panic

First, I realise that askubuntu exists, but a kernel panic is probably more GNU/Linux (kernel and low-level system programs) than distro specific. So I already have a solution to mitigate the kernel ...
0
votes
0answers
272 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 ...
0
votes
1answer
104 views

How to add an alias to a kernel module?

I'd like to add an alias to a kernel module, e.g. make nvidia-343 available as nvidia on Ubuntu 14.10 with Linux 3.18.1, so that it can be loaded under the alias name and so that the alias appear in ...
0
votes
0answers
152 views

Linux driver (module) won't load at boot time although installed with depmod

Environment FriendlyARM mini210s Netis dongle Linux 3.0.8 [root@mini210s 3.0.8-FriendlyARM]# uname -r 3.0.8-FriendlyARM Goal I want to network the mini210s using the wireless Netis wf2190 ...
1
vote
2answers
275 views

How do compile Linux Driver for Netis WF2190 Wifi dongle for FriendlyARM mini210s?

GOAL I want to install the Netis WF2190 wifi dongle linux driver onto my FriendlyARM mini210s. Environment FriendlyARM mini210s S5PV210 ARM Cortex-A8 Board ... running Linux 3.0.8-FriendlyARM ...