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

3
votes
0answers
756 views

How to compile AMD Legacy driver on 64-bit kernel, Linux Mint 17 [closed]

I'm trying to get the legacy driver for my HD 2400 GPU but I had an error while it was building. I looked at this answer, and have the same result, in the driver manager is empty: ...
1
vote
1answer
56 views

Compress memory on low Ram VM

Is there a way to get out more out of your limited Ram on a VM? I have a VM running on a cloud hoster and try to optimize a quite low on RAM mashine. I heard, there is a way to compress parts in the ...
0
votes
0answers
149 views

Virtualbox installation

I'm trying to install virtualbox. But when I run dpkg -i {dpkg package} I get following error: sudo dpkg -i virtualbox-4.1_4.1.18-78361~Ubuntu~precise_amd64.deb Selecting previously unselected ...
1
vote
0answers
89 views

CPU usage by kernel modules, routing and forwarding rules

I have a system with a loopback kernel module installed. Through a bunch of routing and iptable rules, packets coming out of the loopback interface are sent over an ipsec tunnel. I am seeing that ...
1
vote
0answers
65 views

Adding IPVS to the kernel

I am trying to setup keepalived on a pair of VPS load balancer servers. I have hit the road block of IPVS not being included with the kernal. IPVS: Can't initialize ipvs: Protocol not available I ...
1
vote
1answer
194 views

Library routines in linux kernel

In the linux kernel, there is a section "Library routines" with a snippet shown below: Library routines ---> <M> CRC-CCITT functions <M> CRC ITU-T V.41 functions <M> CRC7 ...
2
votes
2answers
2k views

VirtualBox: modprobe can't find vboxguest, vboxsf, vboxvideo

I've been following these instrctions to install the guest packages for arch linux. Unfortunatelly modprobe returns: [snooc@archfire ~]$ modprobe -a vboxguest vboxsf vboxvideo modprobe: WARNING: ...
1
vote
2answers
93 views

Is this kernel warning a major problem that needs my attention?

Our Linux based Thecus N12000 NAS recently experienced this message in its dmesg log. [2014-05-21 11:34:56] ------------[ cut here ]------------ [2014-05-21 11:34:56] WARNING: at ...
1
vote
0answers
156 views

Kconfig - compiling kernel module

I stumbled over this site about USB video grabber under Linux, I'm trying to compile the code found here. I have read about makefiles but this one confuses me, cause it's so short: usbtv-y := ...
0
votes
1answer
69 views

Why does kernel-devel contain so many “empty” directories?

I have been a Windows kernel developer for many years. Now I start to develop Linux kernel modules. To begin with, I installed kernel-devel under /usr/src/kernels/$(uname -r). However, after checking ...
0
votes
1answer
215 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
0
votes
0answers
25 views

information about txop in ath9k wlan driver

I'm trying to implement the rate control algorithm into ath9k wireless LAN driver. I need to find if the transmission of first packet in the TXOP has failed or succeeded (ack received or not). I ...
0
votes
1answer
208 views

set permission 0666 on /dev files at boot time

I have to load a few additionals modules. One of them generates /dev/knem file. I have to set the permission to 0666, so a basic chmod 0666 /dev/knem works, but I would like to assign it directly at ...
1
vote
2answers
55 views

CONFIG_PPP_MPPE=m vs CONFIG_PPP_MPPE=y

What is the difference between 'm' and 'y'? I am reading a guide, and the first step is to make sure that my kernel supports PPP and MPPE. It should be: # cat /boot/config-`uname -r` | grep G_PPP= ...
1
vote
0answers
163 views

Can only initialize Ad-hoc mode after restarting iwlwifi mod and network manager

I am running Ubuntu 12.04.4 with network interface: *-network description: Wireless interface product: Centrino Advanced-N 6235 vendor: Intel Corporation ...
1
vote
2answers
302 views

FATAL: Module hello.ko not found

