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

learn more… | top users | synonyms

1
vote
1answer
40 views

Why have a fake LR-WPAN driver?

In the Linux kernel configuration, a fake LR-WPAN driver can be enabled and added to the kernel that will be compiled. Why would someone want a fake LR-WPAN driver? I assume it would be for debugging, ...
-1
votes
2answers
85 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 ...
5
votes
1answer
86 views

Where would I start looking for documentation on the graphical mode of the Linux console?

I'm writing my own display server as an educational exercise. Where in the Linux kernel tree would I look for documentation on the console's graphical mode? Basically, as I understand it, Xorg takes ...
5
votes
1answer
230 views

Using kernel cryptographic functions

Is it possible to use kernel cryptographic functions in the userspace? Let's say, I don't have md5sum binary installed on my system, but my kernel has md5sum support. Can I use the kernel function ...
2
votes
1answer
318 views

Unable to boot using self built kernel

I built kernel 3.11.3 following the instructions here. There were no issues in the build. The steps I followed automatically made entries in grub and copied the image to /boot too. At boot time, when ...
2
votes
1answer
731 views

Broadcom Corporation BCM4313 WLAN does not work on installed Arch

I have a Broadcom Corporation BCM4313 WLAN Controller in my netbook. When I boot the Arch live ISO and set up the network with wpa_supplicant everything works fine. On the installed Arch I get the ...
3
votes
0answers
1k views

“Northbridge Error (node 0): ECC Error in the Probe Filter directory”

I've received an e-mail from a user worried that the following errors on one of his servers is indicative of a serious problem. The trouble is, the errors below are all that I have to go on. I ...
2
votes
0answers
53 views

Linux kernel API changes/additions

I'm trying to find a webpage or docs or XYZ that will allow me to see all the API changes/additions/removals between two kernel versions. I found http://kernelnewbies.org/LinuxChanges, but I'm not ...
3
votes
2answers
976 views

replace xen kernel with non xen kernel

I have a virtual appliance in Xen format (XVA) that I wish run to on another hypervisor (MS Hyper-V). What have I done so far: I have converted the XVA to OVF using XenConvert, this resulted in a vhd ...
1
vote
1answer
574 views

How to configure linux to output to monitor

I'm currently running a lightweight Debian distro on a development board from Compulab. I have to login to the system via serial port everytime. The system has graphical card and the driver is ...
9
votes
4answers
2k views

enabling numa for Intel Core i7

In Linux kernel, the documentation for CONFIG_NUMA says: Enable NUMA (Non Uniform Memory Access) support. he kernel will try to allocate memory used by a CPU on the local memory controller of the ...
9
votes
3answers
526 views

kernel: Namespaces support

I am wondering what exactly the “Namespaces support” feature in the Linux kernel means. I am using kernel 3.11.1 (the newest stable kernel at this time). If I decide to disable it, will I notice any ...
0
votes
1answer
74 views

Random bug in Linux

Some time ago, I remember reading an article on randomization in computing, and how random you can actually get a system to be. The article came about, if I'm not mistaken, because of some seemingly ...
1
vote
2answers
896 views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...
0
votes
1answer
651 views

OS errors : kernel: EDAC k8 MC0: extended error code: ECC chipkill x4 [duplicate]

