0
votes
0answers
13 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 ...
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
3answers
42 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
128 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
113 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 ...
2
votes
2answers
75 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
38 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 ...
1
vote
0answers
102 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...
3
votes
2answers
105 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
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
2answers
57 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
0answers
54 views

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 ...
0
votes
0answers
43 views

Install all Linux Kernel Backports?

A series of simple questions concerning the installation of Linux kernel backports: 1) Does anyone have experience installing the unstable ones? Has anyone ever run into problems with them? Or are ...
1
vote
0answers
36 views

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)? [duplicate]

Hybrid- and Microkernels are flexible, in the way one can add any higher-level functionality as a module, is it not the same for linux kernels? Why then linux is called a monolithic?
-1
votes
2answers
67 views

Make a new sniffer [closed]

How can use the Linux-kernel to supervise what is going on, about the new connections, new ports, connected hosts? Like I will do a new sniffer. Which files should I monitor to know what is going ...
0
votes
0answers
91 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone ...
6
votes
1answer
292 views

How to disable keyboard?

Without unplugging my keyboard I'd like to disable it from the terminal; I was hoping that this could be done using rmmod but based on my currently loaded modules it doesn't look like it is possible. ...
0
votes
4answers
564 views

How to show loaded kernel modules inside OpenVZ virtual server

I am trying to find out what kernel modules are loaded inside a OpenVZ virtual server. Command lsmod is empty and I believe the reason is the way how OpenVZ's virtualisation is working. Specifically, ...
2
votes
2answers
501 views

What is the sequence loading linux kernel module on startup? How priority is set to them?

I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
1
vote
3answers
89 views

Does a fault in a kernel module necessarily result in a system crash?

Or is it possible to overcome the fault, since the code isn't in the monolithic part of the kernel?
0
votes
1answer
91 views

install a kernel module into BeagleBoard (BB)

I want to install a kernel module (For example "Hello world") on the BeagleBoard(BB). (The installed OS on the BB is an Ubuntu Linux). If anybody already worked on this could you suggest me a step by ...
-1
votes
1answer
187 views

removing kernel modules not working for some modules [closed]

unfortunately i couldnt install a machine with minimal installation as a virtual machine ,so i am trying to prevent loading of unwanted modules from kernel using blacklist file. Added following to ...
3
votes
1answer
267 views

Cannot remove or reinsert kernel module after error while inserting it without rebooting

I am learning how to create kernel modules and it was all working fine: I compiled, inserted the .ko with sudo insmod cheat.ko, and the printk messages inside the init function (set by module_init) ...
1
vote
1answer
230 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
138 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 ...
1
vote
2answers
184 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 ...
1
vote
2answers
571 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
2answers
1k 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: ...
2
votes
1answer
292 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 ...
5
votes
2answers
765 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 ...
1
vote
1answer
390 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
72 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 ...
1
vote
0answers
374 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 ...
1
vote
1answer
87 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 ...
2
votes
2answers
1k 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
2answers
2k 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 ...
4
votes
1answer
410 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 ...
19
votes
5answers
5k views

What is the difference between kernel drivers and kernel modules?

When I do a lspci -k on my Kubuntu with a 3.2.0-29-generic kernel I can see something like this: 01:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1) Subsystem: ...
0
votes
1answer
224 views

Xorg.conf, which modules should be loaded for better performance?

In general what is supposed to be in the Module section of the Xorg.conf file in order to get maximum performance from a graphic card? At the moment my Module section is empty... also because I ...
-1
votes
1answer
282 views

Installing a .ko module on an embedded Linux system that does not support modules

From the answers to this question I have discovered that the embedded Linux distribution provided to me, by my hardware supplier, was not built with kernel support. If I am to use this distribution I ...
4
votes
2answers
1k views

Can I detect if my custom made kernel was built with module support?

I have been provided with a vendor supplied minimal linux installation. From an answer to a previous question I discovered that it is possible to build a kernel with or without module support. I have ...
2
votes
0answers
99 views

How to find where driver.mod.c links to?

I'm trying to port the webcam composite gadget from kernel 2.6.37 to 2.6.32. I don't have a choice on this since I depend on other drivers and a SDK which only compile for this version. My train of ...
1
vote
0answers
439 views

I can't find my tape library changer under centos 5 with a quantum scalar i40

i have a quantum scalar i40 connect on a centos 5 machine trough SAS interface. I fight with it since a while because the media changer does not work. I finally understood yesterday that the system ...
0
votes
1answer
268 views

What is the realtime equivalent of the module r8169?

From here: http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing#Testing_with_a_single_node_.28local_loopback.29 TODO: simplify the following steps. - Then you need to edit the file ...
0
votes
1answer
89 views

What's the difference between CONFIG_R8169 and CONFIG_R8169_VLAN?

.config from /usr/src/linux-2.6.38.8 contains: CONFIG_R8169=m CONFIG_R8169_VLAN=y What's the difference between CONFIG_R8169 and CONFIG_R8169_VLAN?
3
votes
1answer
536 views

Do I have to list modules in both `/etc/mkinitcpio.conf` and `/etc/rc.conf`?

I've added few modules into mkinitcpio.conf. Are they automatically loaded at kernel boot or with udev if I don't specify them in modules list in rc.conf?
2
votes
1answer
102 views

Build a module from another kernel

Is it possible to use a module (wacom) from a more recent kernel ? My current kernel is 3.1.2 and the module is from kernel 3.4rc4.
2
votes
1answer
135 views

Identifying kernel modules

How do I get more information about a kernel module, like a long description? For example, I can see kernel modules like lp or hid, but those short codes do not mean anything useful to me.