I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32). I wrote a module for simple hello world program. This ...
0
votes
1answer
87 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
2
votes
3answers
127 views

Placement of kernel binary and sources for kernel module building?

I'm trying to setup an environment for kernel module development in Linux. I've built the kernel in the home folder and would like to place the sources and binaries to the correct place so include ...
3
votes
1answer
3k views

Unable to load module: Disagrees about version of symbol module_layout

Following this tutorial to write my first driver. The Makefile is: # Makefile – makefile of our first driver # if KERNELRELEASE is defined, we've been invoked from the # kernel build system and can ...
1
vote
1answer
349 views

Loading module 8192cu fails

I 'm running Angstrom Linux (3.0.7) on embedded device BeagleBoard-xM. I want to load a module (downloaded from here) and copied into: /lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko ...
0
votes
0answers
117 views

Configuring VMware 7 Workstation on Fedora 20 x86_64 KDE

When I first time around installed VMware, it Installed successfully and when I ran the program it got me to where you have a dialog box to select the kernel module, now when I install it the program ...
3
votes
1answer
1k views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
0
votes
0answers
22 views

CLEAN CACHE On X86 Desktop Boxes?

I was building 3.12.13 linux kernel and I came across the CONFIG_CLEANCACHE option. it would seems to reduce I/O considerably especially in conjunction with CONFIG_FRONTSWAP. But I want to know if ...
0
votes
1answer
136 views

User id in kernel module [closed]

I'm trying to intercept clone system call so that i could print user id and process id before actual system call executes. I am using get_user_id()->uid to access user id in kernel module but it ...
4
votes
1answer
1k views

How to build a custom kernel with localmodconfig that support hardware of multiple machines?

When configuring a server to run a single task, like an appliance, there might rise the need to build a custom kernel. For example to save disk space. Ubuntu Core 13.10 amd64 root filesystem is a ...
0
votes
1answer
286 views

What is the purpose of kernel module dm_mirror a.k.a. dm-mirror?

When running an $ lsmod command, the output lists: dm_mirror 21715 0 dm_region_hash 15984 1 dm_mirror dm_log 18072 2 dm_region_hash,dm_mirror I have tried to ...
0
votes
1answer
192 views

Auto-load B43 wifi card module in Arch Linux

I am using a Dell Vostro 1500 (looking to buy a new computer) and I have installed the wifi drivers with b43-fwcutter or whatever the actual name of it is, but you probably know what I'm talking ...
0
votes
0answers
29 views

use bluetooth-next development tree for kernel

It possible to change the kernel module of bluetooth that is using the kernel, instead of using the stable tree i would like to use the development tree?
1
vote
0answers
115 views

Looking for a list of modules that are used during boot sequence

I'd like to use deferred init calls. This function allows to load modules in userland, that should actually be loaded during the boot sequence. Just for testing I'd like to modularize as many entries ...
0
votes
3answers
136 views

On petalinux, lsmod does not work

I have seen that when I do lsmod in petalinux , I get "not tainted" message. Is there any alternative for lsmod then ?
3
votes
2answers
2k views

BSD Kernel Vs. Linux kernel? [closed]

I wanted to know in technical terms; what is the difference between BSD Kernel and Linux Kernel. In Linux, we can download the source kernel then patch it and make and make modules it. Even we have ...
6
votes
1answer
1k views

Linux: What is a tainted kernel?

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel ...
3
votes
2answers
188 views

Using multiple layer of kernel modules for interfacing a hardware device?

I am trying to get a conceptual understanding of the purposes the kernel modules can have. The motivation for this question was a realization that interface to an actual hardware goes through multiple ...
0
votes
0answers
327 views

Blacklisting won't work for kernel module “radeon”

I tried to blacklist kernel module "radeon" as it is classhing with my propietary drivers. I tried it doing it in two ways but none of them worked and every time command mkinitcpio -M will list ...
2
votes
2answers
583 views

lsmod outputs: Not tainted [duplicate]

I ran lsmod command on an emulator for a board, and the output is Not tainted . What does that mean ?
2
votes
1answer
93 views

Debian 6 NDISwrapper doesn't install correctly

I'm using Debian 6. I've been trying to set up the Netgear N300 WiFi (model number WNA3100) adapter but haven't been successful. The Ndiswrapper was installed from .deb packages which I downloaded on ...
0
votes
0answers
273 views

USB-ModeSwitch Problem [ Debian Wheezy ]

I'm trying to use a D-Link DWM-156 3G "dongle" on Debian Wheezy.I've tried to "UPGRADE" kernel from(3.2 to 3.12),But that's not effective and problem still exist.Now after reinstalling Debian(3.2 - ...
1
vote
1answer
327 views

How to regenerate initramfs so it can include bcache module?

Eventually I have converted root-fs into bcache (with the help of blocks). I skipped the step update-initramfs -u -k all because I've been using bcache on other partitions for some time, and I've ...
2
votes
0answers
110 views

RNDIS Server to make a computer as a peripheral

First of all my goal is this, have a computer as a peripheral device to connect it to anyone's computer with ssh protocol or web. The idea is doing this by using a plug and play USB cable . Facts ...
1
vote
0answers
100 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
1
vote
1answer
768 views

Install kernel module [V4L2]

In order to build and install V4L2 module, do I have to download it, or it is already part of the kernel (and all I have to do is to choose it, in order to build it, via kernel configuration)? I 'm ...
1
vote
0answers
62 views

kernel 3.1x and optimus support

I have encountered a negative observation regarding bumblebee. Namely, using optirun the performance of the GPU seems to be an order of magnitude lower than it should be. To be more specific: I have ...
0
votes
1answer
49 views

How to install kernel sources

I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus, with Bootloader Files (x-load/u-boot/scripts) added. I noticed that usr/src directory is empty. I ...
1
vote
1answer
147 views

Attaching two network cards two different drivers

I have an Ubuntu 12.04 server that has two 10 Gb ethernet cards that are using the ixgbe driver. I'm installing the PF_RING DNA drivers for these cards (what that is isn't important). I want interface ...
0
votes
0answers
102 views

Card Reader UB6520 on Parabola GNU/Linux

I'm trying to make work the SD card reader UB6250 on Parabola GNU/Linux. Could you help me please? After inserting the SD card, I get the following dmesg: [65408.273667] usb 2-5: new high-speed USB ...
1
vote
1answer
30 views

Is there a way to monitor the Shareable Objects (.so) loaded on launch of a specific application?

I've been through dependency issues, but, finally, have my application running. The problem is I need to force install of some old libraries with dpkg to achieve this, which, in turn, breaks my ...
4
votes
3answers
325 views

Why do I need to comment out the floppy in /etc/fstab in new-ish Debian versions?

I'm using a box with Debian that has gone through many updates (at least lenny, squeeze, wheezy). After a long time, I wanted to mount a floppy again which didn't work as it used to. I found a ...
0
votes
1answer
77 views

What is the equivalent of update-modules in CentOS 6.4?

I am adding files to /etc/modprobe.d, and a README of some software that I'm installing advised to run update-modules afterwards. $ sudo update-modules -bash: update-modules: command not found What ...
0
votes
1answer
98 views

Rmmod module reappeared after plugging back device

I have an arduino that talks to my computer through the serial-usb driver ftdi. I want to use my own module instead when I plug my arduino. I did : sudo rmmod usbserial sudo rmmod ftdi_sio I wrote ...
1
vote
0answers
310 views

I can't find tape device file inside /dev directory

I'm using tape storage drive HP LTO3 1x8 auto-loader which is connected to my server running CentOS. it is detected in CentOS correctly. cat /proc/scsi/scsi Host: scsi2 Channel: 00 Id: 01 Lun: 00 ...