Building the kernel gives me this warning: ############## START ################# LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xf358): Section mismatch: reference to .init.text:fork_idle (between 'do_fork_idle' and 'apic_wait_icr_idle') WARNING: vmlinux.o(.text+0x25297d): Section mismatch: reference to .init.data.14:pxm_to_node_map (between 'pxm_to_node' and 'node_to_pxm') WARNING: vmlinux.o(.text+0x25298f): Section mismatch: reference to .init.data.14:node_to_pxm_map (between 'node_to_pxm' and '__acpi_map_pxm_to_node') WARNING: vmlinux.o(.text+0x25299a): Section mismatch: reference to .init.data.14:pxm_to_node_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm') WARNING: vmlinux.o(.text+0x2529a4): Section mismatch: reference to .init.data.14:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm') WARNING: vmlinux.o(.text+0x2529fa): Section mismatch: reference to .init.data.14:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node') WARNING: vmlinux.o(.text+0x252a40): Section mismatch: reference to .init.data.14:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node') WARNING: vmlinux.o(.text+0x252a47): Section mismatch: reference to .init.data.14:node_to_pxm_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node') LD vmlinux SYSMAP System.map ############## END ################# Is that something to worry about? My "emerge --info" is: ############## emerge --info ################# omc-2 linux # emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64) ================================================================= System uname: 2.6.23-gentoo-r3 x86_64 AMD Opteron(tm) Processor 252 Timestamp of tree: Mon, 28 Jan 2008 08:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LC_ALL="en_US.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac aalib acl alsa amd64 berkdb bitmap-fonts browserplugin bzip2 cdr cli cracklib crypt cups dri dvd dvdr dvdread emacs fam fbcon firefox foomaticdb fortran gdbm gnome gtk gzip-el hal iconv isdnlog jpeg kpathsea latex midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png portaudio pppd python readline reflection session spl sse sse2 ssl tao tcpd tex theora toolkit-scroll-bars truetype-fonts type1-fonts unicode vorbis wma xft xine xorg xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 141981 [details] .config for the kernel
The following patch[1] should address your problem. This was committed into the mainline tree and is available in gentoo-sources-2.6.24. Can you please test that kernel version and let me know if your warnings disappear?
Which patch? Do you mean the git link??
I tried the git link. The warnings are not completely gone. One remains: omc-2 linux # make CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC drivers/acpi/numa.o LD drivers/acpi/built-in.o LD drivers/built-in.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xf358): Section mismatch: reference to .init.text:fork_idle (between 'do_fork_idle' and 'apic_wait_icr_idle') LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map CC arch/x86_64/boot/version.o LD arch/x86_64/boot/setup.elf OBJCOPY arch/x86_64/boot/setup.bin OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin GZIP arch/x86_64/boot/compressed/vmlinux.bin.gz LD arch/x86_64/boot/compressed/piggy.o LD arch/x86_64/boot/compressed/vmlinux OBJCOPY arch/x86_64/boot/vmlinux.bin BUILD arch/x86_64/boot/bzImage Root device is (8, 4) Setup is 10680 bytes (padded to 10752 bytes). System is 2632 kB Kernel: arch/x86_64/boot/bzImage is ready (#2) Building modules, stage 2. MODPOST 1 modules omc-2 linux #
Please test gentoo-sources-2.6.24
No go. 2.6.24 gives: LD .tmp_vmlinux1 KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') WARNING: vmlinux.o(.text.head+0xeb): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map
Upstream reports that there is a future patch that will fix this: http://lkml.org/lkml/2008/1/26/221 upstream states that this is a harmless warning.
As upstream has indicated that a forthcoming patch will solve this one and the messages are harmless, I am resolving this bug.