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

learn more… | top users | synonyms

0
votes
1answer
86 views

Linux snapshotting issues [duplicate]

Is there any way to deal with incoming writes while a backup is in progress in linux. Example, you are writing to your sql database and lvm snapshotting at the same time. This will result in corrupted ...
1
vote
1answer
233 views

compressed and uncompressed kernel on an embedded device

I have been using several different embedded boards that store kernel, init files, filesystem, etc. on partitions of a (micro)SD card. I notice in the example usage or instructions that compressed ...
3
votes
2answers
619 views

Why does Linux 3.2 kernel (Debian backport) hang during boot?

I wanted to upgrade the Linux kernel on my Debian wheezy (stable) on Thinkpad T60. I installed linux-image-3.2.0-0.bpo.4-686-pae, version 3.2.41-2~bpo60+1. The problem is it hangs during boot, just ...
3
votes
2answers
11k views

What does “INFO: task XXX blocked for more than 120 seconds” exactly mean on Linux?

I had this message in my kernel log : INFO: task XXX blocked for more than 120 seconds. I would like to know what it means technically: under what conditions does the kernel display this message about ...
1
vote
1answer
499 views

building/compiling kernel headers

I am compiling kernel 3.4 and 3.8 for different target devices. I would like to install compat wireless driver which requires kernel header. Could anyone tell me how I can compile/build the kernel ...
9
votes
4answers
5k views

Are FIFO, pipe & Unix domain socket the same thing in Linux kernel?

I heard that FIFOs are named pipes. And they have exactly the same semantics. On the other hand, I think Unix domain socket is quite similar to pipe (although I've never made use of it). So I wonder ...
3
votes
1answer
424 views

Real mode and loading linux kernel confusing

As far as I know, protected mode will be activated in kernel and in grub stages it still real mode. My misunderstanding is: In real mode, total memory available for use is less than 1MB but how grub ...
2
votes
3answers
411 views

files in /proc/$PID (e.g. ssh-agent, Chrome) are not owned by user but by root

I am just answering another question here :-) and thus had a look – wanted to have a look at /proc/$PID/fd of ssh-agent in order to find out which socket it uses. But I can't. I am quite surprised to ...
2
votes
3answers
140 views

What considerations need to be made when choosing the version of kernel for an embedded device?

I have used buildroot to successfully create a kernel, root file system and cross-compilers to enable me to write application code to run on an embedded device. Currently I have no need to write ...
2
votes
1answer
62 views

What is the relation between the Linux device drivers “domains”?

As I'm reading about the Linux device drivers and power management API I keep encountering terms like "system level", "subsystem", "platform", "class", and so on. What is the relation between them? ...
0
votes
0answers
67 views

Decreasing mouse sensitivity at kernel level

I have developed a custom-GUI Server, which runs on virtual console of Linux.For mouse-handling purpose, it reads the mouse device file /dev/input/mice and retrieves the event data and updates ...
3
votes
1answer
1k views

How do you compile your own kernel on a RHEL6 system?

In RHEL6, the kernel is 2.6.32. What is the procedure to compile your own kernel?
1
vote
1answer
84 views

Does alsa depend on the kernel version?

Lately I had nothing but trouble with my sound setup. The full chain looks like this: alsa (pulse plugin)-> pulseaudio (jack plugin) -> jackd -> firewire soundcard This works fine, except ...
3
votes
2answers
1k views

How do I extract the filesystem image from vmlinux.bin?

jor1k ships a vmlinux.bin. I think there is an initrd inside, cause I don't know where else it would be. I am trying to extract the filesystem image so I can change it, but I don't know how to. I ...
78
votes
5answers
14k views

Why isn't Linux embraced as the official GNU kernel?

While I knew for quite some time the existence of Hurd, and its mission as the official GNU Operating System kernel, I was wondering how come Linux is not embraced as the official GNU kernel over the ...
1
vote
1answer
435 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...
1
vote
2answers
271 views

Does linux modules/drivers belong to kernal space or user space

Some articles say that modules/drivers belong to kernel space as it take part in forming the kernel; (reference: http://www.freesoftwaremagazine.com/articles/drivers_linux) While others say that ...
0
votes
1answer
146 views

“Acpi-State” in slabtop's output gets increased — what is it? Is it a bug?

Since boot it gets increased occupying even more RAM than anything else: Active / Total Objects (% used) : 680608 / 719176 (94.6%) Active / Total Slabs (% used) : 17390 / 17390 (100.0%) ...
5
votes
5answers
4k views

How to determine which module taints the kernel?

My kernel keeps panicking when connected to a certain wireless network. I'd like to send a bug report but my kernel is apparently tainted. From /var/log/messages: Apr 17 21:28:22 Eiger kernel: ...
8
votes
2answers
128 views

How should I solicit feedback from a tree maintainer for patches sent to the lkml?

I have submitted a patch to the linux kernel that has gotten several reviews and gone through a couple iterations on the mailing list. It has been ACKed and reviewed by two developers, but they say ...
1
vote
1answer
551 views

Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...
1
vote
2answers
142 views

how to uniformly execute benchmarks on linux

I am doing project on adapting Linux for scalable multi core architecture. I am testing Linux's performance with benchmarks. When I am running the benchmarks in the system then other programs like ...
2
votes
1answer
904 views

sigaction(7): semantics of siginfo_t's si_code member

I've got a long-running program (becomes a daemon with daemon(3) call) that exits on Signal 11 (Segmentation Violation) every so often. I can't tell why. So, I wrote a SIGSEGV handler, set using the ...
2
votes
2answers
1k views

GRUB2 and kernel vga= parameter

According to the documentation, use of the vga= kernel parameter is deprecated as of GRUB2. The fact that some newer kernels don't seem to support it anymore on certain adapters is of no concern as ...
2
votes
1answer
364 views

Address types used in Linux

I am trying to understand the Memory address types used by the Linux kernel, which are User virtual address Physical address Bus address Kernel logical address Kernel virtual address I understood ...
0
votes
1answer
98 views

What are the other congestion control algorithms specially designed for lossy Wireless Networks like LTE and WiMax?

I am trying different congestion control algorithms for getting maximum throughput and minimum delay across my setup for TCP flow.Please suggest other available algorithms apart from Veno, ...
0
votes
1answer
212 views

Install x11 on my own linux system

I have developed my own tiny linux file system using buildroot and busybox. I used linux-2.6.38.8 kernel configured and cross-compiled for target system(X86) according to needs.Now the filesystem is ...
2
votes
0answers
734 views

Unable to install the selected kernel

I have problem with my DVD drive. It's corrupted and when I'm trying to install Ubuntu it stucks (even with the miniISO) I was able to successfully start the OS from system rescue CD. I'd like to ...
0
votes
0answers
594 views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
1
vote
0answers
960 views

Unable to install Atheros AR8161 Ethernet controller driver for centOS 6

I've installed CentOS 6.3. However, eth0 does not show up on ifconfig. So I figured out that I need to install alx Ethernet driver from here. Since my internet is not working, as ethernet drivers are ...
3
votes
2answers
178 views

How is the kernel loaded?

I am trying to understand the Linux boot process, and after reading quite some amount of documentation there is one point that I still can't seem to understand. So the basicis is BIOS -> Grub MBR -> ...
14
votes
2answers
1k views

The UEFI & SecureBoot impact, how severe?

I'm planning to buy a new laptop in the coming days, and I'm quite impressed with new, cool Ultrabooks. As a long-time GNU/Linux user, I'll of course install a distro of my choice on it. Chances are ...
2
votes
1answer
372 views

How to run Different congestion control algorithms in FEDORA 17 ..?

Earlier versions of Fedora has different loadable kernel modules which includes diffrent congestion control algorithms etc at (/lib/modules/"kernel-name"/kernel/ipv4).These are present in the form of ...
24
votes
1answer
589 views

What would be the best way to work around this glibc problem?

I administer a Gentoo Hardened box that uses file capabilities to eliminate most of the need for setuid-root binaries (e.g. /bin/ping has CAP_NET_RAW, etc). Infact, the only binary I have left is ...
1
vote
1answer
495 views

No make target “uImage” with Buildroot 2013.05

After enabling Linux Kernel option and setting the Kernel binary format to uImage, I always get the following error: make[1]: * No rule to make target `uImage'. Stop. My buildroot configuration is ...
1
vote
1answer
80 views

Linux Operating system recovery after abnormal termination

How does the operating system (Linux) while rebooting checks whether abnormal termination happened during last shutdown and then does the file system consistent checks etc if required ?
0
votes
0answers
20 views

Preparing an initrd for qemu [duplicate]

I have compiled a bzImage but when I try to run it in qemu I get a kernel panic because I don't have an initrd file. So I create one by following the steps in this question but I cannot get it to ...
1
vote
2answers
1k views

Why TCP TIME-WAIT State is present at both ends after a connection termination?

I am reading how the TCP states work and especially the connection termination part. All of the books or online material I read, shows that for the termination procedure these states are followed ...
4
votes
2answers
3k views

Linux kernel is not finding the initrd correctly

I had compiled a linux kernel and I wanted to debug it in QEMU. I created a file to boot from by doing the commands $ qemu-img create -f raw disk.img 200M $ mkfs.ext2 -F disk.img # mkdir /mnt/rootfs ...
2
votes
5answers
212 views

How to know what to enable in the kernel?

I'm a gentoo user. When compiling the kernel there are a lot of options which one may enable depending on one's hardware. My question is how to know what to enable/disable, I'm aware of the hardware ...
0
votes
2answers
3k views

Installing qemu-img on ubuntu 11.04

I am developing a linux kernel and I am trying to to debug it in QEMU. I want to be able to run it in QEMU but it stops because I do not have a virtual hard drive to boot it(using the -hda command). I ...
0
votes
2answers
241 views

Writing a Linux file system for NFS

I want to write my own custom file system in Linux. Can I share it over standard NFS without making any changes to the local NFS server? If so what VFS APIs are required to be implemented by my file ...
1
vote
1answer
68 views

Multi kernel usage in Linux PC(UBUNTU)

I have 2.6.32-21-generic , 2.6.32-38-generic and 3.0.0-20-generic. My current kernel is:- $ uname -r 2.6.32-38-generic I want to use different kernel that is 2.6.32-21-generic. How can I do that?
0
votes
2answers
362 views

Compiling the Linux kernel in Eclipse

I have a Mac running Snow Leopard and I know that I cannot compile the Linux kernel. I have used a Linux VM (virtualbox) to compile the kernel but I was wondering if I could compile it on Eclipse ...
1
vote
1answer
1k views

Invoking memory compaction on linux 2.6.35 kernels and beyond

This LWN article about memory compaction indicates that memory compaction can be invoked in the linux kernel by Writing a node number to /proc/sys/vm/compact_node, causing compaction to happen on ...
1
vote
1answer
1k views

How can I disable IPv6 in custom built embedded setup

I have an embedded system built using buildroot. I have had a number of network issues, one of which is that my machine cannot see its gateway despite it being on the same subnet. I have tried using ...
1
vote
1answer
224 views

core dump help— linux

I'm trying to understand the core dump generation. Is the core dump generated separately for a user space application process crash and the kernel level crash? Is the ulimit -c for both kinds? Can you ...
0
votes
2answers
576 views

swap partition and its laws

I remember for choice of swap partition, we should use (swap > 2xRAM) at least.Of course it deprecated , because max of computer's ram is very high. kernel support it. My question: i remember each ...
0
votes
0answers
23 views

Best way of updating Openssl on Linux machine [duplicate]

I have a confusion to choose the best way for upgrading the OpenSSL on my Linux machine. 1*Through the yum Update.* # yum update I know this will update the entire packages. But If I want to ...
2
votes
2answers
260 views

How to edit grub2 to use kdump?

I was following http://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes and in step 2 I need to add the line to grub.cfg, but grub.cfg is a shell I do not know how to edit it, most ...