Please help to configure working kernel

Submitted by Tomas
on April 19, 2009 - 12:49pm

Hi all,

I'm veeeery new to the kernel building business, please pardon my lameness

I'm building 2.6.30-rc2 kernel from scratch, I've;
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
$ cd linux-2.6
$ make 0=../build defconfig
$ cd ../build
$ make -j4
# make modules_install
# cp arch/i386/boot/bzImage /boot/bzImage-2.6.30-rc2
# cp System.map /boot/System.map-2.6.30-rc2
Added another entry to grub where as root I've specified exactly what I have currently, only changing my kernel file name to /bzImage-2.6.30-rc2

When pc boots I'm getting kernel panic (see attached)

Any help appreciated

AttachmentSize
panic.PNG23.05 KB

oldconfig

strcmp
on
April 19, 2009 - 2:28pm

you may want to import your previous kernel's working config (found in /boot or /proc or elsewhere) instead of the default configuration. copy to .config and make oldconfig.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.