Specialized software that runs inside the kernel.
1
vote
1answer
26 views
How to set up a blacklist for insmod?
I want to block a certain driver module from loading in the linux kernel.
So I created a file in /etc/modprobe.d/cdc_acm.conf. In this file I added the following line:
install cdc_acm /bin/false
...
1
vote
1answer
32 views
Excluding kernel modules through /etc/modprobe.d/blacklist.conf does not work
I don't want to load the kernel module nouveau on my debian box at startup, so I put the following in /etc/modprobe.d/blacklist.conf:
blacklist ttm
blacklist drm
blacklist nouveau
I even did a ...
0
votes
0answers
30 views
I need a step by step guide to build kernel modules in ChrUbuntu
I don't have experience building kernel modules. And worse, I'm trying to do it on ChrUbuntu, so it seems that I cannot follow the existing Ubuntu guides. For example, this command fails:
# apt-get ...
1
vote
1answer
43 views
Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build
I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu.
Build instructions: Ubuntu:
make ( your cp210x driver )
cp cp210x.ko ...
0
votes
1answer
27 views
Assembly files in obj-m list when building kernel modules
I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is:
obj-m += kexec.o machine_kexec.o relocate_kernel.o
When I run the makefile, it complains that there's "no ...
1
vote
1answer
37 views
Can kexec be built to a standalone binary, to be used where kexec was not built into the kernel?
I have remote embedded Linux devices I am trying to update to a new kernel without having to physically access. However, the command line options they boot with make one of the MTDs read only - I ...
1
vote
1answer
39 views
Integrating custom kernel module into Debian
I've built a kernal module from source and now would like to load the module at boot.
The .ko file is in the build directory in my user folder, and I know it works because running insmod ./vizzini.ko ...
0
votes
0answers
38 views
Decreasing mouse sensitivity at kernel level
I have developed a custom-GUI Server, which runs on virtual console of Linux.For mouse-handling purpose, it reads the mouse device file
/dev/input/mice
and retrieves the event data and updates ...
1
vote
2answers
46 views
Does linux modules/drivers belong to kernal space or user space
Some articles say that modules/drivers belong to kernel space as it take part in forming the kernel; (reference: http://www.freesoftwaremagazine.com/articles/drivers_linux)
While others say that ...
2
votes
1answer
26 views
List of packages managed by DKMS
How do I get a list of packages (and their versions) managed by DKMS so I can easily add/remove them?
0
votes
1answer
71 views
What module for network card Intel Corporation Device 1521?
I'm installing a new server and I'm not able to figure out what module should I load to make its on-board network card work. Calling lspci prints:
Ethernet controller: Intel Corporation Device 1521
...
3
votes
3answers
128 views
How to determine which module taints the kernel?
My kernel keeps panicking when connected to a certain wireless network. I'd like to send a bug report but my kernel is apparently tainted. From /var/log/messages:
Apr 17 21:28:22 Eiger kernel: ...
0
votes
0answers
206 views
Problem with keyboard backlight in Asus N56VZ. Suspected asus-wmi problem
I use Ubuntu mainline kernel 3.8.x and 3.9.RCx on Linux Mint 14. On those kernels keyboard backlight is not working very consistently.
Sometimes kernel boots and keyboard brightness is available. ...
1
vote
2answers
210 views
Automate modprobe command at boot time on Fedora
My distribution is Fedora 17 Gnome.
Every time I reboot/restart my computer I need to run this command as root:
modprobe rt2800usb
How can I make it permanent?
2
votes
2answers
104 views
Why does modinfo say “could not find module”, yet lsmod claims the module is loaded?
According to the man page of lsmod the command shows “what kernel modules are currently loaded”.
I wrote a script that uses modinfo to show what kernel object (.ko) files are actually in use:
...
1
vote
1answer
40 views
how to stop adding unused module to loadable kernel module?
Is there any way how to stop unused module to loadable kernel module other than putting them in the mod probe blacklist.
2
votes
1answer
69 views
How to run Different congestion control algorithms in FEDORA 17 ..?
Earlier versions of Fedora has different loadable kernel modules which includes diffrent congestion control algorithms etc at (/lib/modules/"kernel-name"/kernel/ipv4).These are present in the form of ...
1
vote
0answers
76 views
How to load kernel module in Chromium OS?
I've installed the Chromium Vanilla by Hexxeh to a USB drive, but I can't use it on my computer because it lacks the carl9170 driver, which is needed by my adapter (a D-Link DWA-160.)
I've managed to ...
3
votes
2answers
115 views
kernel module function call
I write a kernel module which has initialize and end function. I want one more function and want to call it from the user space process at any time i want.
Is it applicable ? If so, how ?
I am ...
2
votes
0answers
37 views
How 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 ...
0
votes
0answers
216 views
RAID Drivers and Support for an AMD SB950 Chip?
I have an Asus Sabertooth 990FX R2 motherboard which uses the AMD SB950 chipset to create a fakeRAID array (setup for RAID 5 in my case). It is recognized as a RAID array in Windows after install of ...
3
votes
2answers
136 views
Kernel Modules: .o vs .ko
It seems that files containing kernel modules are called .o, at least that's what I figure when looking at a tutorial like this one. However, on my debian squeeze box, these files seem to be called ...
5
votes
3answers
245 views
Disadvantages of linux kernel module?
I am trying to understand the disadvantages of using Linux kernel modules. I understand the benefits of using them: the ability to dynamically insert code into a running system without having to ...
0
votes
2answers
149 views
How to load a module in Gentoo?
I am using Gentoo, with kernel 2.6.30, and I tried to load a module with modprobe usbcore, but it fails with modprobe: module 'usbcore' not found.
However, I can find a directory with that name in ...
2
votes
1answer
162 views
(Solved) Linux cdc_acm device - unexpected characters sent to USB device
I'm having trouble with unexpected characters being sent on a USB port with the cdc_acm driver. What makes this all the more perplexing is that the code runs fine on Ubuntu 12.04 (3.2 kernel) but ...
2
votes
1answer
455 views
Kernel config for ASUS P8Z77-V mainboard series
I want to build a kernel (3.6 series) for a system with a ASUS P8Z77-V mainboard. Which settings fit to the built in components?
(The ideal answer would contain an example .config for this board.)
# ...
5
votes
2answers
217 views
What package could “linux-headers-3.7.5-1-ARCH” mean?
I'm debugging a closed-source software installer that seems to have some pre-conceived notions about my distribution. The installation aborts after not finding apt-get. The command it attempts to run ...
2
votes
1answer
340 views
Sound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?
I have an Acer Aspire One 522 netbook which has an Intel HDA sound card based on the Conexant CX20584 chipset. Although KDE does output sound when starting up, flash and probably many other apps which ...
1
vote
1answer
128 views
Compile Linux Kernel w/ Dynamically (Un)loadable usbserial Module
I've attempted to install drivers for an FPGA device, but require that I remove the usbserial module. This happens to be impossible because usbserial is a built-in module. It was suggested that I ...
2
votes
1answer
47 views
Standard way to expose device file to userland applications running on an unprivileged user account?
I just finished the first version of a Linux kernel module I've written in C. The module creates a device file (/dev/wn0) that controls a USB device with three LED lights. For example, running as ...
5
votes
4answers
2k views
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 ...
2
votes
1answer
248 views
Find out which modules are asociated with a usb device?
Please recommend way to figure out which driver is being used for a USB device.
Sort of a usb equivalent of lcpci -k.
1
vote
0answers
196 views
Busybox `uname -r` shows wrong kernel version
My kernel is 3.2.27 and /lib/modules/ contains 3.2.27 + folder. But when I am using
/# uname -r
3.1.9+
It's showing a strange output. My problem is that for modprobe depends on uname when I put
...
4
votes
1answer
478 views
ALSA/ASoC: How to correctly load devices/drivers?
I am using Buildroot to build an embedded Linux (2.6.39.2) system for the NXP LPC3250 microcontroller.
Right now, I'm trying to get ALSA/ASoC up and running, but I'm having some issues with getting ...
2
votes
1answer
128 views
Build kernel in one machine, install in another
I want to build my Linux kernel on my host and use it in my VWware virtual machine. They both use the same Ubuntu kernel now.
On my Host, I do make and make configure. Then, what files should I copy ...
5
votes
2answers
431 views
How to block loading kernel module only in single user boot when blacklist fails?
On a "Linux debian 2.6.32-5-amd64 #1 SMP" installation where loading a kernel module (mpt2sas) is desired to be delayed to be loaded after starting sshd and users can remotely login, the mpt2sas ...
2
votes
1answer
161 views
lsmod returns error unless called with sudo
Fixed: The install README for libusb suggests added a call to
export LD_PRELOAD=/path/to/libusb-driver.so
It was this .so file that was getting called and interefering with lsmod (and it turns ...
1
vote
1answer
62 views
What happen when we plug a device in to computer
I'm currently learning about device developement for linux, I have glaced at some books such as LLD3, .. but I still can't understand what happen when we plug a device into computer, That's my ...
4
votes
1answer
181 views
Automatically apply module patch and compile kernel when updated?
I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until ...
1
vote
2answers
175 views
Can't remount local file systems for read-write (RAID1)
I assembled a new machine on Asus P9X79 motherboard, using its RAID controller to create a RAID1 array of two 500Gb drives.
When booting Arch from an external drive I am able to work fine with ...
2
votes
0answers
782 views
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 ...
2
votes
2answers
482 views
How to disable the system beep of LMDE?
I got annoyed with the system beep of Linux Mint Debian Edition when I login or logout. I have found some solutions like:
echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist
but it ...
2
votes
1answer
252 views
VMwarePlayer on debian. Missing kernel modules
Today I changed my workstation to Debian. As Ubuntu is not nearly stable. Now I installed VMware player. I started it and got a message "Before you can run VMware, several modules must be compiled and ...
2
votes
2answers
126 views
Automatically build a manually installed kernel module upon installing a kernel update on Ubuntu
I am experimenting with flashcache on my Ubuntu and it looks interesting enough to do a long term test with it. I downloaded the sources, compiled them and installed the resulting kernel module. So ...
2
votes
2answers
587 views
Prevent usbhid from claiming USB device
Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb?
I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
0
votes
0answers
97 views
Finisar SFP installation
I've Dell PowerEdge 1950 and have installed Finisar FCLF-8521-3 Module.
I want to install Finisar SFP module in CentOS 5.8x86_64 Kernel 2.6.18-208
I've Network controller Endace Measurement Systems ...
2
votes
1answer
417 views
Cannot load tun module
I cannot manage to load the tun module in my archlinux box. I'm trying
to connect with openvpn, but the log says
nm-openvpn[6662]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device ...
4
votes
1answer
177 views
What are EXT4 Security Labels?
During Gentoo installation of Gnome keyring, I am told to switch on EXT4 Security Labels, which is described in the kernel documentation by:
Security labels support alternative access control ...
1
vote
0answers
292 views
iptables not starting up
I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively).
When booting, the following is ...
3
votes
2answers
980 views
Adding a new System call to Linux 3.2.x with a loadable kernel module [closed]
I want to add a particular new system call in the linux kernel 3.2.x but as a loadable kernel module (as I don't want to recompile the kernel again and again)
I read through many posts on internet ...