We noticed the server crashes with below errors. Not sure it is related to any defected piece of the hardware or totally not related to Server detail:Red Hat Enterprise Linux ES release 4 (Nahant ...
0
votes
0answers
138 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 ...
0
votes
2answers
60 views

Is there kernel patch to prevent load files into RAM for LiveCD?

Is there kernel patch to prevent load files into RAM for LiveCD? I mean, if I'm use LiveCD with "boot to Ram" option, there is no needs for kernel to load executable binaries to RAM from RAM. It ...
1
vote
1answer
39 views

Linux Kernel Firewire Feature: Use Unclear

In the Linux kernel, there is a setting "FireWire SBP-2 fabric module". I do not understand the documentation: Say Y or M here to enable SCSI target functionality over FireWire. This enables you ...
2
votes
2answers
600 views

Why is the kernel boot failing?

I am trying to boot from 3.11.1 kernel image on my system having Ubuntu 12.04 (kernel 3.2.0-53) I used make defconfig and then compiled, placed the image in /boot, updated GRUB, and then rebooted. ...
0
votes
1answer
118 views

centos 6.4 trouble with /dev/pts/ptmx

I have a problem with the server running on CentOS. CentOS has been upgraded to version 6.4 and has all updates. Updates were made according to the official repositories. On the server running the ...
7
votes
2answers
158 views

Why should I build a custom kernel? [closed]

Several of my coworkers have been building custom kernels for their workstations and servers. What advantages/disadvantages are there to building a custom kernel? Why should I build a custom kernel? ...
4
votes
2answers
480 views

How do I search the linux kernel mailing list archives?

I want to research why a Linux kernel feature appears to be missing from my Linux install by searching the Linux kernel mailing list for recent discussions on the subject. The only site that I've ...
1
vote
1answer
118 views

Using qemu to boot OpenSUSE (or any other OS) with custom kernel

I want to run OpenSUSE as guest with a custom kernel image which is on my host machine. I'm trying: $ qemu-system-x86_64 -hda opensuse.img -m 512 -kernel \ ...
8
votes
1answer
542 views

How is nice working?

sched_setscheduler says : All scheduling is preemptive: if a process with a higher static priority becomes ready to run, the currently running process will be preempted and ...
2
votes
3answers
434 views

How do I know which kernel configuration option enabled my driver?

TL;DR: when I was trying to compile a driver for USB DAQ device I have reconfigured the kernel. The driver refused to compile under the default distro's kernel but everything works with my tweaked ...
105
votes
3answers
7k views

What does the Windows flag in the Linux logo of kernel 3.11 mean?

I've just installed kernel-3.11.0-1.fc20 for my Fedora 19 installation. During the rebooting progress, I saw the Linux logo with a Windows flag in it, what does it mean? The Fedora 19 is installed ...
2
votes
3answers
780 views

Boot my kernel in a Virtual Machine?

I'm learning now how to compile and boot linux kernels. Is there a way to boot kernels in a virtual machine, rather than messing my system? I use VMWare Workstation on Windows 8. Can I use that to ...
2
votes
1answer
432 views

Compile the Ubuntu “Raring” Kernel with the Intel Compiler

Of course, the first question is: why I'm doing this. Just for fun! I'm learning more about Linux kernels and I have a virtual machine that I can replace in 15 minutes. Getting to business, I don't ...
2
votes
1answer
337 views

How enable watchdog?

I'm struggling with the watchdog timer (wdt) for a while. I can't get it working. My microcontroller is a AriaG25, based on the AT91SAM925. I have used this tutorial to compile the kernel. The ...
2
votes
1answer
62 views

Monitoring file reads for cache warming

After adding more memory to my Linux machine I was tempted to use the cache more agressively. The thing is: I boot up my machine, go to bathroom, come back and log in. It takes like half a minute to ...
0
votes
1answer
60 views

What part of the Linux kernel determines the execution order of userland apps? [closed]

Stripping the source, I can't pinpoint which part of the kernel sets and manages the userland apps, and how it does it. For example, in the Linux main source, is the procedure have options to set ...
2
votes
1answer
941 views

How to learn kernel programming from the start? [closed]

I have completed my graduation recently. And I have only basic knowledge in C. But I would like to work on the Linux Kernel, and customize it according to my needs. Not only customize I would also ...
2
votes
0answers
208 views

how to stop kernel threads preempting real time user space processes?

I created some processes in user space and tried to visualize its working in kernelshark with the trace recorded using trace-cmd. But kernel processes like the ones shown below are preempting my ...
2
votes
1answer
476 views

CONFIG_RTC_SYSTOHC: how to use the NTP synchronization option in the kernel

I have noticed in kernel 3.10, there is an option CONFIG_RTC_SYSTOHC Device Drivers -> RTC -> Set the RTC time based on NTP synchronization The help says: If you say yes here, the system ...
3
votes
2answers
1k views

Which file in kernel specifies fork(), vfork()… to use sys_clone() system call

When ltrace is used for tracing the system calls, I could see that fork() uses sys_clone() rather than sys_fork(). But I couldnt find the linux source where it is defined. My program is ...
3
votes
1answer
143 views

How can I override the kernel default options for mount?

I'm struggling with a program that creates a file system in a file and mounts it as a loopback device. The purpose of the program is to create a clone of the root file system and it thinks it's being ...
1
vote
3answers
122 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?
32
votes
3answers
2k views

Does the kernel have a main() function? [closed]

I am learning device drivers and Kernel programming. According to Jonathan Corbet's book, there is no main() function in device drivers. So I two questions: Why don't we need a main() function in ...
2
votes
2answers
1k views

Install kernel-devel of specific version in fedora 19

So I have different "installed" kernel versions from the running kernel version, on my fedora 19 machine. To give a more clear idea, here is my terminal output: [user@home ~]$ uname -r ...
11
votes
4answers
6k views

Can I create a virtual ethernet interface named eth0?

I am running Arch based on the Linux 3.10.5-1 kernel. The system uses the new de-facto naming conventions of ethernet interfaces enp*s* and wlp* etc. This is a problem however, as my educational ...
1
vote
0answers
381 views

PC sudden shutdown, Sensors show normal temps, Thermal event interrupts shows 1276

I'm experiencing sudden shutdowns on my Linux systems. Using Ubuntu 12.04, my kernel version is 3.5.0-37-generic #58~precise1-Ubuntu. Running a Acer M5 581t(G) with 6 gigs ram laptop. I have been ...
2
votes
1answer
218 views

Generate interrupts for purpose of stress testing

I'm testing the quality of a generated PWM signal on a Raspbery Pi. I would like to test how it behaves if there are lots of interrupts coming. Is there a way to fake interrupts or force 2000 ...
1
vote
1answer
655 views

Beaglebone Black Device Tree for LCD4 cape

The device tree for LCD4 cape is located at /lib/firmware/BB-BONE-LCD4-01-00A1.dts When I looked into it, the declaration of those GPIO buttons confuse me. There are five buttons according to ...
0
votes
1answer
79 views

Building Linux from Scratch stuck, incompatible sed version? [duplicate]

I am trying to build Linux from Scratch per LFS website While I was able to install all the packages until 6.7.1 without any error, I am stuck at Installation of Linux API headers (This is after I ...
7
votes
2answers
243 views

Strange temporary network outage in Linux

I'm facing a very annoying problem that I noticed a week from now and for which I can't find an answer: my network suddenly stops responding, usually coming back exactly 25 seconds later. I was using ...
2
votes
2answers
1k views

Linux (debian/testing) cannot boot after installing kernel 3.9.1

Today I wanted to upgrade the kernel on my debian/testing system from 2.6.32-5-686 to 3.9-1-686-pae. So I installed the image by sudo aptitude install linux-image-3.9.1-686-pae (or something like ...
1
vote
1answer
170 views

What value is stored in linux xtime variable?

Whenever I print the value of /proc/interrupts the value of rtc0 in IRQ8 which is for RTC shows only 1 interrupt on CPU0. I have read that when booting the value of the xtime variable is stored from ...
2
votes
1answer
388 views

Why CONFIG_NO_HZ is not set by default

In the Linux Kernel CONFIG_NO_HZ is not set. But an initial reading suggests that setting that option would be nice from a performance point of view. But reading some posts like this made me think ...
1
vote
1answer
87 views

Why can't new versions of kernel solve the backlight problem?

Currently I am using Linux 3.8.0-27-generic kernel on my Samsung laptop. I replaced grub configuration file with the following text to make backlight control work: GRUB_CMDLINE_LINUX_DEFAULT="quiet ...
3
votes
1answer
1k views

What is meant by interrupt remapping in Linux?

Can anyone explain what the interrupt remapping is? Would turning this feature off in the Linux kernel cause any problems, or bring any benefits?