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

learn more… | top users | synonyms

0
votes
0answers
5 views

Spawn multiple dirty page flusher threads per device

In earlier 2.6.X kernels, pdflush was used and it would spawn more pdflush threads if all current pdflush threads were busy for a second (read from The Linux Page Cache and pdflush). Since the ...
2
votes
0answers
16 views

Is a page with “PROT_NONE bit set” eligible for swapping?

From the following link: Page Table Management - kernel.org, I understood that the bits PROT_NONE and PRESENT can be used to let the OS know that a page is protected but is resident in memory. I am ...
2
votes
0answers
27 views

How does the kernel store the virtual memory area?

I am trying to understand do_page_fault in fault.c (x86 architecture). I came across the method access_error where we compare the error code to the vm flags. As per my understanding, we are checking ...
3
votes
2answers
24 views

Using Linux kernel config file from version to version

I have currently Linux Kernel 2.6, which works for my hardware. Now I want to compile Linux kernel 3.2 for the same hardware. Can I use the same .config of 2.6 directly for v3.2? Is there any ...
5
votes
2answers
84 views

Linux kernel manual build: resulting binary is 10 times larger than precompiled binaries

I'm using Linux Mint 13 MATE 32bit, I'm trying to build the kernel (primarily for experience and for fun). For now, I like to build it with the same configuration as precompiled kernel, so firstly ...
0
votes
0answers
20 views

Custom kernel for Intel z2760 CPU [on hold]

A friend of mine wants to install Linux on his tablet with a z2760 CPU from Intel, Googling it gives some forum topics of people saying there Kernel freezes during boot. Is there someone who managed ...
-2
votes
0answers
37 views

Developing Linux Kernel From Scratch - Step by Step [closed]

I would like to develop my own Linux Kernel. I am pursuing my Final Year in my Bachelor's Degree. I have undergone 2 courses based on this (Operating Systems, reference book is Silberschatz and Unix ...
2
votes
1answer
23 views

How do you patch a kernel? [duplicate]

I got diff text from lkml how do I patch it into a kernel source? I am very new to compiling kernels, and I couldn't find decent sources online I am using debian if it is relevant
0
votes
2answers
40 views

installing grub and a working kernel over an old and broken debian system

I have an old debian system, which I always have been able to upgrade over the years. I had installed an old kernel, compiled by me from sources. After my last dist-upgrade (using testing ...
3
votes
2answers
44 views

Questions about kernel releases

Right now there are about 7 (or more) kernels maintained by the Linux Foundation. I was wondering if you could clarify my doubts and answer my questions: Isn't the next kernel's release maintaining ...
0
votes
1answer
21 views

Loginuid, should be allowed to change or not (mutable or not)?

I am trying to configure the linux kernel. I was confused by Make audit loginuid immutable (AUDIT_LOGINUID_IMMUTABLE) [N/y/?]. The help says: +config AUDIT_LOGINUID_IMMUTABLE + bool "Make ...
5
votes
2answers
132 views

File handles and filenames

I read this post. Are file descriptors the same as file handle? While trying to configure the linux kernel, it asks open by fhandle syscalls (FHANDLE) [Y/n/?]. Why is this option provided? Does ...
6
votes
1answer
32 views

How do I know what decompression algorithms are compiled-in into the linux kernel?

If /proc/config.gz is unavailable, how do I know what decompression algorithms the running kernel is capable of using on a compressed cpio initramfs? Is the gzip algorithm always available, even when ...
3
votes
1answer
26 views

How do I find out what filesystem drivers are compiled-in into the linux kernel?

On a running linux system, what is a portable (among linux distributions) way to find out what filesystems the current kernel has compiled-in (not through modules) support for? Consider for example ...
2
votes
0answers
27 views

Enable BFQ in Fedora

I am running Fedora with the stock kernel and I'd like to enable the BFQ disk I/O scheduler, and ideally BFS. I have built my own kernel and that works, though it is a royal pain dealing with the ...
4
votes
2answers
75 views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
0
votes
0answers
18 views

The latest stable RT patch version of linux kernel 2.6.31

I want to get the lastest stable RT patch version for linux kernel 2.6.31. But I was confused when looking it up at kernel.org. I saw that: patch-2.6.31.6-rt19.gz last modified was on 10-Nov-2009 ...
3
votes
0answers
25 views

Kernel bisect: when a patch is failing for a reason other than original bisect purpose, what do you do?

Let's say you're trying to find the cause of a bug between 3.11.0 and 3.12.0. The bug is really difficult to catch, because it may or may not manifest itself over several days of regular workload ...
0
votes
1answer
44 views

aircrack-ng shows negative channel

On many Linux distributions, be it BackTrack, Kali, BackBox, Ubuntu, Mint, etc., whenever I use anything from the aircrack-ng suite my wireless card is shown as channel -1. This problem has been ...
1
vote
1answer
47 views

How do I compile source into the kernel?

I want to add and compile my custom application code into my kernel. How should I add my .c and .o files into my kernel 'bin' directory and compile them? I made a hello.c and hello.o file and I want ...
5
votes
1answer
448 views

In what sense does SATA “talk” SCSI? How much is shared between SCSI and ATA?

This is nothing new to me at least, that SATA actually "talks" SCSI, hence why these SATA devices show up as SCSI devices in Linux. A related question has been asked before, e.g. Why do my SATA ...
6
votes
1answer
33 views

File backed, locked shared memory and disk interaction

Varnish, a HTTP accelerator, uses a ~80MB file backed SHM log that is mlock()ed into memory. The Varnish docs recommend to store the file on tmpfs to avoid unnecessary disk access. However if the ...
2
votes
2answers
46 views

Linux 2.6.36.4, GCC 4.7.2, getting lots of “variable set but not used” warnings

I am trying to compile the Linux kernel 2.6.36.4 on Linux Mint 14 running a 3.5 kernel by default. Using gcc version 4.7.2. Tried googling it, but didn't quite work out. The warning is: warning: ...
1
vote
0answers
45 views

Installing linux source [closed]

My distro(Crunchbang) was missing the source files and only the header files were present. So I installed the Linux source using: $ sudo apt-get install linux-source After the completion of ...
0
votes
0answers
18 views

SLES 10 SP4 - how to get specific kernel source?

I want to look at the kernel source for some specific kernel versions on SLES 10 SP4. I don't want to see just the Linux kernel source, but the one SLES is actually running. Suppose I wanted to get ...
2
votes
0answers
16 views

Virtual kernel memory layout in dmesg linux kernel 2.6.31

I'm working on a embedded linux project for ARM architecture, kernel version is 2.6.31.12-rt21. In dmesg, I cannot see the virtual kernel memory layout like this: virtual kernel memory layout: ...
0
votes
0answers
54 views

inotify does not work with linux kernel 3.4.11

I have a Linux running with kernel 3.4.11. I tried to run inotify-tools, but it does not work (in fact it does not detect the file changes). I checked the .config file of Linux kernel and I found ...
0
votes
1answer
38 views

ncurses-devel problems in SuSE Linux Enterprise Desktop 11

Searching on the WEB, I found this tutorial (the only one that has convinced me) for installing a new kernel and I followed the steps provided. But, I got these problems: In the first step I tried ...
0
votes
1answer
13 views

kernel config with strange dependancies

I am trying to build the Android Linux kernel from source following this README. The instructions very clearly state: 1.1 Required enabled config options: After building a standard defconfig, ...
0
votes
0answers
19 views

Calling speaker-test from usermode-helper API

I needed to call come audio-producing applications from kernel in a toy module. In order to test that, I thought of calling speaker-test from a simpler module, but no sound would ever come from it. I ...
1
vote
1answer
49 views

How is 32bit Linux virtual memory structured in relation to PCIe Base Address Registers

I'm working on a Linux system (32 bit, 4GB RAM) and found some contradictory information about memory addressing in Linux. Am I right with this: Only virtual memory has the differentiation between ...
1
vote
0answers
56 views

DisplayPort and Intel HD cause GPU hangs

My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for beeing the cause, ...
0
votes
2answers
103 views

Linux memory usage?

We have 1TB of memory on a server which hosts an SAP application. When the app is running the memory usage shown in top is around 700GB. When the app is stopped the memory usage shown in top comes ...
14
votes
2answers
2k views

Who is responsible for the Linux kernel?

As of today, there are many Linux distributions like Ubuntu, Fedora, Gentoo, Mint, Debian, etc. These distributions update at different cycles. Ubuntu seems to update its kernel weekly or monthly, ...
1
vote
2answers
23 views

Running assembly program as ring 0

I'm writing an application which reports back readings from CPU temperature sensors, and the fan speed monitor. However, according to the Intel documentation on PECI, the instructions required must be ...
3
votes
0answers
35 views

What's the exact behaviour of the command: ip address change?

I have been fiddling with IPv6 and address lifetimes. I found out that the valid_lft attribute will make a v6-address disappear automagically, if used correctly. To extend an address' lifetime I would ...
3
votes
1answer
56 views

Built the kernel with NFS support but not getting /dev/nfs

I'm trying to build kernel 3.13.9, fetched using apt-get source, and built in a clean debootstrap chroot (both host and chroot being installations of Ubuntu Trusty). My goal is to boot a diskless ...
1
vote
0answers
32 views

tasklet and interrupt handler synchronization [closed]

The things I know about tasklet: Tasklet runs with all interrupt enabled. The tasklet runs in interrupt context. It can't sleep. It runs in atomic way. It has the assurance to be scheduled never ...
-1
votes
0answers
11 views

How to use termios and ioctl functions in kernel module? [migrated]

I wrote a kernel module for a touch screen monitor and earlier I used inputattach (written in userspace) to open serial port, set baud rate, control flags, line discipline etc. But now I want to ...
3
votes
1answer
44 views

Can 32 bit applications on a 64 bit kernel use all the memory?

I know that the 32-Bit kernel can use PAE to allocate more RAM to applications with PAE (up to 64GB) as such I imagine if I am running 32 bit applications on a 32-bit kernel I can use all of my 24GB ...
2
votes
1answer
55 views

I/O schedulers for normal harddisks

For me figuring out what is the best choice for I/O in kernel was a challenge. First I learned that it is subjective then it is depend upon the File-System you use. I know you should use No-op for ...
2
votes
1answer
61 views

View all disabled or hidden linux kernel options

I am trying to build a 3.12 Linux Kernel and I see some of the options (sub menus) are hidden and their branch (menu entry) is disabled in make menuconfig. [---- instead of being --->] I know ...
5
votes
1answer
433 views

What is equivalent to Mac's purge in Linux?

In Mac I use purge to free up some memory. What is equivalent to it in Linux(Ubuntu Server)? apt-get install purge gave me nothing. If you are no familiar with Mac's purge here is it's man page: ...
3
votes
2answers
64 views

Testing the Success of a Congestion Algorithm

How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms. I'm current looking at ...
0
votes
0answers
63 views

How do I make strace “decode” AF_NETLINK comminucation like with ioctl?

strace usually "deciphers" ioctls, showing what do they mean, even resolving network interface names and so on. But the same operation performed using AF_NETLINK stays opaque in strace. How to teach ...
1
vote
0answers
35 views

What are the two head.S files in linux source ?

In the linux source there are two different head.S files located at: arch/arm/kernel/head.S arch/arm/boot/compressed/head.S What is the puprpose of each one and what is the order of there execution ...
19
votes
2answers
884 views

What is the purpose of patches of the linux kernel?

For each Linux kernel version, there is a patch file available for download. For instance, linux-3.12.22 has a corresponding patch-3.12.22. What is the purpose of that patch? To always patch the ...
0
votes
1answer
73 views

kernel source code for beaglebone black

I want to build an Ubuntu kernel from scratch for beaglebone black. I have been searching for where I can download the kernel source code for more than two days but haven't found anything. So, ...
0
votes
0answers
17 views

Driverless Windows webcam supported by UVC under 3.10 kernel?

There are 'driverless' webcam that plug into Windows 7 and will work directly without driver, in same way as USB finger disk, just plug in and work automatically. Is it true that the mechanism works ...
4
votes
1answer
187 views

Installing linux-3.14.8 un Arch Linux while 3.15 is already in testing

I'm currently running kernel 3.14.6 on Arch Linux from Core repo. I would like to install 3.14.8 (which is the latest of 3.14 series) because it contains a fix that is suitable for me. However linux ...