| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-08-2008, 05:03 PM
|
#1
|
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,333
Rep:
|
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.
|
|
|
|
11-09-2008, 05:10 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
Quote:
Originally Posted by kaz2100
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
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
|
|
|
|
11-09-2008, 01:01 PM
|
#3
|
|
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,153
Rep: 
|
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.
|
|
|
|
11-10-2008, 01:14 AM
|
#4
|
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,333
Original Poster
Rep:
|
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!
|
|
|
|
11-22-2008, 06:06 AM
|
#5
|
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,333
Original Poster
Rep:
|
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!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|