Specialized software that runs inside the kernel.

learn more… | top users | synonyms

0
votes
0answers
14 views

Can I use KDevelop + GCC + KGDB to develop Linux modules at source level? [on hold]

Though I've been programming Windows NT kernel device drivers for 10+ years; I'm brand new to Linux module development. Under Windows NT, I can use WinDBG to visually debug my device drivers at ...
1
vote
1answer
20 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
38 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 ...
2
votes
0answers
25 views

Opening a device node in a device driver in linux [migrated]

I am writing a device driver on Xillinux that will read and write data to an FPGA application over Xillybus. Basically I want to create device nodes such as /dev/pe1, and when I write to the nodes ...
0
votes
0answers
16 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
0answers
10 views

How to use linux/usb/serial.h to probe and disconnect? [migrated]

I would like to write an usb driver that sits on top of usbserial module. I have something like this: static struct usb_driver tiny_driver = { .name = "tiny", .probe = ...
2
votes
0answers
41 views

String length limit for a kernel module parameter [migrated]

I am passing a string as parameter when loading a kernel module. When the string is > 1024 chars, modprobe results in an error: FATAL: Error inserting mymodule (/lib/modules..): No space left on ...
0
votes
1answer
31 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 ...
3
votes
1answer
87 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
38 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
37 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
11 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
84 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
45 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 ?
2
votes
2answers
129 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 ...
5
votes
1answer
114 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
102 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
77 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
77 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
39 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
106 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
55 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
32 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
34 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 ...
0
votes
1answer
110 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
41 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
39 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
41 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
45 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
24 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
137 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
28 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
32 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
103 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 ...
1
vote
3answers
86 views

What is the difference between a linux package and a linux module?

when I do dpkg --get-selections or less /proc/modules I see two different list. I don't understand the difference between the elements of each...
4
votes
1answer
309 views

FedUp, unable to upgrade to Fedora 20

I am upgrading my Fedora OS to the latest version 20 as the current one is nearing end of life. Fedora introduces a new upgrade method called FedUp that allows user to perform an upgrade over the ...
3
votes
2answers
106 views

How can I load a module at runtime?

I just compiled the qcserial module which is a driver module for a Gobi USB modem. Now I have a couple of questions. Now I have two files: drivers/usb/serial/qcserial.ko and ...
2
votes
2answers
100 views

Kernel module parameters vs /sys/class/… explanation

I was making (my first) kernel module to play with the gpio pins of my pandaboard and interrupts. Already "built-in", I noticed you can do (briefly) cd /sys/class/gpio echo 138 > export # a file ...
2
votes
2answers
210 views

Wheezy: how to actually blacklist ehci_hcd?

I'm installing wheezy on a Thinkpad T41. Those are known to have USB2 related problems, which can be avoided by not loading ehci_hcd. But I can't figure out how to actually prevent ehci_hcd to get ...
2
votes
1answer
129 views

GRUB2 Insert additional kernel modules

GRUB2 doesn't have the menu.lst file. How do I configure a boot script. During boot, I hit E on the kernel image that I want to modify and make my modifications. But I would prefer to make the ...
2
votes
1answer
362 views

Error compiling FTDI VCP drivers: Cannot find version.h

driver installation fails of FTDI VCP driver during make install. Running ElementaryOS with kernel 3.11.0-14-generic make install awk: cannot open ...
4
votes
2answers
97 views

How can I prevent iptables from counting bytes and packets on empty chains?

Background I occasionally have firewall rules that I need to use for maintenance windows, but don't want active (and therefore consuming CPU cycles or slowing the network interface) the rest of the ...
2
votes
1answer
73 views

How to create Linux header for newly compiled kernel?

In Debian when I want to compile my kernel module I need to install linux-header-* package and then I need to write some makefile like this: obj-m := hello.o KDIR := /lib/modules/$(shell uname ...
1
vote
1answer
224 views

Archlinux not configured with iptables

I have been trying to set up iptables on my archlinux server, however when I run iptables -nvL I receive the error iptables v1.4.20: can't initialize iptables table 'filter': Table does not exist ...
1
vote
0answers
41 views

What are the generic-pae directories in /lib/modules?

When listing the content of the dirctory /lib/modules I see a list of generic-pae directories (Ubuntu 12.04): drwxr-xr-x 4 root root 4096 Apr 23 2012 3.2.0-23-generic-pae drwxr-xr-x 5 root root ...
1
vote
2answers
58 views

Does modprobe.d blacklist always need the prefix “blacklist-”?

In the german Ubuntu-Wiki it says, that the name of a blacklist in modprobe.d can be chosen as prefered but the filename has to begin with "blacklist-". Is that right? Because in a forum I read a ...
1
vote
1answer
1k views

Building example device driver error: insmod invalid module format

I am following the tutorial @ http://www.embeddedsystemonline.com/home/embedded-system/embedded_linux/lab3-linux-device-driver on step #7 of this tutorial, $ cd ...
7
votes
1answer
98 views
+100

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
3
votes
1answer
87 views

Finding a char device in /sys using a Bash script?

I have one of these and I am trying to write a Bash script for finding the device path in /sys. My approach goes something like this: start in /sys/modules/usbled since this is the name of the ...
3
votes
1answer
459 views

How to make EDID

I read the post here and I tried to make do with what I understood from the post but here are some questions: Where is the /lib/firmware located in for example /usr/src/linux/lib/firmware or ...