Linux - KernelThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.