public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.17-rc6 Section mismatch warnings
@ 2006-06-08 11:09 Barry Scott
  2006-06-08 16:45 ` Randy.Dunlap
  2006-06-09  2:59 ` Randy.Dunlap
  0 siblings, 2 replies; 6+ messages in thread
From: Barry Scott @ 2006-06-08 11:09 UTC (permalink / raw)
  To: Linux Kernel Mailing List

When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
about Section mismatch. What did I do wrong in building the kernel and 
modules?

I used these commands to build 2.6.17-rc6 on FC4:
$ tar xjf ~/Downloads/linux-2.6.16.tar.bz2
$ mv linux-2.6.16  linux-2.6.17-rc6
$ cd linux-2.6.17-rc6
$ bzcat ~/Downloads/patch-2.6.17-rc6.bz2| patch -p1
$ cp /boot/config-2.6.16-1.2096_FC4 
~/KernelBuild/obj/linux-2.6.17-rc6/.config
$ make O=~/KernelBuild/obj/linux-2.6.17-rc6 silentoldconfig
(took the defaults for all new config items)
$ make O=~/KernelBuild/obj/linux-2.6.17-rc6 >make-1.log 2>&1
$ make O=~/KernelBuild/obj/linux-2.6.17-rc6 modules >make-2.log 2>&1

Here are some of the warnings:

  MODPOST
WARNING: drivers/input/misc/wistron_btns.o - Section mismatch: reference 
to .init.text:dmi_matched from .data between 'dmi_ids' (at offset 0x120) 
and 'keymap_aopen_1559as'
...
WARNING: drivers/isdn/hisax/hisax.o - Section mismatch: reference to 
.init.text:setup_teles0 from .text between 'checkcard' (at offset 
0x11a5) and 'hisax_register'
...
WARNING: drivers/net/3c501.o - Section mismatch: reference to 
.init.text:el1_probe from .text between 'init_module' (at offset 0x146) 
and 'el_reset'
WARNING: drivers/net/3c503.o - Section mismatch: reference to 
.init.data: from .text between 'init_module' (at offset 0x47c) and 
'el2_block_output'
WARNING: drivers/net/3c503.o - Section mismatch: reference to 
.init.data: from .text between 'init_module' (at offset 0x485) and 
'el2_block_output'
...
WARNING: drivers/net/wd.o - Section mismatch: reference to .init.text: 
from .text after 'init_module' (at offset 0x47d)
WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch: 
reference to .init.text: from .text between 'megaraid_probe_one' (at 
offset 0x1f00) and 'megaraid_queue_command'
WARNING: drivers/video/aty/atyfb.o - Section mismatch: reference to 
.init.data: from .text between 'atyfb_pci_probe' (at offset 0x297f) and 
'atyfb_set_par'
WARNING: drivers/video/aty/atyfb.o - Section mismatch: reference to 
.init.text:aty_init_cursor from .text between 'atyfb_pci_probe' (at 
offset 0x2dc1) and 'atyfb_set_par'
WARNING: drivers/video/macmodes.o - Section mismatch: reference to 
.init.text:mac_find_mode from __ksymtab between 
'__ksymtab_mac_find_mode' (at offset 0x0) and 
'__ksymtab_mac_map_monitor_sense'
WARNING: fs/jffs2/jffs2.o - Section mismatch: reference to 
.init.text:jffs2_zlib_init from .text between 'jffs2_compressors_init' 
(at offset 0x81) and 'jffs2_compressors_exit'
WARNING: sound/isa/sb/snd-sbawe.o - Section mismatch: reference to 
.init.text:snd_emu8000_new from .text between 'snd_sb16_probe' (at 
offset 0x440) and 'snd_sb16_nonpnp_remove'
WARNING: sound/isa/snd-opl3sa2.o - Section mismatch: reference to 
.init.text: from .text between 'snd_opl3sa2_pnp_cdetect' (at offset 
0xe61) and 'snd_opl3sa2_pnp_detect'
WARNING: sound/isa/snd-opl3sa2.o - Section mismatch: reference to 
.init.text: from .text between 'snd_opl3sa2_pnp_detect' (at offset 
0xf52) and 'snd_opl3sa2_put_single'

Barry


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.6.17-rc6 Section mismatch warnings
  2006-06-08 11:09 2.6.17-rc6 Section mismatch warnings Barry Scott
@ 2006-06-08 16:45 ` Randy.Dunlap
  2006-06-08 17:27   ` Barry Scott
  2006-06-09  2:59 ` Randy.Dunlap
  1 sibling, 1 reply; 6+ messages in thread
From: Randy.Dunlap @ 2006-06-08 16:45 UTC (permalink / raw)
  To: Barry Scott; +Cc: linux-kernel

On Thu, 08 Jun 2006 12:09:46 +0100 Barry Scott wrote:

> When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
> about Section mismatch. What did I do wrong in building the kernel and 
> modules?

Nothing (well, I would use "make all" instead of the last 2
commands and I would use ketchup or
http://www.xenotime.net/linux/scripts/grab-kernel-rc
to optionally download and create new kernel dirs. :)

I'll look at the warnings.  Some of them are noise/bogus,
I expect...


> I used these commands to build 2.6.17-rc6 on FC4:
> $ tar xjf ~/Downloads/linux-2.6.16.tar.bz2
> $ mv linux-2.6.16  linux-2.6.17-rc6
> $ cd linux-2.6.17-rc6
> $ bzcat ~/Downloads/patch-2.6.17-rc6.bz2| patch -p1
> $ cp /boot/config-2.6.16-1.2096_FC4 
> ~/KernelBuild/obj/linux-2.6.17-rc6/.config
> $ make O=~/KernelBuild/obj/linux-2.6.17-rc6 silentoldconfig
> (took the defaults for all new config items)
> $ make O=~/KernelBuild/obj/linux-2.6.17-rc6 >make-1.log 2>&1
> $ make O=~/KernelBuild/obj/linux-2.6.17-rc6 modules >make-2.log 2>&1
> 
> Here are some of the warnings:
> 
>   MODPOST
> WARNING: drivers/input/misc/wistron_btns.o - Section mismatch: reference 
> to .init.text:dmi_matched from .data between 'dmi_ids' (at offset 0x120) 
> and 'keymap_aopen_1559as'
> ...
> WARNING: drivers/isdn/hisax/hisax.o - Section mismatch: reference to 
> .init.text:setup_teles0 from .text between 'checkcard' (at offset 
> 0x11a5) and 'hisax_register'
> ...
> WARNING: drivers/net/3c501.o - Section mismatch: reference to 
> .init.text:el1_probe from .text between 'init_module' (at offset 0x146) 
> and 'el_reset'
> WARNING: drivers/net/3c503.o - Section mismatch: reference to 
> .init.data: from .text between 'init_module' (at offset 0x47c) and 
> 'el2_block_output'
> WARNING: drivers/net/3c503.o - Section mismatch: reference to 
> .init.data: from .text between 'init_module' (at offset 0x485) and 
> 'el2_block_output'
> ...
> WARNING: drivers/net/wd.o - Section mismatch: reference to .init.text: 
> from .text after 'init_module' (at offset 0x47d)
> WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch: 
> reference to .init.text: from .text between 'megaraid_probe_one' (at 
> offset 0x1f00) and 'megaraid_queue_command'
> WARNING: drivers/video/aty/atyfb.o - Section mismatch: reference to 
> .init.data: from .text between 'atyfb_pci_probe' (at offset 0x297f) and 
> 'atyfb_set_par'
> WARNING: drivers/video/aty/atyfb.o - Section mismatch: reference to 
> .init.text:aty_init_cursor from .text between 'atyfb_pci_probe' (at 
> offset 0x2dc1) and 'atyfb_set_par'
> WARNING: drivers/video/macmodes.o - Section mismatch: reference to 
> .init.text:mac_find_mode from __ksymtab between 
> '__ksymtab_mac_find_mode' (at offset 0x0) and 
> '__ksymtab_mac_map_monitor_sense'
> WARNING: fs/jffs2/jffs2.o - Section mismatch: reference to 
> .init.text:jffs2_zlib_init from .text between 'jffs2_compressors_init' 
> (at offset 0x81) and 'jffs2_compressors_exit'
> WARNING: sound/isa/sb/snd-sbawe.o - Section mismatch: reference to 
> .init.text:snd_emu8000_new from .text between 'snd_sb16_probe' (at 
> offset 0x440) and 'snd_sb16_nonpnp_remove'
> WARNING: sound/isa/snd-opl3sa2.o - Section mismatch: reference to 
> .init.text: from .text between 'snd_opl3sa2_pnp_cdetect' (at offset 
> 0xe61) and 'snd_opl3sa2_pnp_detect'
> WARNING: sound/isa/snd-opl3sa2.o - Section mismatch: reference to 
> .init.text: from .text between 'snd_opl3sa2_pnp_detect' (at offset 
> 0xf52) and 'snd_opl3sa2_put_single'


---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.6.17-rc6 Section mismatch warnings
  2006-06-08 16:45 ` Randy.Dunlap
