Kernel

How to check the installed GCC version and the GCC that was used to compile the kernel

The former was obvious, but the latter I had to look up (and found on the linked website). The kernel's GCC version is in /proc/version.

Creating custom kernels with Debian's kernel-package system

A great guide on building Debian kernel packages from Linux kernel sources using the make-kpkg utility. One thing I missed was instructions for creating an initrd image.

How to increase the max number of open files for Linux users

This forum post has a fine introduction into various file limits and a short tutorial on using /etc/security/limits.conf to set user limits.

How Many Open Files?

We knew the answer to this question once, back when the world was young and full of truth. Without hesitation, we'd have spouted "Just take the output of lsof | wc -l!" And it's true enough, in a general sort of way. But if you asked me the same question now, my answer would be: "Why do you want to know?"

Are you, for instance, attempting to determine whether the number of open files is exceeding the limit set in the kernel? Then the output of lsof will be practically useless.
(...)


How to compile a 2.6.x kernel for use with Compaq Evo T20 in LTSP 5

The point of this howto is to help you avoid some of the gotchas I had to overcome. This is not a fully detailed explanation on how to compile kernels or an introduction to what an Evo T20 is. I merely intend to share my experiences with "insiders" who already know what the problem is about and just wanna some pointers on potential problems along the way on compiling a kernel for use with the Evos.

Help with the magic SysRq features

The SysRq feature is described in a text file named "sysrq.txt" within the kernel source package (in the Documentation directory). You can find the most recent version of this file from the 2.6.x tree at kernel.org.

Syndicate content