The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

1
vote
5answers
110 views

How to find a Linux kernel that works ok on my PC?

I have an old laptop. The newer kernels that ship with the latest versions of the most popular Linux distributions crash from time to time. I want to use a new Linux distribution to get the latest ...
0
votes
1answer
74 views

Kernel 3.14.1 compilation errors

I installed the kernel 3.14.1 and there seem to be no issues. uname -r 3.14.1-031401-generic However, when I try to go to the folder and try to do a make it fails. I see that multiple files are ...
2
votes
1answer
37 views

kernel event listener

I wonder if there is something similar to an event listener in UNIX that a program can subscribe to? Specifically I want to know: Start and end times of a user session Start and end of the ...
1
vote
0answers
43 views

EDAC (Error Detection And Correction) infrastructure in linux kernel

I am wondering how I can make use of the EDAC infrastructure in linux kernel. I have a i7-4600M CPU and I have compiled EDAC as a module in my kernel: --- EDAC (Error Detection And Correction) ...
1
vote
0answers
24 views

Adding IPVS to the kernel

I am trying to setup keepalived on a pair of VPS load balancer servers. I have hit the road block of IPVS not being included with the kernal. IPVS: Can't initialize ipvs: Protocol not available I ...
0
votes
0answers
54 views

Extremely slow CD-ROM burning

When I try to burn a CD-ROM using K3B, the burner slows down from 10x to 0.12x after writing exactly 71MB. Consequently, burning a 142MB live CD takes more than a hour. Why is this happening? The ...
0
votes
0answers
14 views

booting freezes after used scheduler greatest stack depth error

I have built the linux kernel 3.14 with debug info. When I tried to boot it gives following error and after that booting freezes. Can somebody tell me how to fix this ? Linux Version : Slitaz in ...
0
votes
0answers
65 views

Black screen after installing Arch Linux, conventional fixes don't work

I recently installed Arch Linux on my HP Pavilion dv6 (Radeon HD 6770m graphics card) to dual boot with Windows 7 by following the beginner's guide found on the Arch wiki. After grub loads, I choose ...
3
votes
1answer
133 views

Library routines in linux kernel

In the linux kernel, there is a section "Library routines" with a snippet shown below: Library routines ---> <M> CRC-CCITT functions <M> CRC ITU-T V.41 functions <M> CRC7 ...
0
votes
1answer
54 views

Why does kernel-devel contain so many “empty” directories?

I have been a Windows kernel developer for many years. Now I start to develop Linux kernel modules. To begin with, I installed kernel-devel under /usr/src/kernels/$(uname -r). However, after checking ...
1
vote
1answer
82 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
0
votes
0answers
31 views

Black screen when kernel boots with vga= parameter

Recently recompiled kernel refuses to do output on the screen if vga parameter was in the list. Without it kernel boots properly as usual, however, before that it changed resolution and RC log ...
1
vote
0answers
42 views

Disable kernel logging during initialization

I'm using a Linux image generated with buildroot for an embedded system. I recently disabled some modules from being generated with the image and now some logging messages are being shown during the ...
5
votes
1answer
152 views

Kernel panic when passing noatime in bootargs

I have an embedded system using jffs2 and want to pass rootflags=noatime in the kernel bootargs parameter. This results in a kernel panic: jffs2: Error: unrecognized mount option 'noatime' or ...
1
vote
2answers
76 views

Compare two kernel config files from the menuconfig perspective?

