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

learn more… | top users | synonyms

3
votes
1answer
67 views

Easy way initrd to chain loading another kernel with kexec

I have here a machine which won't boot 64-bit kernels (it has efi32 with a little bit of... uncommon firmware). Currently, my only way to boot my 64-bit linux system is: Booting a 32-bit distro ...
0
votes
0answers
18 views

DEBUG_RODATA option in the linux kernel

I am wondering what exactely the use of DEBUG_RODATA is in the linux kernel. The help says: CONFIG_DEBUG_RODATA: Mark the kernel read-only data as write-protected in the pagetables, in order to ...
3
votes
1answer
35 views

kernel: pass option to driver, when not compiled as module

I had the driver for my sound card compiled as module, i.e.: CONFIG_SND_HDA_INTEL=m and I did pass following options to the module (via /etc/modprobe.d/alsa-base.conf): options snd-hda-intel ...
1
vote
0answers
36 views

How to make 'install USB' with custom Linux?

I built my own custom kernel for new hardware.(Not a normal PC, embedded x86 device), and using syslinux I could create a booting USB for that kernel. After a few trial and errors, I was able to ...
29
votes
2answers
1k views

Why did powering down my machine after a bad `rm` save my files?

Classical situation: I ran a bad rm and realized immediately afterwards that I had removed the wrong files. (Nothing critical and I had tolerably recent backups, but still annoying.) Knowing that ...
0
votes
0answers
41 views

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram. For connection with BeagleBone Black I refer audio cape which is available in market. here is a link: ...
1
vote
0answers
23 views

Is it possible to run the 2.4 linux kernel and RTLinux 3.2 on modern hardware? [closed]

I have software written for kernel 2.4 and RTLinux 3.2, but the old hardware started breaking. The software is huge and complicated, so rewriting it for modern hardware is most likely not going to ...
3
votes
2answers
43 views

Linux kernel patch and development source tree

We are using linux3.12 and its led driver has a bug which got fixed in later version of Linux. We see that driver change in Linux 3.15 see Linux Cross Reference Now my question is how can I find a ...
0
votes
0answers
45 views

rts5139/rtsx_usb borked in 3.15+

Some time in 3.15, someone moved the rts5139 driver out of staging (I cannot find a changelog of this) and it got renamed to rtsx_usb. This, unfortunately, broke support for at least the RTS5139 card ...
0
votes
2answers
94 views

Can anyone recommend some linux kernel related books for beginners? [closed]

I'm a newcomer of Linux kernel, and I want to know the mechanism of Linux kernel. But I was confused by such a huge number of concepts, structs and functions after the reading of Understanding the ...
0
votes
1answer
31 views

to print address space of a process in ubuntu 12.04

How do I print an address space of a process by taking the process' PID?
4
votes
1answer
43 views

kill unresponsive process

According to top, process named pccardd loads my CPU nearly 100%: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
1
vote
1answer
56 views

How logical address of one process differs from the logical address of another?

I am a newbie. I am reading Understanding Linux Kernel. There, I am trying to understand how logical address got translated to physical address. To my understanding, I believe logical address got ...
-3
votes
2answers
71 views

Why do I have to make my own drivers?

Why does *NIX require me to make (i.e. build) my own drivers to install them? Couldn't they just be pre-built by the author and so long as they target the right CPU architecture I could install the ...
2
votes
1answer
62 views

Booting Linux minimally

I am trying to boot just linux itself. It's mostly for the learning experience. I got a small HDD with only one ext4 partition looking like this: /bin/bash /dev/console /boot/vmlinuz ...
1
vote
1answer
26 views

Kernel does not load after modifying parameters and kernel image with Syslinux

# Config file for Syslinux - # /boot/syslinux/syslinux.cfg LABEL arch MENU LABEL Arch Linux LINUX ../vmlinuz-linux APPEND root=/dev/sda3 rw INITRD ../initramfs-linux-ck.img LABEL ...
4
votes
1answer
154 views

Log files for kernel panic on Arch Linux

I have recently updated my Arch Linux machine. Since then, I have been getting kernel panics here and there. (the screen freezes and the status lights on my keyboard are blinking) It seems to happen ...
6
votes
1answer
73 views

What Linux kernel features does os-prober require to find a Windows 8 installation?

I built a new custom Linux kernel using make localmodconfig and after booting the new kernel, update-grub doesn't detect my Windows 8 installation. My distro kernel (with tons of modules I don't ...
0
votes
0answers
81 views

USB Keyboard Hotplug Module not Working

The following module could be compiled and loaded without any error: #include <linux/module.h> #include <linux/kernel.h> #include <linux/usb.h> #include <linux/usb/input.h> ...
1
vote
1answer
70 views

blktrace - differentiating between sequential to random io

I'm looking for a way to determine whether an app is doing sequential or random I/O. Is it possible to look at a blktrace capture and say if I/O is sequential or random? If yes, any examples of what ...
0
votes
0answers
49 views

Can't get Kernel image

I am trying to write the kernel image in my ARM, I am using an ARMStone a9 here is the information about this board: http://www.fs-net.de/en/products/armstone/armstonea9/ The problem is that I am ...
3
votes
1answer
1k views

How interpret kworker threads names?

On a Linux kernel 3.11.0-13-generic running on top of a dual socket Xeon X5650 hexa core board running htop show different kworker threads. Sorted by names (I tweaked the result I am showing here a ...
0
votes
0answers
60 views

Kernel clears the U-Boot splashscreen

We have a proprietary embedded board design based on the AM335x EVM. I have configured MLO to display a linux_logo.h image and u-boot.img to display a bitmap image using the bmp command. When the ...
0
votes
0answers
34 views

OpenVswitch in Linux kernel configuration

There's a kernel configuration variable Open vSwitch (CONFIG_OPENVSWITCH). This enables openVswitch support inside the kernel, but still to use it, we need a userspace daemon. My question is, what ...
0
votes
0answers
35 views

How is user space process/thread controlled by the operating system

I understand this: User code executes in a process/thread context in a process address space, in user mode, and can address only user code/data defined for the process, with no access to privileged ...
1
vote
2answers
57 views

Is it bad to have too many Kernel modules?

I'm trying to compile a Linux kernel to debug an issue I have on Arch Linux, and I was configuring modules, but I didn't know what a lot of the stuff was so I left them on. If this kernel works I ...
0
votes
0answers
46 views

Why would attempts to bind affinities for rcu kthreads fail?

I am trying to get full tickless mode working on my box on Ubuntu kernel 3.10.39. I am running the following command: for i in `pgrep rcu` ; do taskset -pc 0 $i ; done It seems to work on some of ...
0
votes
1answer
67 views

qemu can't run linux kernel

I saw this question and I did pretty much the same but I enabled initrd in configuration to use temporary root file system and no other modification but I still get this error on: qemu -kernel ...
1
vote
1answer
250 views

How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1?

Could someone teach me or give me some tutorial? How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1.
3
votes
0answers
313 views

When do I need to specify add_efi_memmap as kernel argument in UEFI/EFI boot?

I am reading some tutorials how to EFI stub (efistub) load the Linux kernel. These instructions often use kernel boot parameter add_efi_memmap. The intended hardware is Intel x64 having 8GB of RAM. My ...
3
votes
0answers
97 views

Why are block sizes limited by page size in Linux?

In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...
2
votes
0answers
66 views

What is the minimum round robin scheduing interval supported by Linux?

For some reason, I want to have 10 processes share the same CPU core by affinity. As you know, to achieve CPU sharing between processes, we can exploit the Linux round robin (RR) scheduling policy. ...
0
votes
0answers
58 views

Warning for kernel “make config” command without sudo

while trying to configure kernel before compile, when I give this command without sudo privileges: make config I get these: /boot/config-3.2.0-4-amd64:488:warning: symbol value 'm' invalid for ...
3
votes
1answer
98 views

Is this a so-called “Hybrid” Mac Partition table, and how can I mount this in Linux?

I would like to better understand what is on this hard disk, and how I can mount it into Linux (specifically Debian GNU/Linux, Stable): It was created on a Powerbook g4 "alu book" with the default ...
0
votes
1answer
31 views

iproute command: ip -6 rule show nothing even with kernel option IPV6_MULTIPLE_TABLES=y

I want to enable my linux 3.2.4 to have ipv6 multi-routing table functionality. I enable IPV6_MULTIPLE_TABLES when make menuconfig and rebuild kernel.(Also with ip advanced routing and ip multi table) ...
0
votes
0answers
12 views

debug a program causing a crash gnome

I've found a bug when running from a browser to a page like the picture below I run into And as you can see I have no choice but to logout The ability to set logging on the switch I used gdb ...
0
votes
1answer
46 views

use drivers from old kernel in new kernel

I am using newest Raspbian but I found out stk1160 drivers are not working properly. But in older raspbian it works ok. So I would like to move drivers from older Raspbian to newer Raspbian. How can I ...
2
votes
1answer
182 views

How to debug random reboots, with no kernel panic, of an embedded system?

I have two aValue RPC-10W1 embedded systems that reboots by themselves after 1-2 hours. Facts: The board will reboot within a time span of 1 to 2½ hours. The issue is present on two identical ...
0
votes
1answer
38 views

How to take the log of the patches we applied?

So here's my question I recently downloaded the linux kernel patch 3.4.101 and i applied this patch directly to the base 3.4.0 with this command: $ cd /kernel source directory $ gzip -cd ../path to ...
2
votes
0answers
19 views

Possibile sources of 5us-20us latency gap when sending long block of of serial data to tty device?

I have a trivial C program that just sends a large block of data out the serial port at a fast baud rate. When looking at the bits actually coming out of the port, I see that there is a almost always ...
2
votes
1answer
94 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
36 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
60 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 ...
4
votes
2answers
40 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
191 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 ...
2
votes
1answer
36 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
265 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
57 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
54 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
227 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 ...