## VMWare Kernel Modules for Your New Kernel

My recent post on building Debian kernels misses a subtle but useful point. Namely that of building Debian kernel modules alongside your new kernel. I wanted to run a new kernel with the Ubuntu vmware-player-kernel-source package. I was fumbling around wanting to use module-assistant to do this for me when I stumbled upon on the solution, presented so eloquently by my friend Albert Veli. This gives us a small update to the previous post: [Read More]

## HowTo: Building Debian/Ubuntu Kernels

I have been over this topic so many times now, strangely enough I’ve managed to make things more complicated than they need to be. It’s really this simple: $wget ftp://ftp.sunet.se/pub/Linux/kernels/v2.6/linux-2.6.19.2.tar.bz2$ tar xfj linux-2.6.19.2.tar.bz2 $cd linux-2.6.19.2/$ zcat /proc/config.gz >.config $make menuconfig [Tweak to your hearts desire]$ fakeroot make-kpkg --initrd kernel_image \$ dpkg -i ../linux-image-2.6.19.2_2.6.19.2-10.00.Custom_i386.deb [DONE!] You may, of course, need to tweak the file /etc/kernel-pkg. [Read More]

## make-kpkg and dirty modules

Dammit, tonight I spent too many hours chasing down a “feature” in the Debian kernel build process or the Linux-2.6 kernel. I haven’t yet deciced who to blame ;-) Here goes: when you build the latest Linux 2.6 kernel, checked out from the git repository, with make-kpkg you should make sure to uncheck the CONFIG_LOCALVERSION_AUTO option in the kernel config before hand. It’s under “General setup” → “Automatically append version information …“. [Read More]