LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 11-08-2008, 06:03 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian-woody-> sarge-> etch -> lenny -> squeeze
Posts: 1,080
Thanked: 4
make CONFIG_DEBUG_SECTION_MISMATCH=y


[Log in to get rid of this advertisement]
Hya,

I am using Debian lenny (kernel 2.6.26, Debian package).

Last night, while building a new kernel, the error
Code:
CONFIG_DEBUG_SECTION_MISMATCH=y
showed up after make.

I did not see any related document within kernel source. Web search gave me several sites, however most of them look like for real developer (like contact Linus.)

Question is:
What is this message?
What am I supposed to do next?

Happy Penguins.
kaz2100 is offline  
Tag This Post , ,
Reply With Quote
Old 11-09-2008, 06:10 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,716
Blog Entries: 30
Thanked: 283
Quote:
Originally Posted by kaz2100 View Post
What is this message?
You haven't posted the complete message (one line above or below in this case), because if you did

Quote:
Originally Posted by kaz2100 View Post
What am I supposed to do next?
you'd see it offers you the advice of 'make CONFIG_DEBUG_SECTION_MISMATCH=y'. Better pipe output to a file unless you read fast ;-p
unSpawn is offline     Reply With Quote
Old 11-09-2008, 02:01 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Lenny 2.6.28.8 SMP
Posts: 2,717
Thanked: 57
Did it stop and wait for your response? As unspawn says, we can't see enough about what's going on, but I get similar pauses when I forget to run "make oldconfig" after downloading a new kernel source. If my *guess* is right, it's just asking you what you want to choose for that configuration item.
Quakeboy02 is offline     Reply With Quote
Old 11-10-2008, 02:14 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian-woody-> sarge-> etch -> lenny -> squeeze
Posts: 1,080
Thanked: 4

Original Poster
Hya,

Thanks for your reply.

Yes, as unSpawn points out, I should have piped. Message looked like some sort of conflict among modules at the end of 'make'. (actual one is gone...) It was not waiting for any response.

I did 'make CONFIG_DEBUG_SECTION_MISMATCH=y' and I did not see any message.

I was rebuilding my kernel (uncheck some device drivers) by 'make gconfig', so I don't think I forgot to configure.

Anyway, at this moment, I am trying to build a kernel using same .config file under brand new source tree. I do not see the message again. I will update.

Happy Penguins!
kaz2100 is offline     Reply With Quote
Old 11-22-2008, 07:06 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian-woody-> sarge-> etch -> lenny -> squeeze
Posts: 1,080
Thanked: 4

Original Poster
Hya,

update.

I still have that message.
Code:
Kernel: arch/x86/boot/bzImage is ready  (#9)
  Building modules, stage 2.
  MODPOST 846 modules
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
and make CONFIG_DEBUG_SECTION_MISMATCH=y gives me
Code:
WARNING: drivers/scsi/gdth.o(.text+0x397d): Section mismatch in reference from the function gdth_pci_probe_one() to the function .init.text:gdth_enable_int()
The function gdth_pci_probe_one() references
the function __init gdth_enable_int().
This is often because gdth_pci_probe_one lacks a __init 
annotation or the annotation of gdth_enable_int is wrong.
The kernel itself looks like functional. (There are several tiny problems, such as USB memory label does not always show up as a mount point, screensaver does not turn off LCD,.... )

My penguin is Debian lenny kernel 2.6.26 (Debian package).

Happy Penguins!
kaz2100 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 03:13 AM
Make Trouble linking some fortran code Make file problem? any ideas? TheBrick Linux - General 0 05-17-2006 12:21 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 06:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 04:49 AM


All times are GMT -5. The time now is 05:50 PM.

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