contribution in kernel community & testing kernel

Hao Lee haolee.swjtu at gmail.com
Wed Mar 23 09:22:55 EDT 2016


On Wed, Mar 23, 2016 at 6:36 PM, shubham k <skaushal.lk at gmail.com> wrote:
> Hi,
>
> I a novice & want to contribute to linux community. I have basic knowledge
> of kernel.
>
> Problem statement:
> I want to work on x86 architecture. I am not sure how to go about unit
> testing. I can use qemu for testing but i find kernel on x86 architecture
> too big to compile. How i can get the smaller size kernel on x86
> architecture? Please help me setting up testing environment so that i can
> test my changes properly & quickly.

Hi,
I once turn off all of the unnecessary options in .config and the
kernel can be compiled within three minutes. But I also remove
USB,Networking,video, and mouse drivers, so the newer kernel is very
tiny and it's useless except debugging.
Besides, I use bochs and gdb to debug kernel source and it's very
convenient. Recently, I find DDD is an awesome debugger, so I highly
recommend it.

Good Luck.
Hao Lee



More information about the Kernelnewbies mailing list