Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

5
votes
2answers
2k views

Where to download Linux Kernel source code of a specific version?

Is there a resource to download a specific kernel version source? For example, I want to get 2.6.36.2 sources to compare with this package and see what changes were introduced?
21
votes
3answers
932 views

If computers start counting at 0, why does the init process have a pid of 1?

Not much to put here in the body, the question is self explanatory.
0
votes
0answers
103 views

Doubt when compiling USB/IP drivers

I need to install a USB 3G modem to a Windows virtual machine (running on OVM). The modem will be plugged on a Linux host. (Would Windows be easier?) I don't understand what the following README file ...
0
votes
0answers
38 views

PPPD hangs, running over console port

I am trying to run the PPP daemon on the console port of my board which has p2020 processor with Linux kernel 2.6.32. After running ppp interface ppp0 is not coming up and I get an error pppd blocked ...
0
votes
1answer
237 views

CentOS 6.4 Kickstart bootloader problem

I am installing CentOS 6.4 via a kick start file that looks like this in my build: # install the bootloader (GRUB) bootloader --location=mbr --driveorder=sda --append="crashkernel=auto" After the ...
2
votes
0answers
482 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
0
votes
1answer
111 views

what is a Kernel? [closed]

I'm learning Unix from the Unix Architecture book by Maurice J Bach. So if my question seems too stupid, please do bear with it. I read a few related questions but I would like a more simple ...
1
vote
1answer
57 views

I/O brings a machine to its knees [closed]

Why, on every Linux I've used, when a program is really I/O bound, it bogs the machine down? It just happened when I (accidentally) tried to make gcc compile a (valid!) 50Mb C file. GCC was so I/O ...
1
vote
1answer
63 views

How do I enable kernel option MMC_UNSAFE_RESUME

I am trying sleep and wake up my Kobo Mini ebook reader manually by using the command rtcwake. The reader is using busybox. cat /proc/version gives me this output: Linux version 2.6.35.3-850-gbc67621+ ...
0
votes
0answers
28 views

auditctl reports “File system watches not supported” on a very old system

When I run auditctl -l I got: # auditctl -l No rules File system watches not supported And I've already have AUDITSYSCALL enable in kernel, # zgrep AUDIT /proc/config.gz CONFIG_AUDIT_ARCH=y ...
0
votes
1answer
64 views

What kernel for ARM architechture, Linux or BSD? [closed]

I'm a computer sciences student and recently started a project with the engineering department that involves an onboard ARM processor, the question is what sort of operating system, kernel and ...
3
votes
1answer
261 views

How can I check my kernel preemption configuration?

I want to check if my Linux kernel is preemptive or non-preemptive. How can I check this using a command, something such as uname -a?
0
votes
1answer
38 views

Can the kernel be moved to a different mtd while the system is running?

I am attempting to do a full update on a mobile Linux Arm device. I have successfully pivoted my file system root and have been able to flash a new file system to that mtd. What I would like to ...
0
votes
1answer
214 views

Ubuntu 12.04.1 LTS - /boot is using 98.4% of 193MB

I have a problem. I have noticed that my VPS is saying : => /boot is using 98.4% of 193MB Looks like something went wrong, doesn't it? I have tried to run dpkg -l | grep linux to check what's ...
2
votes
3answers
84 views

What is the language that appears on the first line of a script? [duplicate]

Bash scripts start with the following line #!/bin/bash # Rest of script below ... In bash the # character is the start of a comment, but #!/bin/bash is definitely not a comment, therefore it isn't ...
0
votes
2answers
111 views

obtaining kernel build tree

Could anyone explain me what the kernel build tree is? What files does it include? How can I obtain it from a cross-compiled kernel source (e.g. 3.4.0)?
5
votes
2answers
2k views

ACPI problem with recent kernels

In recent versions of popular Linux distributions (Ubuntu, Fedora, Mint, Debian) I always have to put acpi=off into the kernel parameter list before I want to boot the computer. This happens to both ...
14
votes
2answers
388 views

Can I list the filesystems a running kernel can support?

I'm trying to detect what filesystems a kernel can support. Ideally in a little list of their names but I'll take anything you've got. Note that I don't mean the current filesystems in use, just ones ...
9
votes
2answers
1k views

Interruption of system calls when a signal is caught

From reading the man pages on the read() and write() calls it appears that these calls get interrupted by signals regardless of whether they have to block or not. In particular, assume a process ...
2
votes
1answer
1k views

Kernel and QEMU : Unable to mount root fs error

I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
0
votes
0answers
98 views

Suse nVidia Driver Problems on 650M + Intel i915

Has anyone succesfully gotten the proprietary nVidia drivers to work on a system with a GT650M and an integrated Intel GPU? I don't need graphics switching, just the discrete GPU. (This is on a ...
1
vote
2answers
153 views

“kernel driver” in “lspci” output

I often use lspci -v to check the LKM in use for particular hardware device. LKMs are listed as "Kernel modules" and can be seen with lsmod. However, what is a "Kernel driver"? For example here: Is ...
3
votes
0answers
155 views

Enabling GPIO in kernel not working

I have tried to enable the GPIO pins for my system through the Kernel but I am not able to get them to work. When I try this: echo 1 > /sys/class/gpio/export The terminal window just closes. ...
17
votes
3answers
2k views

How much RAM does the kernel use?

This question is motivated by my shock when I discovered that Mac OS X kernel uses 750MB of RAM. I have been using Linux for 20 years, and I always "knew" that the kernel RAM usage is dwarfed by X ...
1
vote
1answer
91 views

Upgrading Red Hat 9 (Shrike) kernel manually

I am following the instructions here on how to manually perform a kernel upgrade in Red Hat. The current Kernel RPM's are: kernel-2.4.20-8 kernel-headers is not installed kernel-ibcs is not ...
1
vote
0answers
36 views

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)? [duplicate]

Hybrid- and Microkernels are flexible, in the way one can add any higher-level functionality as a module, is it not the same for linux kernels? Why then linux is called a monolithic?
2
votes
2answers
303 views

Enabling UTS Namespaces in the Linux Kernel

When configuring the Linux kernel, what are the advantages and disadvantages of enabling UTS namespaces? Would the new system be harmed if UTS namespaces were disabled?
2
votes
2answers
67 views

Detecting Kernal Thread on Older Kernel Version

Looking at the proc man page (http://man7.org/linux/man-pages/man5/proc.5.html) it is possible to detect which processes are kernel threads in /proc/<pid>/stat by looking at the flags value ...
2
votes
1answer
1k views

Messages from syslogd, what do they mean and what do I do?

Recently, these messages started popping up straight into my prompt when I'm connected to the OpenSUSE system in question via PuTTY: Message from syslogd@host at Aug 5 11:04:03 ... kernel:[ ...
4
votes
1answer
58 views

dmesg email digest

I have a remote server which has some issues (Seem hardware related) which means that it logs KVM errors and then sometime later it becomes unresponsive and locked up. There is an often an early ...
1
vote
3answers
169 views

Need small distro without a desktop or windows manager, just to run a single graphical app [duplicate]

I am looking for some help on this from a linux expert. I am very novice when it comes to linux so I am hoping someone can help out. I need a small distro, that is stable. I don't need a full X ...
4
votes
1answer
262 views

ttyS1/uart1 initialised but not accessible through /dev/ttyS1

I'm not sure at which level I am having a problem. System is a LeopardBoard DM368 running TI's own SDK / LSP / BusyBox kernel, the core Linux kernel is 2.6.x so using serial_core.c driver model. By ...
2
votes
2answers
217 views

Making a bootable pendrive for custom kernel

I read the tutorials to make a mimalistic custom kernel from here and am able to boot it up as explained in the tutorial over a virtual machine using GRUB as the boot loader. I think it would be more ...
5
votes
2answers
208 views

Processes in Linux

As I understand it, process descriptors are stored in a doubly linked list data structure. But a fork can create multiple children for the same process, so that makes me think that there is a tree ...
2
votes
1answer
137 views

User space to kernel space transition

Both physically (hardware, rings) and logically (software), what is user space to kernel space transition? And vice versa. Or more generally what goes on when there is a "space" (or ring) transition ...
13
votes
1answer
3k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first ...
1
vote
1answer
465 views

LinuxMint15: Suspend to RAM not working

I just installed LinuxMint15 on an Acer Aspire V3-771G-73638G500Maii. Hibernation works. But suspend to RAM does not. When clicking suspend: After a few seconds the screen goes grey and then off. ...
10
votes
6answers
1k views

Can Linux “run out of RAM”?

I saw several posts around the web of people apparently complaining about a hosted VPS unexpectedly killing processes because they used too much RAM. How is this possible? I thought all modern OS' ...
3
votes
2answers
196 views

Why do people call Linux a kernel rather than an OS?

Why do people refer to Linux as a kernel rather than an operating system? To the best of my knowledge, the kernel is one part of the operating system.
3
votes
3answers
195 views

Rings and run levels

The question stated below might not be technically correct(misconception) so it would be appreciable if misconception is also addressed. Which ring level do the different *nix run levels operate in? ...
0
votes
1answer
54 views

How do I verify that the Linux kernel is not freezing when uploading or downloading large data over the ethernet interface?

How to verify if the Linux kernel is doing what it's saying for network interfaces? I have one network interface eth0 which has hardware support to do 1GB full-duplex. I have prepared 2 box. Now ...
1
vote
1answer
67 views

Kernel pppd task hung after running over serial port

I am trying to run the ppp daemon on the console port of my board which has p2020 processor with Linux kernel 2.6.32. After running ppp interface ppp0 is not coming up and I get an error pppd blocked ...
1
vote
2answers
556 views

error: “net.inet.ip.fastforwarding” is an unknown key

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an ...
1
vote
1answer
32 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, ...
0
votes
3answers
157 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded ...
0
votes
1answer
68 views

Could the Kernel stack of a process be empty, when a process is swapped out to a disk?

I am just curious to know whether the Kernel stack could be empty when a process is swapped out to a disk or not?
4
votes
1answer
128 views

What changed between kernels 3.2 and 3.9 that affect MiniDLNA?

I'm using Debian testing, and I've problems with MiniDLNA on kernel > 3.2. The DLNA client works about 30 min, after that it lost the connection with the minidlna server and can't discover the server ...
2
votes
1answer
345 views

How can I install Arch Linux on a Laptop with Intel GMA 4500 MHD?

I would like to install Arch Linux on my Acer TravelMate 5735Z. Sadly, it has a Intel GMA 4500 MHD graphic card. This means, I suffer from Kernel Bug [GM45] black screen at boot (0 backlight?). When ...
6
votes
2answers
158 views

Are the outputs of /proc/meminfo, /proc/cpuinfo etc always in English?

I am writing code that relies on the output of /proc/meminfo, /proc/cpuinfo etc. Are the file contents always in English? For example, will MemTotal in /proc/meminfo always be MemTotal in all locales? ...
3
votes
2answers
120 views

Linux process “scheduling”

I've seen it written many times that the Linux scheduler schedules processes. I'm teaching a course on multithreaded programming, and would like to get my terminology straight. I have one thing I ...