KernelCheck is a project that is designed to easily build the latest kernel for your distribution using the instructions provided in the Master Kernel Thread . This automated process is a fork of AutoKernel by Robert Wolterman (xtacocorex), Timothy Janssen (mentok), and Kristof Verbeken (PinguinZ). KernelCheck is currently licensed under the GNU General Public License.
Read [...]
If you want the server to get rebooted automatically after kernel hit by a pain error message, try adding panic=N to /etc/sysctl.conf file.
It specify kernel behavior on panic. By default, the kernel will not reboot after a panic, but this option will cause a kernel reboot after N seconds. For example following boot parameter will force to reboot Linux after 10 seconds.
Open /etc/sysctl.conf file
# vi /etc/sysctl.conf
Many system administrators may be in the habit of re-booting their systems to make partition changes visible to the kernel. With Linux, this is not usually necessary. The partprobe command, from the parted package, informs the kernel about changes to partitions.
After I wrote an article on optimizing disk performance,
some readers commented that tweaking settings was just part of the job.
They pointed out that you can get more speed if you also compile your
kernel, adjusting it optimally for your specific hardware and needs.
Compiling the kernel isn’t the challenge it used to be; nowadays the
process is streamlined, and you don’t have to do much but pick your
choices and key in some commands.
A quick overview of Linux kernel crash dump analysis
The Red Hat Crash Utility is a kernel-specific debugger. It is
usually used for performing postmortem system analysis when the system
panicked, locked up, or appears unresponsive. In this short article,
Eugene Teo will give a quick overview of how you can install crash and
how you can use it to get important information from the crash dump
files for debugging and root-cause analysis purposes.
Prerequisites
The crash utility has the following three prerequisites:
Release Found: Red Hat Enterprise Linux 3 and Red Hat Enterprise Linux 4
There is a condition in both Red Hat Enterprise Linux 3 and Red Hat
Enterprise Linux 4 where the kernel fails to properly clean up inodes
after an NFS filesystem is unmounted. When this happens, the following
message is printed to the /var/log/messages file:
Earlier this week we took a tour of the generic way of building custom Linux kernels. Today we’ll look some nice Debian shortcuts, and Fedora’s unique way of building custom kernels.
The Debian Way of Customizing Kernels
Debian’s kernel source packages are named linux-source-[version]. The current official source package versions are linux-source-2.6.18 (stable), linux-source-2.6.21 (testing and unstable), and linux-source-2.6.22 (unstable and experimental).
Custom Linux Kernels Trim Fat and Tune Performance
I have some shocking news: despite the astonishing
growth of Linux, there is a whole new generation of Linux users who
have never, ever compiled a kernel. How to account for this sad state
of affairs? Perhaps it’s because the distribution maintainers are
doing such fine jobs it’s not necessary. Maybe users just don’t know
that they can. Whatever the reasons, today we’re taking a tour of some
Currently Feisty Fawn users (7.04) using the generic kernel (which is
2.6.20-16-generic). This tutorial will explain howto upgrade you to
kernel version 2.6.22-9-generic(as of 31JUL07).
First you need to add the Gutsy repository (this is only temporary to pull the new kernel)
echo ‘deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted’ | sudo tee -a /etc/apt/sources.list
Update the source list using the following command
sudo apt-get update
you need to install the new kernel using the following command
I never found good documentation on upgrading/compiling linux kernel in Debian, Most of the time I stuck in between and my running libs gets corrupted, then same story; Put new hard disk, Install latest Debian, mount old HDD and copy all the contents.
After reading/research documents in net, I setup my step-by-step Linux kernel up-gradation (Bash Script) in Debian. up-till now I upgraded more than 5 Debian kernels without any problem.
If you found anything wrong in this tutorial, please click here.
apt-get install kernel-package –yes
Since the misty days of yore, the first step in learning a new programming language has been writing a program that prints "Hello, world!" (See the Hello World Collection for a list of more than 300 "Hello, world!" examples.) In this article, we will use the same approach to learn how to write simple Linux kernel modules and device drivers. We will learn how to print "Hello, world!" from a kernel module three different ways: printk(), a /proc file, and a device in /dev.
Each distribution has some specific tools to build a custom kernel
from the sources. This article is about compiling a kernel on a Debian
Etch system. It describes how to build a custom kernel using the latest
unmodified kernel sources from www.kernel.org (vanilla kernel)
so that you are independent from the kernels supplied by your
distribution. It also shows how to patch the kernel sources if you need
features that are not in there.