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

2
votes
0answers
53 views

Chipsee 7 inch LCD support in Linux kernel 3.14

Has anybody ported Chipsee 7 inch LCD on Linux kernel 3.14 or later ? Is there any patch available for the same ? If no patches any suggestion porting Chipsee LCD support from Linux kernel 3.8 to ...
2
votes
0answers
96 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
168 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
205 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
229 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
15 views

Keyboard and mouse don't work after kexec

While installing Fedora on my MacBook Pro Mid 2012 I've occasionally used kexec command to "boot" from live environment to the installed system. # yum install kexec-tools.x86_64 # mount LABEL=/boot ...
1
vote
0answers
13 views

pppd retry issue with multiple wan interfaces

I am using two wan connections in my router with linux kernel 2.6.21. PPPOE Ethernet cable and 3G connection. Both need ppp setup. But boot sequence is different for both. many times 3G disconnect and ...
1
vote
0answers
103 views

/sbin/init exists but couldn't execute it

I'm building Linux from scratch. Currently I have the kernel, glibc and sysvinit. I've compiled everything myself following these instructions. Though my version of glibc is 2.19. Also, I use grub ...
1
vote
0answers
23 views

How to disable USB Mouse only

I was developing a device driver for a USB mouse which uses the USB HID driver. The problem is that I cannot test out my module as Linux takes over the mouse directly. So how do I find out which ...
1
vote
0answers
113 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
90 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
101 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
7 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
411 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 ...
1
vote
0answers
500 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 ...
1
vote
0answers
44 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
123 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
149 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
946 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
824 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
99 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
167 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
10 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
0
votes
0answers
8 views

Cannot start LXC container: failed creating cgroups

I am using LXC (Linux Container) 1.0.6 on a Ubuntu 14.04 64bit Virtual Machine trying to build HTTP service in a container. I have trouble starting the container: $ sudo lxc-start -n test1 lxc-start: ...
0
votes
0answers
5 views

update-grub creates a menu entry with read only option

I am trying to automate the installation of a new linux kernel across a data center. After the installation, my script runs update-grub to add an entry to the grub menu. It updates ...
0
votes
0answers
27 views

BATMAN protocol

I am having problems with Batctl. I installed Batman adv and batctl on ubuntu 14.04.1. I am having problems with batctl commands. When I write comand "Batctl p 00:16:bf:01:68:46" i get this error: ...
0
votes
0answers
30 views

Gentoo Linux: Building a kernel that only only contains drivers for the hardware in place

I would like to build a kernel for my system that only contains modules for the hardware which is really in place. Of course I can walk through lspci and manually select all the necessary device ...
0
votes
0answers
31 views

Switch off WIMAX/Wifi Intel 5150 chip under Linux

How switch off WIMAX/Wifi Intel 5150 chip under Linux using command or utilities? I recompile Linux kernel without WiMAX support, but indicator lights on the front panel of my notebook. P.S. Is it ...
0
votes
0answers
142 views

Hide all kernel boot messages/logging when disabling splash screen Lubuntu 14.04.1

In Lubuntu 13.10 I was able to redirect the kernel messages/logging to another tty by adding the following to the Grub file in order to hide all kernel boot messages when disabling the splash screen ...
0
votes
0answers
111 views

Disable TCP keepalive on RHEL6

Is it possible to disable TCP keepalive on RHEL6? I know the kernel parameters for tuning TCP keepalive timeout are as follows: net.ipv4.tcp_keepalive_time net.ipv4.tcp_keepalive_intvl ...
0
votes
0answers
29 views

Xen E820 memory map for domU kernels

How does xen handle E820 memory map for domU kernels? In my specific problem I am trying to map Non-Volatile RAM to domU kernels. The dom0 memory map returns the following relevant parts. ...
0
votes
0answers
142 views

How may I mount a disk with a Apple / Mac partition table (APM) in Linux?

I've backed up some files from a old Powerbook G4 (AluBook), and I used the Mac Partion manager or whatever to first initialize the disk. It worked, originally, as one large volume, and I copied ...
0
votes
0answers
7 views

How to install cached linux debug symbols?

I am doing work which requires downloading and installing debug symbols multiple times for a specific linux kernel i.e: linux-image-3.8.0-26-generic-dbgsym I'm on a fast university fiber network. ...
0
votes
0answers
235 views

What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?

Please note that this question is specific to linux only. And by swap space, I mean the dedicated swap partition. I did google a bit on this, and found these definitions: Paging refers to writing ...
0
votes
0answers
65 views

unable to find a suitable fs

I am trying to install edx on a virtual machine. But i am getting problem with apparrmor.When i run command. $ apparmor_parser Warning: unable to find a suitable fs in /proc/mounts, is it ...
0
votes
0answers
23 views

Is ramdisk_size still needed with a .cpio initrd?

I'm creating a rescue system with the following two files: rescue.linux (version 3.2) initrd.cpio The initrd.cpio file can be quite large, larger than the default 4MB of a ramdisk. However, it ...
0
votes
0answers
26 views

kernel configuration: select specific drivers or symbols regardless of dependencies?

Is there a way in "make menuconfig" et al. to start with enabling device drivers that you want included, and have it enable the necessary (dependent) generic options and APIs automatically? As it is, ...
0
votes
0answers
24 views

Virtual machines on Secure Boot

I have Fedora 20 installed with Secure Boot. I've been trying to make a virtual machine using OracleVM VirtualBox and VMware Workstation, but none of them work (vmmon couldn't be started). After ...
0
votes
0answers
39 views

What HID/Module does Air mouse use in Linux?

I was thinking about developing a module for running a Air Mouse. I am not sure as what module s used to carry out the operation done by air mouse. Is it under HID? (I am talking about a wireless Air ...
0
votes
0answers
40 views

Acpitool no information

When I run as root acpitool I recieved Battery is not present, bailing out. AC adapter : <info not available> Thermal info : <not available> I can understand why all the ...
0
votes
0answers
53 views

What is the difference between cat and normal file operations on proc files

I have implemented a ps like utility module for procfs which extracts basic information such as command, pid, tgid etc. I have used the sequence file approach. I am inspecting my proc file using two ...
0
votes
0answers
106 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
29 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
19 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
34 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
114 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
63 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
41 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
28 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
2k 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 ...