Compiling the Kernel

The other day my friend Marty was having some interesting problems. His USB ports were randomly dropping. Seriously, mouse working fine and then BAM! No more mouse. At first I thought it was a hardware issue and that he would need a RMA to get a new motherboard. But after some google searching we found this bug on Launchpad that basically says there is a kernel bug with this particular Nvidia USB controller.

So, we went with the latest stable kernel that doesn’t suffer from this bug.

I have written about compiling the kernel before, but didn’t include a link. For instruction on how to compile the kernel I followed this post.

Some instructions need to be different for ubuntu. For instance, instead of ‘su -’ for ubuntu you should use ‘sudo -i’ to get a root shell. Also ‘mkinitrd -o initrd.img-2.6.25 2.6.25′ should actually be ‘mkinitramfs -o …’ Small differences but this points out a great part about Linux. Although these instructions may be for a different distro, in this case CentOS, you can still use them as guidelines.

Tags:

Leave a Reply