LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-08-2008, 05:03 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
make CONFIG_DEBUG_SECTION_MISMATCH=y


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.
 
Old 11-09-2008, 05:10 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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
 
Old 11-09-2008, 01:01 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
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.
 
Old 11-10-2008, 01:14 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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!
 
Old 11-22-2008, 06:06 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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!
 
  


Reply

Tags
config, debug, kernel


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration