Re: Compiling a small kernel on Ubuntu

From: Alejandro Riveira FernÃndez
Date: Fri Nov 07 2008 - 06:23:10 EST


El Fri, 7 Nov 2008 16:15:36 +1100
Buddhike De Silva <buddhike.desilva@xxxxxxxxxxx> escribiÃ:

> Hi Everyone,
>
> I'm trying to learn how linux scheduler is implemented. As a result, I wanted to compile and run linux kernel from its source code. That way I can assure that I have a working base to play around. I started by following this article:
> http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
>
> I managed to complete the given instructions and change Grub to display a new entry to select the newly compiled kernel. However, it falls over while trying to load (unable to handle kernel paging request). My gut feeling says I've missed something in the kernel configuration step. Can someone please tell me the basic set of options required for a kernel to get the following system up and running?

Why not base your config in the ubuntu config?
cp /boot/config-$(uname -r) path/to/kernelsource
make oldconfig
(answer some questions)

>
> Machine: IBM thinkpad t42
> CPU: Intel Centrino Mobile 32bit
> RAM: 1 GB
> Hard Disk: 40GB IDE
>
> Also is there a guide for kernel debugging? Thanks a lot in advance.
>
> Cheers,
> Buddhike
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/