This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.

learn more… | top users | synonyms

1
vote
1answer
16 views

linux; return “RTNETLINK answers: Operation not supported” for dummy interface creation

I am trying to create a L3 interface in kernel v3.4.34, that is not attached to a physical interface/device and this is to be used purely as a management interface as an externally visible interface ...
1
vote
1answer
28 views

Why is INSTALL_MOD_STRIP not on by default?

I haven't compiled Linux kernels in a couple of years, and now that I started doing so again I discovered that modules are installed with debug symbols by default unless INSTALL_MOD_STRIP=1 is passed ...
2
votes
0answers
242 views

Why is the kernel and the watchdogs consuming all the CPU?

I run a bunch of heavy user space processes on a powerful Xeon machine (32 virtual processors according to /proc/cpuinfo). The CPU load is normally around 30 and the machine feel responsive, but later ...
2
votes
0answers
70 views

How are ties broken in AuFS with the top-down-parent file creation policy?

The AuFS manual says: Policies for Creating create=tdp | top−down−parent Selects the highest writable branch where the parent dir exists. If the parent dir does not exist on a writable branch, ...
2
votes
0answers
130 views

What does the linux kernel/initrd loading time depend on?

I recently updated my Linux kernel from 3.1.10 to 3.5.0. Upon booting with GRUB, I noticed that this kernel (or the initial ramdisk?) takes a much longer time to load (~5-6 s vs. ~1 s with the old ...
2
votes
0answers
183 views

Capture key events at system level to control e.g. alsamixer

In Linux window managers, it is easy to define actions for key events - e.g. in openbox: <keybind key="XF86AudioRaiseVolume"> <action name="Execute"> <command>amixer set ...
2
votes
0answers
224 views

Linux kernel 2.6 - layer 7 support?

From what I found on the Internet, Layer7 classifier support is not merged into the current kernel (as of 2.6.39-rc6) and can be achieved with a patch. Is it known when (if ever) the support will be ...
1
vote
0answers
20 views

Linux - How to list all device nodes using a specific device driver

I know I can see what driver is being used for a device node if I know the major and minor number of the device(see this link). But I want to know if there's a way to list all device nodes that are ...
1
vote
0answers
26 views

Linux Kernel TCP socket functions

So I have been looking through the Linux Kernel v3.8.0-19-generic source code and I noticed that the proto struct, whose members are virtual functions for socket operations depending on the particular ...
1
vote
0answers
50 views

getting error while adding a system call

I'm using Ubuntu 12.04(64bit) and installed kernel version linux-2.6.37.3. My device is ASUS x201ev net-book(64 bit). I'm providing the link of procedure i used. i edited unistd_64.h file also and ...
1
vote
0answers
68 views

My own linux Chorded keyboard driver and interface to my embedded application

I wan to develop my own keypad driver to my own keypad. I have to used GPIO to identify Key Events and used I2c to get scan code. I am going to develop keypad driver like this. #include ...
1
vote
0answers
5 views

How to approach searching for sources of interface unresponsiveness

On Debian Linux: On a relatively powerful machine I ran an update and both the kernel and the window manager got updated to newer version. At that point the machine become noticeably less responsive: ...
1
vote
0answers
36 views

Who is filling the ELF header

I have ELF file which I dumped using readelf -h filename and I can see the different fields with the some values like entry point address is 0x99cc ,but really want to know from where these values get ...
1
vote
0answers
117 views

Installing Kernel 3.5.1 breaks boot up

I have twice tried to update my kernel from 3.2.0.30 to 3.5.1 on my Ubuntu 12.04 32 bit system using two different methods I found via google. In both cases the operation appeared to run flawlessly ...
1
vote
0answers
122 views

An error during bochsdbg installation

I want to install bochs which can debug the kernel. First, I download a package, then: tar zxvf bochs-2.4.6.tar.gz<br> cd bochs-2.4.6.<br> ./configure --enable-debugger --enable-disasm ...
1
vote
0answers
742 views

Use initrd as root filesystem for network boot

I'm creating a stand-alone set of netboot images based on a LinuxFromScratch installation (7.0, kernel 3.1.0). I want to deploy that image to many diskless clients, but NFS is in my situation not an ...
1
vote
0answers
758 views

Setting up a Remote Diskless System

I am trying to setup a PXE Boot server with RHEL 6 and am following these directions. Has anyone done this successfully?? I am having various issues. I used the rsync command to copy over the ...
1
vote
0answers
97 views

kernel 2.6.36 not booting

I m a newbie to kernel programming. I am trying to boot the kernel 2.6.36 on my ECG machine.It was working perfectly on 2.6.33.2. It is getting stuck on this step: ## Booting kernel from Legacy Image ...
1
vote
0answers
146 views

Upgrading kernel in live ISO file?

I'm no Linux expert and I need to upgrade the kernel, and some applications, in a Ubuntu live ISO file whose structure looks like this: I've never done this before, and would like to check ...
0
votes
0answers
25 views

How to install kernel 3.9 in Debian Jessie from repos?

I was wondering if it is possible to install kernel 3.9 in Debian Jessie from repos. A brief check shows that there are only 2.6, 3.2 and 3.13 kernels in repos Compiling my own kernel is the last ...
0
votes
0answers
7 views

How can I to update the kernel in my network NAS from Conceptronic: CH3SNAS (same as D-Link DNS-323)?

I have installed Fun_Plug (up to v0.7) and using it for years in my CH3SNAS, following instructions from Uli's web site, but even when the site has new kernel modules for download, I have not been ...
0
votes
0answers
24 views

Error in kernel 2.6.32 compilation and stable kernel 2.6.32 source needed for customization

I am using Ubuntu 10.04 LTS with kernel 2.6.32-21-generic , and Ubuntu 10.04.4 LTS with kernel 2.6.32-38-generic. While I am trying to compile the source for both kernel version - 2.6.32-21-generic ...
0
votes
0answers
55 views

Not enough host controller resources for new device state

I have a debian mint based system where I plug in 16 usb devices. The Kernal is: 3.11.0-12-generic After about 10 or so devices I start to experience problems with connecting new ones. There error ...
0
votes
0answers
81 views

Linux kernel: getting ELAN touchscreen to work, USB debug related

This problem is actually known (ext: ELAN Touchscreen regression in recent 3.12's), but has no known solution up to kernel 3.13.6: [ 3844.533281] usb 2-7: new full-speed USB device number 91 using ...
0
votes
0answers
15 views

Need an application that takes a few seconds to test some speed up techniques

there is this ARM9 SAM9G25 embedded device, which I like to improve its performance. I'm using Buildroot 2013.10 to generate the bootable Linux 2.6.39 images. There are some methods I'd like to apply ...
0
votes
0answers
14 views

Linux: Keypresses missed when typed, possibly IRQ issues?

I have a strange behavior on a Raspberry Pi, running a buildroot'ed Linux kernel 3.13.5. When the system comes under a little load (eg. mpd is running in the background happily playing out some ...
0
votes
0answers
35 views

Linux kernel module is not running anymore when switching from mdev to udev

I'm using Buildroot 2013.10 to generate my Linux 2.6.39 Images, with the following Kernel module: void GPIO_LED(void) { printk(" GPIO: set PC8: '0'); at91_set_gpio_value(AT91_PIN_PC8, 1); ...
0
votes
0answers
13 views

Hardware watchdog only works on one of two almost identical systems

I've got two industrial single board computers which should be identical except for one has a Intel Atom Z510 and the other a Z530 (1.1GHz vs 1.6GHz and Z530 has hyperthreading). I'm pretty sure the ...
0
votes
0answers
27 views

LVM RAID 1 for root

I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition ...
0
votes
0answers
24 views

why the device file can not be found in init process after kernel booted?

I want to execute a script in init process, and I want it auto restart whenever it is terminated. I put this line in /etc/inittab ::respawn:/root/test.sh and the test.sh contains this line (I ...
0
votes
0answers
103 views

Buildroot : how to install generated images on another disk?

I use buildroot to generate linux kernel, rootfs and boot-loader (grub) for i386-i686 architecture. The generated image works with qemu. I have tested with "unetbootin" and "linuxlive usb creator" to ...
0
votes
0answers
66 views

Oom-killer (out of memory) with plenty of RAM (?!) - inotify

I'm facing an issue by putting inotify to a huge amount of folder (~2 000 000). I changed the max_user_watches to 8388608 : echo 8388608 > /proc/sys/fs/inotify/max_user_watches To support this ...
0
votes
0answers
20 views

What are the basic dependencies in linux to detect and use USB?

I am looking for all the possible dependencies for USB to be connected in Linux Environment I have already configured kernel with usb support till now I have found following dependencies : 1/ ...
0
votes
0answers
97 views

PF_RING on arch linux

I'm currently trying to install PF_RING on my arch linux: http://sourceforge.net/projects/ntop/files/PF_RING/ But when I run make I get the following error: cd kernel; make make[1]: Entering ...
0
votes
0answers
184 views

DKMS failing to complete in Ubuntu 12.04

After my last attempt to run an update with sudo apt-get update; sudo apt-get upgrade I got into a never returning update step (see below). So far I can only Ctrl+C but it will be triggered again ...
0
votes
0answers
26 views

Missed record in GRUB

I did install a new linux kernel from deb packages and run reboot. This new kernel replaced my current one. But the new kernel caused corrupted and it fails on booting (no console and no X... just ...
0
votes
0answers
1k views

linux kworker's CPU percentage extremely high

I have a laptop with i7 processor and ATI video card, all the distros I'v installed have a common problem -- there is always a kworker(kernel thread) occupy 40% of the CPU, (i.e. one of the 8 logical ...
0
votes
0answers
162 views

how to use virtual frambuffer driver in linux kernel

I am trying to port a custom linux distro to cloud. For this linux, we don't use X. We have a separate graphics/windowing system. It needs a framebuffer. Most clouds don't support any emulated ...
0
votes
0answers
18 views

QoS based on HTML page content

I have to implement a QoS policy on an OpenWRT router which should prioritize Twitter traffic. Identifying traffic to and from Twitter is easy but I would also like to prioritize traffic of pages ...
0
votes
0answers
262 views

bash autocompletion is slow, freezing my desktop

sometimes when working with a custom kernel, pressing tab in the bash autocompletes at a horrible pace. It freezes the whole desktop. Then comes back after awhile. This is the only quirk that I've ...
0
votes
0answers
155 views

rtl8111/8168b doesn't work after upgrade linux kernel

my computer has a ethernet controller: realtek semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) my computer is installed archlinux. Before I upgrade kernel, it ...
0
votes
0answers
440 views

Kernel OOM killer been called when plenty of memory left while using malloc

The program is a memory exerciser that request multiple chunks of 512MB to malloc. For some reason the node 0 is been memory exhausted while the others are not been called. MemExerciser cpuset=/ ...
0
votes
0answers
171 views

Kernel recompilation: mp-bios error 8254 timer not connected to ioapic

After recompiling my kernel I see this error every time I start linux. Os starts fine but I see it is not stable at all: sometimes it freezes and I can just reboot it. I guess it is because of this ...
0
votes
0answers
437 views

Get current thread id in kernel based C code (Linux)

I have a module which is accessed for read/write operations to a proc file. I know I can get current process id using current->pid, but is there a way to get the current thread id that is accessing ...
0
votes
0answers
2k views

How to make VirtualBox or VMWare (or any other virtualization software) use a native guest network driver?

I've just posted something in stackoverflow and was asked to post this question here. I have a problem I could use some help with... I am really not an expert in virtualization, so I don't know if ...
0
votes
0answers
204 views

Not able to mount HFS partition in Linux (SD Card)

I am trying to mount an HFS Plus partition in my Linux embedded target(2.6.35) and I ended up with the following error: "mount -t hfsplus /dev/mmcblk0p9 /mnt" mount: mounting /dev/mmcblk0p9 on /mnt ...
0
votes
0answers
374 views

Debian Squeeze, linux-image-2.6.32-5-486: Boot process halts with [<c1003997>] ? kernel_thread_helper+0x7/0x10

I just upgraded an old box from Debian Etch to Lenny, and then from Lenny to Squeeze. Upon getting the system up to Squeeze, I installed the latest 2.6 kernel, linux-image-2.6.32-5-486. When I ...
0
votes
0answers
68 views

Unified file system across Windows and Linux for type-2 hypervisor

Is there anyway to map a Windows disk partition( c:/, d:/) to Linux (running as guest on top of Windows host Type-2 hypervisor)? There are few solution like a shared folder in VirtualBox, however, ...
0
votes
0answers
203 views

Please comment on Hackbench performance on my embedded Linux device

I could not find this info any where else. I am trying to figure out if the hackbench result on my embedded Linux device is good enough. uname -a Linux 2.6.26-rt #5 armv6l Processor : ...
-4
votes
0answers
23 views

command for copying files in linux to usb drive?

I want to copy files from linux system to the usb flash drive connected to it. I ma using labcar VMware with linux operating szstem in it. could some one tell me how to copy the files from linux ...