View previous topic :: View next topic |
Author |
Message |
HeXiLeD Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/151607204746643085a95a8.jpg)
Joined: 20 Aug 2005 Posts: 1159 Location: Online
|
Posted: Mon Aug 04, 2008 7:12 pm Post subject: Kernel 2.6.26 (vanilla) - section mismatch [SOLVED] |
|
|
While compiling 2.6.26 kernel i got the following errors:
Code: | WARNING: vmlinux.o(.text+0x1778a): Section mismatch in reference from the function kvm_setup_secondary_clock() to the function .cpuinit.text:setup_secondary_APIC_clock()
The function kvm_setup_secondary_clock() references
the function __cpuinit setup_secondary_APIC_clock().
This is often because kvm_setup_secondary_clock lacks a __cpuinit
annotation or the annotation of setup_secondary_APIC_clock is wrong.
WARNING: vmlinux.o(.text+0x1eecb): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_end
The function arch_setup_additional_pages() references
the variable __initdata vdso_end.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_end is wrong.
WARNING: vmlinux.o(.text+0x1eed8): Section mismatch in reference from the function arch_setup_additional_pages() to the variable .init.data:vdso_start
The function arch_setup_additional_pages() references
the variable __initdata vdso_start.
This is often because arch_setup_additional_pages lacks a __initdata
annotation or the annotation of vdso_start is wrong.
WARNING: vmlinux.o(.cpuinit.text+0x46f9): Section mismatch in reference from the function uv_cpu_init() to the function .init.text:uv_system_init()
The function __cpuinit uv_cpu_init() references
a function __init uv_system_init().
If uv_system_init is only used by uv_cpu_init then
annotate uv_system_init with a matching annotation. |
I am a bit lost with this output.
What is causing it and if possible how to avoid it or remove it.
I have tried to recompile with other options to see if i could get this solved; but it kinda didnt solve the problem.
my kernel config is here
Any ideas? _________________ Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...
CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Last edited by HeXiLeD on Sat Aug 16, 2008 6:54 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alex.blackbit Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Mon Aug 04, 2008 8:08 pm Post subject: |
|
|
unfortunately section mismatches are... well... normal these days.
don't care about them. hopefully they will go away soon. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Aug 04, 2008 9:30 pm Post subject: |
|
|
Agreed. Try out your kernel and see if it works. I got at least five of those messages from all three machines as I was compiling their kernels. Fortunately, all three machines are working fine.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HeXiLeD Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/151607204746643085a95a8.jpg)
Joined: 20 Aug 2005 Posts: 1159 Location: Online
|
Posted: Mon Aug 04, 2008 9:35 pm Post subject: |
|
|
What do they mean ? and how about removing settings that might or are causing these mismatches ? _________________ Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...
CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Aug 04, 2008 9:43 pm Post subject: |
|
|
They go by so quickly, it's hard to even make them out, much less try to divine a meaning from the messages. If you want, you could write a bug report to the kernel devs (if it's vanilla), or gentoo (gentoo-sources).
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alex.blackbit Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Mon Aug 04, 2008 10:08 pm Post subject: |
|
|
this applies to both gentoo- and vanilla-sources.
there is already a bug for that.
google knows about that too.
there were patches up for inclusion in .26, maybe they will make it in .27.
somebody really curious could try out a -rc version. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alex.blackbit Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Mon Aug 04, 2008 10:58 pm Post subject: |
|
|
on -rc1 the mismatches still exist. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HeXiLeD Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/151607204746643085a95a8.jpg)
Joined: 20 Aug 2005 Posts: 1159 Location: Online
|
Posted: Sat Aug 16, 2008 6:55 pm Post subject: |
|
|
After all this, I rebooted ... recompiled and the 2.6.26 mismatches were gone.
SOLVED _________________ Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...
CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Aug 17, 2008 5:46 am Post subject: |
|
|
I also have news on this issue. It seems that after moving a kernel up via make oldconfig, sometimes errors travel along in the code of .config. Since the kernel that was running on this machine came into being around 2.6.18.x, that's a lot of time to pick up a lot of errors. That's 8 major version changes that config had been through.
So, what I did was to use the old .config as a pattern, but to create completely new kernel .configs using make defconfig. I put two make xconfig sessions side by side; the new one and the old pattern, and just clicked all the options that were listed. I also took the time to do some more experimentation with my kernels.
When I compiled the new .configs into kernels, there were no mismatch errors. Also, the new kernel design seems to be working ok, too. That's a good thing!
So, there is a way to stop the mismatch errors; create a new config from your old one instead of doing a make oldconfig.
I think I'm only going to worry about that when it becomes problematic again. It's a PITA to rebuild a kernel from the ashes of the old.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|