* Compiling a small kernel on Ubuntu
@ 2008-11-07 5:15 Buddhike De Silva
2008-11-07 11:22 ` Alejandro Riveira Fernández
0 siblings, 1 reply; 2+ messages in thread
From: Buddhike De Silva @ 2008-11-07 5:15 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org
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?
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compiling a small kernel on Ubuntu
2008-11-07 5:15 Compiling a small kernel on Ubuntu Buddhike De Silva
@ 2008-11-07 11:22 ` Alejandro Riveira Fernández
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Riveira Fernández @ 2008-11-07 11:22 UTC (permalink / raw)
To: Buddhike De Silva; +Cc: linux-kernel@vger.kernel.org
El Fri, 7 Nov 2008 16:15:36 +1100
Buddhike De Silva <buddhike.desilva@readify.net> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-07 11:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-07 5:15 Compiling a small kernel on Ubuntu Buddhike De Silva
2008-11-07 11:22 ` Alejandro Riveira Fernández
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox