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

learn more… | top users | synonyms

2
votes
0answers
155 views

Need good ideas about improving any Linux service [closed]

I have a project assigned to me by OS teacher to choose any Linux service and improve it. Currently I am totally blank in this. I am not sure which service should I use which can easily be implemented ...
4
votes
1answer
217 views

After re-compiling the kernel, my grub stop after the bios

After recompiling my kernel, I copied the corresponding files to /boot, and my /boot directory looks like: Then, I inserted a new item in grub, and /boot/grub/menu.lst now looks like: After ...
7
votes
2answers
10k views

Where is the struct task_struct definition in the 2.6.30.5 Linux Kernel?

In the version 2.6.15 kernel, I got that I can rewrite the task_struct in the file (include/linux/sched.h),like: struct task_struct { unsigned did_exec:1; pid_t pid; pid_t tgid; ...
6
votes
1answer
4k views

Why does Linux show both more and less memory than I physically have installed?

I know about swap - this question isn't about that. In dmesg, the Linux (x86-64) kernel tells me this about how much memory I have: [ 0.000000] Memory: 3890880k/4915200k available (6073k kernel ...
4
votes
4answers
4k views

cp vs. cat to copy a file

cp a b and cat a > b, what's the difference? In x86 install script of linux kernel's source tree (arch/x86/boot/install.sh), both are used: cat $2 > $4/vmlinuz cp $3 $4/System.map Why don't ...
1
vote
1answer
635 views

Compiling driver for RNX-MiniN2 on kernel 3.X

I'm trying to compile an open source driver for my new USB Rosewill RNX-MiniN2 wireless adapter, and I'm running into the following error: make ARCH=x86_64 CROSS_COMPILE= -C ...
8
votes
3answers
572 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
5
votes
1answer
474 views

What are the main differences between Unix and Linux kernels today?

I know that many of the same programs run flawlessly on top of both kernels. I know that historically, the two kernels came from different origins. I know philosophically too that they stood for ...
5
votes
0answers
356 views

Loading speedstep_centrino kernel module [closed]

Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module. The CPU in my laptop Acer TravelMate 4002WLMi is: $ cat ...
13
votes
3answers
5k views

Does Android really use the same kernel as Linux?

I read from somewhere that Android uses the Linux Kernel. Is it really true? I thought the Linux Kernel was meant for desktop operating systems.
3
votes
3answers
5k views

Compiling kernel modules in Arch Linux

I'm currently running Arch Linux on linux-3.0-ARCH and I'm looking to compile kernel modules written for linux-2.6.22.14. I've only compiled kernel modules on a pre-configured debian. So all I had ...
3
votes
1answer
1k views

Unpacking kernel-source rpm off-system (OpenSuse)?

I'm using OpenSuse 11.2 from a LiveUSB USB flash/stick, which arguably has not much place on it. I need to get the Linux sources for this version of OpenSuse, as they are needed to build a driver for ...
4
votes
2answers
263 views

Why won't my Linux install boot?

It's my first time compiling a Linux kernel. Everything went well until I hit this problem. After I edit my /etc/fstab: and edit etc/lilo.conf: I want to set the info about crux in lilo, so I ...
2
votes
1answer
866 views

create a debian installer with custom kernel

First what I need to do is install a debian on a 3300mx computer which is based on a vortex cpu. The problem is the debian installer always crash because the required drivers are in the kernel as ...
3
votes
1answer
165 views

Is oops of kernel tainted by staging device less likely to be investigated?

I understand that kernels tainted by binary modules are less likely to be investigated by kernel maintainers. However what is the policy if kernel is tained by staging driver (if the staging driver is ...
2
votes
0answers
386 views

Kernel 3.0.0-1 and NVIDIA driver boot problems

I can't boot kernel 3.0.0-1 on Asus G53S running Debian, it freezes when booting with: NVRM loading NVIDIA Unix x86_64 kernel module 275.28 then it times out with: udevd[350]: timeout: killing ...
4
votes
1answer
2k views

What is the difference between /proc/self/stack and output from pstack?

I have been looking through the documentation for /proc and the "stack" object being a new'ish object in proc, I have also looked through the kernel commit to create it -- however the documentation ...
8
votes
2answers
2k views

minimal TCP MSS in Linux

The TCP MSS in Linux must be at least 88 (include/net/tcp.h): /* Minimal accepted MSS. It is (60+60+8) - (20+20). */ #define TCP_MIN_MSS 88U My question is: where did they come up with ...
2
votes
3answers
2k views

Linux Kernel 3.x new versioning scheme

As almost everybody knows, Linux moved from the 2.6.x version to the brand new 3.x version. I've seen around many comments also about the fact that the versioning number for the kernel was changed ...
3
votes
1answer
848 views

What does this Linux kernel trace mean?

I’m running a linux server at home which is mostly a file and e-mail server and a digital video recorder. All the data goes on an ext4 partition on a software raid-6. Every now and then (sometimes ...
13
votes
1answer
3k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
14
votes
5answers
10k views

Is it possible to install the linux kernel alone?

I'm just curious if it's possible to install the linux kernel alone, or if you need to use one of the flavours. If it were possible, how would you do it? I don't need a detailed tutorial. I just want ...
3
votes
5answers
4k views

Kernel can't find /dev/sda file during boot

I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1: ALERT! /dev/sda1 does not exist . Dropping to a shell . I use the shell to go to the /dev ...
25
votes
7answers
18k views

Linux Kernel: Good beginners' tutorial

I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for ...
285
votes
7answers
25k views

How can I find the implementations of Linux kernel system calls?

I am trying to understand how a function, say mkdir, works by looking at the kernel source. This is an attempt to understand the kernel internals and navigate between various functions. I know mkdir ...