Debian Ubuntu Linux Solutions Blog

Simple Solutions That Work!

Entries for the ‘Kernel’ Category

HOWTO: Create and submit your first Linux kernel patch using GIT

After working with Linux (mostly as an advanced user) for years, I decided to post my first Linux kernel patch (although trivial but hey you need to start somewhere!) and I was thrilled when it first got accepted by the Subsystem maintainer and then ultimately it trickled into mainline kernel. What follows is a step-by-step […]

TIP: Getting rid of permission error when compiling kernel from GIT source

Problem So recently I was in a situation where I had to use the git-bisect tool to find a bug that was causing my system to hang during early boot. One of the first step to do that is to get kernel git tree on your system where you will compile kernels. So I did […]

TIP: Compiling 2.6.33 and above kernels on Debian Lenny

So let’s say you want to install a Linux kernel 2.6.33 or newer on your Debian Lenny system. Problem The problem is that after you give your usual make-kpkg command to compile Linux kernel on Debian Lenny you will see the following error message after sometime into the compilation process: COLUMNS=150 dpkg -l ‘gcc*’ perl […]

HOWTO: Lookup Symbol Name and Address during Linux Kernel Debugging

Purpose: This is a short post in which we will see how to look-up a symbol name (function or a variable) from the address that it outputted in the kernel dmesg logs and vice versa. Note: Please note that this is not a HOWTO on how to debug Linux Kernel when it does a OOPS […]

HOWTO: Compiling a custom Linux kernel on Debian Linux System

Purpose: There are many ways on how to compile a Linux kernel on a Linux operating system. Here is a step-by-step guide on how to compile a custom Linux kernel, the “Debian way”, on  Debian Lenny. Step 1: Install Debian system I guess I don’t need to explain this. If you are at a stage […]

TIP: Getting rid of initramfs trying to update a non-exsiting initrd file

Problem: If you have been playing around with your Debian system for a long time i.e. installing, purging, un-installing and re-installing them again you might end up in a situation where anytime you run a program, for example splashy, which triggers the initramfs-tools you might end up with the following message: Processing triggers for initramfs-tools […]

Initramfs and Initrd Series: Part 2 – What is initrd and similarities with initramfs

Welcome to part 2 of Initramfs and Initrd series. In Part 1 of this series we saw what is initramfs and how to compress and de-compress it. In this part we will see what is an initrd and some of the similarities between initramfs and initrd. So as mentioned in first part, initramfs replaced the […]

Initramfs and Initrd Series: Part 1 – Decompress and compress initramfs images

Purpose: We will learn how to decompress and then re-compress an initramfs image from your Debian or Ubuntu systems. I find the whole initramfs and initrd topic to be one of the most fascinating one in Linux. I always wanted to write a series of post on these topics and I think this might be […]

HOWTO: Blacklisting kernel module from auto loading in Debian

Purpose: In this post we will how to prevent a kernel module (a.k.a blacklist) from auto loading during Debian Linux start up. You probably are thinking that you already know this (and you might), however there has been some change in recent kernels and you need to use a different method to blacklist a module […]

TIP: Preparing your Linux kernel sources for out-of-tree kernel module compilation

Purpose: Many times you will be in a situation where you need to compile out-of-tree kernel modules, meaning that the kernel you are currently running does not have the required module in it (say squashfs, ndiswrapper, etc). In such a situation, one typically needs to download sources from somewhere else and then compile them against […]

Email Subscription
Custom Search
  • Translator

    English flagItalian flagGerman flagFrench flagSpanish flag
    Russian flagCzech flagDanish flagHindi flag 
  • Polls

    Which filesystem are you using on your Debian Install?

    View Results

    Loading ... Loading ...
  • Most Visited Posts

      Wordpress.com stats not installed!
  • Archives

  • FeedBurner RSS

  • Blogroll

  • BlogSEO

  • Blog Stats

      Wordpress.com stats not installed!
    » wp.com stats helper
Get Adobe Flash player