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

learn more… | top users | synonyms

0
votes
2answers
715 views

Installing new kernel (by commandline) as side of old kernel and effective configuration of ' menuconfig'

I need to install another kernel (2.6.34) into my fedora machine (x86) and i need to show the old and new boot up options in the boot menu (both new and old kernel) I have downloaded the new kernel ...
4
votes
1answer
526 views

What does “warning: override: VZ_FAIRSCHED changes choice state” mean?

I am building a Linux kernel, via the Debian linux-2.6 source package. Now there's CONFIG_VZ_FAIRSCHED=y in a sub-config, which gets merged into the final .config, where apparently also "y" gets ...
4
votes
1answer
2k views

Kernel segmentation fault (core dumped), how to diagnose? [closed]

I have a fedora 13 x64 box I use at home for a storage server. I use sshfs to mount my music from home and listen at work, I run my irssi client in screen on it for freenode communication and lately ...
1
vote
3answers
2k views

vga_switcheroo not in /sys/kernel/debug in 2.6.35-22 (kubuntu maverick)

I have a sony VPCZ12 laptop. It has those dual video cards that are a pain to get working in linux. The new 2.6.35 kernel is supposed to support that with the vga_switcheroo module which is supposed ...
1
vote
3answers
89 views

What's up with the metadata in the source? Are there tools for it?

I'm comparing two different kernel versions (one official, one from a manufacturer); there are thousands of file whose only difference is in metadata in the files. The metadata looks like '$:Key: ...
14
votes
3answers
925 views

Contents of /proc

Is there a site someplace that lists the contents of /proc and what each entry means?
3
votes
2answers
582 views

Will enabling Hyper-Threading create two virtual half-speed processors?

If I enable Hyper-Threading for my netbook which has an Intel Atom (1.6 GHz) will the kernel see two virtual 800 MHz processors?
4
votes
3answers
2k views

Recompile Kernel to Change Stack Size

I need to recompile my kernel on RHEL WS5 with only two changes. Change stack size from 4k to 8k Limit usable memory to 4096. How do I recompile the kernel without changing anything else but ...
9
votes
5answers
8k views

Is it possible to put root in LVM without using initrd?

I have just set up a Gentoo base system (which means I can boot and log in and do stuff with it now). My root partition is in an LVM2 virtual group (with a separated /boot partition). In order to boot ...
3
votes
2answers
425 views

Buffer overflow attacks

I just learnt today in a Distributed Systems class that there is an address space allocated for every user by the kernel, and if a user wants to get the su privilege, he needs to shift to the kernel ...
8
votes
1answer
6k views

What is the loopback interface

What is the loopback interface and how does it differ from the eth0 interface? And why do I need to use it when mounting an ISO or running a service on localhost?
6
votes
1answer
816 views

Patching Linux kernel on-line (i.e. without rebooting)

Sorry - I don't remember the exact name. I know there is mechanism to patch the kernel at runtime by loading modules without need of the reboot as long as the structures involved are not affected. It ...
3
votes
2answers
900 views

Does the Linux PreemptRT patch benefit desktop users?

Does the PREEMPT_RT patch (real-time kernel) have any benefit for regular desktop users?
13
votes
5answers
6k views

Benefit of kernel module compiled inside kernel?

What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
2
votes
1answer
347 views

Kernel memory allocator patch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
12
votes
6answers
8k views

Compiling GNU/Linux with -O3 optimization

It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?
11
votes
2answers
2k views

Heavy write activity on SSD nukes system performance

I've noticed that when I do heavy write applications, the whole system slows down. To test this further I ran this to do a (relatively) low-CPU, high disk activity: john -incremental > file_on_SSD ...
2
votes
1answer
403 views

Sometimes no sound in flash videos after boot?

Sometimes after I boot up the machine, I get no sound in flash videos. First I didn't know why it was happening, but as I read a few articles here and there, I found out it was because of my USB ...
9
votes
6answers
5k views

How to find information about the system/machine in Unix?

I have always found it difficult to find information about the system itself in Unix, whether it be Which OS I am using (version number and all, to compare it with the latest available builds)? ...
3
votes
8answers
1k views

Oldest Linux machine you still run [closed]

What is your oldest machine you ever installed Linux on and currently still run? What are the specs, kernel version or distro, and for what purpose?
41
votes
7answers
31k views

Linux Kernel: Good beginners' tutorial [closed]

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 ...
6
votes
1answer
414 views

Linux kernel 2.6 on ARM

I have compiled and installed the 2.6 kernel on an ARM board. I am using the ARM mini2440 board. I would like to know if there is already a way to access the General Purpose I/O port pins? Or will ...
79
votes
13answers
14k views

What is the benefit of compiling your own linux kernel?

What benefit could I see by compiling a Linux kernel myself? Is there some efficiency you could create by customizing it to your hardware?
11
votes
3answers
2k views

What does it mean when code is executed in [kernel|user] mode?

The title says everything.
8
votes
3answers
866 views

Why does it makes sense to cache swap?

It sounds quite counter-productive to me to cache pages that are swapped out. If you swap pages in, what is the advantage to first cache them in memory, only to have to than move them to the right ...
4
votes
3answers
2k views

How can I tweak the kernel for total swap out?

I would like to deploy the following swapping policy: By default all pages in memory should also be in swap space. When a page in memory is changed (i.e. dirty), the page should be written out as ...
5
votes
1answer
1k views

Is it safe to disable OOM killer in a web server/reverse proxy?

I have Linux machine dedicated to serving static contents and PHP pages with Apache. Apache also work as a reverse proxy in a subdomain. I moved the PostgreSQL database to another Linux machine. Is ...
27
votes
12answers
3k views

How can I tweak my Linux desktop to be more responsive?

I have the experience that Linux works fine until the physical memory is exhausted. As soon as swap space is used the performance is severely degraded and the GUI becomes unresponsive. This problem ...
12
votes
3answers
3k views

How should I configure grub for booting linux kernel from a USB hard drive?

I have a laptop hard drive in an external enclosure which I use as a large pendrive. For an added twist, I have installed Linux on it, so I can boot any machine with my distribution of choice (e.g. ...