@ 2006-06-08 17:27   ` Barry Scott
  0 siblings, 0 replies; 6+ messages in thread
From: Barry Scott @ 2006-06-08 17:27 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel

Randy.Dunlap wrote:
> On Thu, 08 Jun 2006 12:09:46 +0100 Barry Scott wrote:
>
>   
>> When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
>> about Section mismatch. What did I do wrong in building the kernel and 
>> modules?
>>     
>
> Nothing (well, I would use "make all" instead of the last 2
> commands and I would use ketchup or
> http://www.xenotime.net/linux/scripts/grab-kernel-rc
> to optionally download and create new kernel dirs. :)
>
> I'll look at the warnings.  Some of them are noise/bogus,
> I expect...
>   
I edited out the duplicate warnings to cut down the size of the mail.
Let me know if you want the full list.

Barry


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.6.17-rc6 Section mismatch warnings
  2006-06-08 11:09 2.6.17-rc6 Section mismatch warnings Barry Scott
  2006-06-08 16:45 ` Randy.Dunlap
@ 2006-06-09  2:59 ` Randy.Dunlap
  2006-06-12 13:25   ` Barry Scott
  1 sibling, 1 reply; 6+ messages in thread
From: Randy.Dunlap @ 2006-06-09  2:59 UTC (permalink / raw)
  To: Barry Scott; +Cc: linux-kernel

On Thu, 08 Jun 2006 12:09:46 +0100 Barry Scott wrote:

> When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
> about Section mismatch. What did I do wrong in building the kernel and 
> modules?
...
> Here are some of the warnings:

It would be helpful if someone could look at/work on the
section mismatches in the isdn and sound drivers...

I have 6 new patches to post, then I'll be
sweeping the net drivers soon.

> WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch: 
> reference to .init.text: from .text between 'megaraid_probe_one' (at 
> offset 0x1f00) and 'megaraid_queue_command'

Can you see if
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc6/2.6.17-rc6-mm1/broken-out/megaraid_mbox-fix-section-mismatch-warnings.patch
fixes the megaraid warning for you?



---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.6.17-rc6 Section mismatch warnings
  2006-06-09  2:59 ` Randy.Dunlap
@ 2006-06-12 13:25   ` Barry Scott
  2006-06-12 16:07     ` Randy.Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Barry Scott @ 2006-06-12 13:25 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel

Randy.Dunlap wrote:
> On Thu, 08 Jun 2006 12:09:46 +0100 Barry Scott wrote:
>
>   
>> When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
>> about Section mismatch. What did I do wrong in building the kernel and 
>> modules?
>>     
> ...
>   
>> Here are some of the warnings:
>>     
>
> It would be helpful if someone could look at/work on the
> section mismatches in the isdn and sound drivers...
>
> I have 6 new patches to post, then I'll be
> sweeping the net drivers soon.
>   
The alsa folks have fixed their problem and you should see a patch from them
shortly.

Any news on the net driver problems?

Barry



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.6.17-rc6 Section mismatch warnings
  2006-06-12 13:25   ` Barry Scott
@ 2006-06-12 16:07     ` Randy.Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy.Dunlap @ 2006-06-12 16:07 UTC (permalink / raw)
  To: Barry Scott; +Cc: linux-kernel

On Mon, 12 Jun 2006 14:25:39 +0100 Barry Scott wrote:

> Randy.Dunlap wrote:
> > On Thu, 08 Jun 2006 12:09:46 +0100 Barry Scott wrote:
> >
> >   
> >> When I built 2.6.17-rc6 I see a lot of warnings after the MODPOST message
> >> about Section mismatch. What did I do wrong in building the kernel and 
> >> modules?
> >>     
> > ...
> >   
> >> Here are some of the warnings:
> >>     
> >
> > It would be helpful if someone could look at/work on the
> > section mismatches in the isdn and sound drivers...
> >
> > I have 6 new patches to post, then I'll be
> > sweeping the net drivers soon.
> >   
> The alsa folks have fixed their problem and you should see a patch from them
> shortly.
> 
> Any news on the net driver problems?

Sorry, I posted patches for a bunch of net drivers and forgot to
copy you on them.  On Sat., 2006-June-10, on the netdev mailing
list, patches for smc, hp, & 3c5zz:

http://marc.theaimsgroup.com/?l=linux-netdev&m=114997161622800&w=2
http://marc.theaimsgroup.com/?l=linux-netdev&m=114997161630191&w=2
http://marc.theaimsgroup.com/?l=linux-netdev&m=114997161722035&w=2


---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-12 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 11:09 2.6.17-rc6 Section mismatch warnings Barry Scott
2006-06-08 16:45 ` Randy.Dunlap
2006-06-08 17:27   ` Barry Scott
2006-06-09  2:59 ` Randy.Dunlap
2006-06-12 13:25   ` Barry Scott
2006-06-12 16:07     ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox