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

learn more… | top users | synonyms

1
vote
1answer
186 views

How to configure bootloader to boot the new kernel?

I succesfully upgraded linux kernel from 2.6.32.61 to 3.0.7 on BeableBoard-xM, following the steps below: download and untar kernel sources 3.0.7 from kernel.org copy kernel sources on /usr/src ...
0
votes
0answers
284 views

death_handler: Fatal signal 15 received

I have problem with my Linux when I try to shut it down. init 0 I get the following error: death_handler: Fatal signal 15 received setsockopt recvref[30]: Protocol not available The sytem will ...
1
vote
0answers
92 views

Interfacing ds1337 RTC on LPC17xx

I am a newbie and I am trying to understand how to interface DS1337(RTC) on LPC17xx Board. This board uses uclinux 2.6.33. .CONFIG: CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y ...
0
votes
1answer
47 views

Linux Kernel Compile-time options for Seagate IDE drive

I am configuring linux kernel 3.12.14 obtained from linux.org for compiling using 'make gconfig'. My question is what options exactly I need to enable to make it work for my Seagate IDE HDD? I am ...
0
votes
1answer
302 views

Can I upgrade my Linux kernel from 2.6.32 to 3.0.7?

I currently run Angstrom Linux 2.6.32 on BeagleBoard-xM (ARM architecture). Can I upgrade my Linux kernel from 2.6.32 to 3.0.7 and what is the difficulty level in case upgrade is possible? EDIT#1: ...
5
votes
0answers
76 views

Is my understanding of kernels correct? [closed]

System: Application OS: Scheduler, VMM, IPC, FS Drivers, dispatchers, VFS The above would be a monolithic kernel. In a monolithic kernel all core OS functions are separate from user space. Functions ...
0
votes
0answers
115 views

Choose kernel version in OpenEmbedded

I want to build Angstrom kernel on Ubuntu 13.04 host machine using OpenEmbedded. git clone git://github.com/Angstrom-distribution/setup-scripts.git cd setup-scripts MACHINE=beagleboard./oebb.sh ...
2
votes
0answers
92 views

Set up OS and Runnig app using x32-ABI

Intro I just moved to a 64bit installation and I'm experiencing big difference in memory usage ( especially for app like chrome, firefox, mysql and java apps ): - While before 4gb were enough now they ...
6
votes
1answer
4k views

Setting CPU governor to on demand or conservative

I'm struggling with cpupower on ArchLinux. I want to set governor to ondemand or even to conservative. First if I do $ sudo cpupower frequency-info --governors, I only get performance powersave. So ...
0
votes
0answers
22 views

CLEAN CACHE On X86 Desktop Boxes?

I was building 3.12.13 linux kernel and I came across the CONFIG_CLEANCACHE option. it would seems to reduce I/O considerably especially in conjunction with CONFIG_FRONTSWAP. But I want to know if ...
3
votes
1answer
362 views

What is the “kernel build”, and where do I get it?

I am trying to compile OpenOnload from Solarflare for my nic on a server that I'm building. It is saying something about not having a kernel build. root@server:/usr/src/openonload-201310-u2# ...
1
vote
1answer
320 views

Trouble using `make gconfig` in ubuntu linux

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
4
votes
1answer
2k views

How to build a custom kernel with localmodconfig that support hardware of multiple machines?

When configuring a server to run a single task, like an appliance, there might rise the need to build a custom kernel. For example to save disk space. Ubuntu Core 13.10 amd64 root filesystem is a ...
4
votes
1answer
244 views

How to strip unused architectures, drivers, etc from headers when building a custom linux kernel?

I am building custom linux kernel packages in a Ubuntu 13.10 amd64 environment usingapt-get source linux-image-$(uname -r)the debian way make-kpkg clean;fakeroot make-kpkg --initrd ...
3
votes
2answers
5k views

Why does Linux have poor battery life by default compared to Windows?

Is there something inherent to Linux operating systems that makes them poor managers of battery power by default? I would have thought a light distro like Lubuntu would have a clear battery life ...
1
vote
0answers
101 views

Where is Linux kernel development headed? [closed]

I regularly read development updates from various components of the Linux ecosystem. Of all these, the kernel is the one that seems least transparent to me. Typical kernel release notes mention tons ...
3
votes
1answer
370 views

Kernel /proc ipv6 settings precedence

I'm about to connect our network to the IPv6 Internet and need to control the kernel ipv6 settings found under /proc. I know there are configurations for each interface, for all interfaces, and the ...
7
votes
2answers
872 views

How exactly does printk work internally?

I know printf needs help from the OS to do its job. I also know printf does not work in the Linux source code as there is no library. And so we have printk for debugging. How does printk work ...
0
votes
1answer
111 views

What is CONFIG_BASE_SMALL=0

Looking at the config file of Linux (that is generated prior to build) I found the following line: CONFIG_BASE_SMALL=0 What does it mean? If I want my linux kernel to be as small as possible shall ...
1
vote
0answers
119 views

Looking for a list of modules that are used during boot sequence

I'd like to use deferred init calls. This function allows to load modules in userland, that should actually be loaded during the boot sequence. Just for testing I'd like to modularize as many entries ...
1
vote
0answers
151 views

How to cause memory fragmentation on a Linux based embedded device?

Hardware ARM What am I trying to do: Answer: I am trying to create memory fragmentation on a Linux 2.6.31 based swapless embedded device. Why: Answer:I am trying to port some patches to Linux ...
5
votes
2answers
3k views

BSD Kernel Vs. Linux kernel? [closed]

I wanted to know in technical terms; what is the difference between BSD Kernel and Linux Kernel. In Linux, we can download the source kernel then patch it and make and make modules it. Even we have ...
6
votes
1answer
2k views

Linux: What is a tainted kernel?

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel ...
12
votes
3answers
2k views

Why there are many BSD systems but only one Linux kernel?

Why there are many BSD systems but only one Linux kernel? I wonder why BSD was forked many times, but no such thing with Linux.
1
vote
1answer
1k views

Try to disable console output, console=null doesn't work

as mentioned above, I want to to completely turn off the console output, but putting console= or console=null in the kernel command line doesn't change a thing. When I enque quiet to the kernel ...
4
votes
1answer
99 views

How to relate a kernel config setting to the source files?

Here is an example that will explain better: I have a selected the audio driver from the picture and i would like to browse through its source. How do i get to the path of the source files from ...
1
vote
1answer
68 views

Does perf includes some “graphing” abilities?

It's possible to create a bitmap or a vector image out of the data collected by the perf profiler under linux ?
1
vote
2answers
984 views

“select” vs “depends” in kernel Kconfig

What are the differences in dependencies between select and depends on in the kernels Kconfig files? config FB_CIRRUS tristate "Cirrus Logic support" depends on FB && (ZORRO || PCI) select ...
2
votes
1answer
155 views

Compiling Linux kernel for a router [closed]

I want to make an installable linux kernel that has routing enabled already. So anyone can install it on their machine, do some configuration as required, and machine will work fine for their routing ...
1
vote
2answers
617 views

Kernel Configuration: Which Processor Family to choose for 'Celeron M CPU 420' (Core Solo)?

I am trying to build custom kernel (version 3.12.13) for my old laptop and I am unable to determine the Processor Family from the provided list. ( ) 486 ( ) 586/K5/5x86/6x86/6x86MX ( ) ...
2
votes
0answers
68 views

Why does the kernel boot faster with less memory allocated?

This is not a important question, I'm just curious. Something strange happened, which isn't quiet clear to me: In the kernel command line, the amount of the memory can be set statically with the ...
1
vote
0answers
47 views

What are the linux kernel versions incompatibilities with btrfs?

I read that usage of a btrfs volume with a newer kernel can render it unreadable when that same volume is used with an older kernel. I have a mobile storage device that will be used by different linux ...
1
vote
3answers
65 views

Structure of GNU/Linux [closed]

I have some basic knowledge about Linux OS like it consist of Kernel.The kernel is core of Linux , It manages all processes, device drivers, and I/O.But My Question is what Linux consists of beside ...
1
vote
2answers
88 views

CentOS 6 with Linux-Libre kernel?

I understand that CentOS ships with nonfree blobs in it's kernel. It seems that a "nonfree blob" free kernel exists, a.k.a. Linux-Libre. Is it possible to somehow get CentOS to use Linux-Libre ...
1
vote
0answers
135 views

KMS Terminal: How to disable second screen, or how to force a certaion resolution?

I have two screens with different native resolution connected to my Gentoo/systemd machine. since the VTs try to mirror the outputs, they do not use the whole size of the higher resolution screen. I ...
2
votes
1answer
835 views

Virtualbox complains that I don't have headers

I've installed Virtualbox (on Debian testing amd64)according to the wiki. But I get this error: $ virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the ...
1
vote
1answer
148 views

Debian/Ubuntu:How to compile a Linux kernel on one machine and use on other machines (same architecture)

Debian/Ubuntu: How to compile a Linux kernel on one machine and use on other machines (same architecture)? I know how to do it on the same machine. But to use a compiled kernel other machines, is ...
18
votes
1answer
2k views

Configuring, compiling and installing a custom Linux kernel

I'd like to try using a kernel other than the one provided by my distro -- either from somewhere else, or as customized by me. Is this difficult or dangerous? Where do I start?
0
votes
1answer
195 views

Which Linux distributions offer a stable release based on the 3.10 kernel?

I'm looking for a stable Linux distribution (preferably a well-known one) based on the 3.10 kernel. So far I have identified Gentoo as one such distribution. But I'm having trouble finding any others. ...
1
vote
0answers
37 views

Patching the kernel source through git

I'm trying to understand how the patching of the kernel source works. I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
7
votes
1answer
268 views

Why are cgroups mapped differently on these two systems by systemd

I have two systems, both running customized variants of OpenSuSE 12.2 (Mantis), both running exactly the same kernel. I get two very different outputs of /proc/self/cgroup or /proc/$$/cgroup on the ...
2
votes
1answer
98 views

How much time do user => kernel mode transitions take?

I'm running Android-on-Linux, and communication of OpenGL ES calls over the QEMU pipe is very slow. QEMU pipes should be the fastest possible way to do this; could this be due to the repeated ...
1
vote
1answer
46 views

Getting correct perf version

I'm trying to run perf on my Ubuntu Precise box, which I recently upgraded to kernel 3.11.10-03111002 (manual install). The problem is that perf and kernel versions must match, and the requested ...
0
votes
1answer
201 views

Kernel 3.13 on Ubuntu ARM + Android kernel options compatibility

I've installed ubuntu 12.04 LTS with the kernel 3.13 on my ARM Samsung / Google Chromebook,using this tutorial : http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/ I have to ...
1
vote
3answers
422 views

Why does boot from SD card with my custom kernel result in “VFS: Cannot open root device”?

I'm using an embedded board ARM9 SAM9G25. I want to boot from SD card. When I build a linux kernel with a built-in rootfs (initramfs) then it boots. I want to separate the kernel from rootfs and I ...
1
vote
0answers
2k views

kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”

I got this errors in syslog. Any idea what does it mean? The system is running on Ubuntu 12.04, kernel: 3.8.0-35-generic #52~precise1 It looks to me like failure when trying to write to disk... ...
0
votes
1answer
171 views

Having difficulties mounting a rootfs for an embedded Linux

I want my Kernel to start a squashfs rootfs for an embedded Linux. The squashfs file is on a sdcard, therefor i put these parameters on it's command line: console=ttyS0,115200 root=/dev/sdb1 rw ...
6
votes
1answer
202 views

Does using noatime on modern Linux make sense?

Starting from version 2.6.30 (which was released 5 years ago), Linux has the option relatime enabled by default. It means updates of file access time are very infrequent and prudent. But I still see ...
2
votes
2answers
183 views

What is the difference between a patch which reverts a commit and a “reversed patch”?

Before May 6th, 2013, the fs/eventpoll.c file in the Linux kernel had the following line #1605: if (!schedule_hrtimeout_range(to, slack, HRTIMER_MODE_ABS)) On May 6th, a commit changes this to ...
4
votes
1answer
80 views

What is not accessible from userspace?

I read somewhere (3.1.3) that there's a high ring (supervisor mode) and a low ring (user mode) and that some "things" can be run only from the highest ring. What do they mean by "things"? I'd guess ...