I have a situation in which i have two kernel config files (for the same kernel source ). Both of them have a part of the functionality that i need (on one, USB works correctly, on other, the second ...
0
votes
1answer
93 views

How to enable printk selectively?

I want to print some statements from kernel but not all. So can I use printk selectively? By selectively I mean I want to enable printk only at particular places and disable it everywhere else. ...
2
votes
0answers
63 views

How to interpret cpu_idle and cpu_frequency event's trace logged by ftrace?

I used ftrace to trace two events, cpu_frequency and cpu_idle. I am not able to find out any documentation which states how to interpret this information. I have provided two snippets from the ...
1
vote
1answer
55 views

Can a Linux distro be closed source?

According to the GPL licence, which is the one used by the Linux kernel, every modification in the source must be open source too. But, for example, if I create a new OS based on Linux, I develop my ...
0
votes
1answer
74 views

How to Connect Internet in Zedboard using Linux via SDCard

I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. ...
0
votes
2answers
453 views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
1
vote
1answer
62 views

Bluetooth headset profile not working with recent kernel

I have a Plantronics 590 bluetooth headset (the type probably does not matter, but I have no alternative to test). Using the old 3.02 I was able to use this via pulseaudio. With the current ...
3
votes
1answer
80 views

Booting using initramfs instead of uramdisk

I am working on Zynq Microzed board. It is booting perfectly with uramdisk.image.gz but I trying to boot it with initramfs.cpio. In this regard I have made following changes in header files of ...
0
votes
0answers
140 views

Kernel hangs at “bootconsole [earlycon0] disabled”

Booting petalinux on Microzed board (ARM-Cortex A9). Compiled source code, DTS, and fpga.bin. Every thing is going fine till it hangs at "bootconsole [earlycon0] disabled" I am using ...
0
votes
0answers
19 views

No CD-Rom on IBM 9228 with 631xESB/632xESB IDE Controller

I've got an IBM 9228 Server running Gentoo Linux. Everything works except for the CD-ROM drive, which is connected via a PATA cable/controller. I know the CD-ROM works and is connected correctly ...
0
votes
1answer
39 views

How are the different kernel naming schemes relate?

I am running Ubuntu 13.10 with the Kernel 3.8.0-030800-generic downloaded from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-raring/ When I want to run for example turbostat or cpupower ...
1
vote
1answer
28 views

Why is the .config file not copied to /boot after installing new kernel?

I run across such a weird problem: According to this: The kernel and modules must be moved to special locations in order to be used, 1. make modules_install 2. make install The first ...
4
votes
1answer
127 views

LXC container to use “virtual” interface from host (namespace semantics)

So according to the documentation on the Ubuntu LXC documentation the following statement can be found at the time of this writing: A NIC can only exist in one namespace at a time, so a physical ...
3
votes
1answer
29 views

filesystem that works under qemu and I can mount on my host

I'm using qemu for different kind of tasks, I would like to pick a filesystem that is both qemu-compatible and easy to mount under my host. I already discarded both qcow and qcow2 because apparently ...
1
vote
1answer
38 views

Getty instances in init process

Init typically will start multiple instances of "getty" which waits for console logins which spawn one's user shell process. Upon shutdown, init controls the sequence and processes for shutdown. The ...
2
votes
2answers
186 views

Conceptual difference between Linux and (Free)BSD Kernel

(I've already noticed that this question was asked before but I think it has not been answered in a way I'd like to understand the topic.) What are the conceptual and structural differences between a ...
1
vote
0answers
72 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
10
votes
2answers
727 views

What does a niceness value of (-) mean?

According to the man page, and wikipedia; nice ranges from -20 to 20. Yet when I run the following command, I find some processes have a non numerical value such as (-). See the sixth column from ...
1
vote
0answers
117 views

About Linux Memory Compaction (CONFIG_COMPACTION)

I have a question regarding memory compaction on Linux. Generally compaction is triggered when system cannot satisfy a large contiguous memory allocation. This causes the compaction to run on all ...
0
votes
1answer
44 views

How to select which OS kernel to upgrade when multiple OS'es are installed?

I am trying to upgrade my kernel on a machine with multiple OS'es. I have a Red Hawk OS (a real-time Red Hat variant) and Red Hat installed. I can select which OS to boot into using grub. I'd like to ...
1
vote
2answers
112 views

How I can enable Linux full tickless mode using CONFIG_NO_HZ_FULL?

Where do I enable the CONFIG_NO_HZ_FULL kernel configuration? Is it something I can set in conf files or is it something that has to be enabled when I build the kernel? I am using CentOS with an ...
0
votes
1answer
100 views

How can I boot with a compressed rootfs?

My problem is: I cannot use compressed rootfs (the kernel crashes during boot) but uncompressed ones work fine. What I did: I'm using Buildroot 2013.11 to generate Images for my embedded Linux ...
7
votes
1answer
94 views

Possible to see dead proccesses?

In man ps, it clearly states the different states a process can have on Linux. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an ...
0
votes
2answers
976 views

How to update CentOS 6.5 to kernel 2.6.32-431?

I need to update my CentOS 6.5 kernel to 2.6.32-431. Running yum clean all && yum update doesn't do it for me. How do I update? And what could be the issue? [root@centos64 ~]# uname -r ...
4
votes
1answer
61 views

What does “make install” do in the Makefile that comes with the kernel?

I'm trying to identify what does make install do with the kernel and what does the actual "install" of the kernel once it's been compiled means. The problem is I can't really identify the target ...
1
vote
1answer
59 views

API for IPROUTE2 in any programming language

Is there any API that can be used to manipulate Linux routing table? I want to write a program that listens to sockets and then modifies routing table accordingly, just a simple code, but need an API. ...
1
vote
0answers
135 views

CDC ACM doesn't working in a custom linux kernel

I've a cubieboard2 running arch linux with a custom linux kernel. In the cubieboard2 I plugged in my usb-serial device (like an arduino), the device is recognized as CDC ACM. My linux kernel has the ...
1
vote
1answer
45 views

leds-pwm driver in linux 3.8

I am using custom board based on beaglebone black. I am trying to enable leds-pwm driver in Linux 3.8 version. But Kconfig says the driver depends on HAVE_PWM config, I am not able to see that ...
0
votes
2answers
50 views

GPIO User Space App

GPIO User Space App describes user space application to test the GPIO. Another related link is Linux GPIO Driver. This would be running on a xilinx zynq board having an ARM Cortex A 9 processor. I ...
6
votes
1answer
147 views

show parameters of running kernel

I would like to see with what parameters the running kernel has been started. i.e., I mean those parameters that are specified with the append option, such as ipv6.disable=1 or rootfstype=ext2 Is ...
1
vote
0answers
128 views

How to cross compile linux kernel for ARM using GNU ARM toolchain? [closed]

I'm trying to cross compile latest Linux kernel 3.14 for ARM architecture. When I executed - make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- The terminal gave me an error that: make: *** ...
0
votes
0answers
132 views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
1
vote
3answers
98 views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version ...
0
votes
1answer
48 views

How to use a built in driver in the kernel?

I am building the 3.14 kernel for a board that requires the intel e1000e driver. I would like this kernel to have the driver built in so that I can remove loadable module support. I have chosen the ...
1
vote
1answer
46 views

Can a real-time process exist in the 'expired' queue of linux kernel?

In the Linux kernel 2.4: Real-time processes are given a priority of 0-99 and they co-exist in the ready queue along with the nice processes (who's priority goes between 100 and 139). But real-time ...
2
votes
1answer
77 views

Kernel Panic on 3.14.0-gentoo on an IBM 9228LGA / SMP Stack Trace

So I've spent the past weekend trying to get this IBM Xeon server up and running. I also took this opportunity to try and get a bootable GPT/Grub2/BIOS setup going. I am able to get the kernel ...