Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2012, 07:05 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 16

Rep: Reputation: Disabled
Warning while compile kernel 2.9.32 on ubuntu 10.04 in 32bit system

I try to compile my kernel to fullfile my PMIPv6 testbed setting. The step as follow:

sudo make oldconfig
sudo make xconfig

after this execute i configure my kernel setting. Then after that i execute the :

sudo make

Everything going fine.. but then when i execute the :

sudo make modules

there were warning occur. Is that warning will contribute to the kernel panic.. because i try to recompile my kernel, but everytime i recompile and reboot my system, the kernel panic. I dont know what else to do to solve my problem.

anyone can help me??
root@utmmimos:/usr/src/linux-source-2.6.32# sudo make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/
Building modules, stage 2.
MODPOST 2782 modules
WARNING: modpost: Found 14 section mismatch(es).
To see full details build your kernel with:
Old 07-19-2012, 03:56 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 141Reputation: 141

when compiling my kernels using the Gentoo distribution I just run a "make && make modules_install". No need to compile the modules separately.
Sure that you have to run the "make modules"?
In any case some warnings while compiling might be normal (might depend as well on the options you set in the kernel if to show or not those warnings).

What kind of kernel panic are you getting during boot? Just a plain kernel panic or do you get some other messages/complaints there?
Anything saying that it could not find the root filesystem or anything else?

1 members found this post helpful.
Old 07-22-2012, 01:47 AM   #3
LQ Newbie
Registered: Jul 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Pearlseattle ~ thank you for reply. I already solve the warning problem as i follow your instruction to do the execute command like this
sudo make && make modules_install && install
and i dont get any warning occur.

Next, the kernel panic problem also already solve. I write a wrong command to create the initrd image so the kernel panic. Hope other that face the kernel panic problem can see the right way to write the command to create the initrd image for your new configuration kernel :-)

THank you again :-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] build 32bit-kernel on 64bit kernel system jimmyting Linux - Software 2 06-04-2012 08:58 AM
boot problems with 32bit ubuntu on 64bit system joshc12385 Linux - Newbie 5 10-09-2010 01:25 AM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-10-2010 12:03 AM
[SOLVED] System hangs after grub screen, Ubuntu 9.10 32bit Jeff91 Linux - Hardware 7 02-03-2010 06:47 PM
possible to compile a 32bit kernel on a 64bit os? Shadowmeph Linux - General 5 10-02-2008 07:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration