2006-05-25 08:19:24

by Ismail Dönmez

[permalink] [raw]
Subject: 2.6.17-rc5 : Lots of warning in MODPOST stage

I am getting lots of warnings in MODPOST stage, not sure if this is known:

WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'cleanup_module' (at offset 0x1e82) and
'ip2_loadmain'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'cleanup_module' (at offset 0x1ea8) and
'ip2_loadmain'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'ip2_loadmain' (at offset 0x2109) and
'set_irq'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'ip2_loadmain' (at offset 0x21e7) and
'set_irq'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'ip2_loadmain' (at offset 0x22a6) and
'set_irq'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'ip2_loadmain' (at offset 0x253d) and
'set_irq'
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
.init.text: from .text between 'ip2_loadmain' (at offset 0x25c1) and
'set_irq'
WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
to .init.text: from .text after 'scx200_add_cs553x' (at offset 0x528)
WARNING: drivers/net/3c501.o - Section mismatch: reference to
.init.text:el1_probe from .text between 'init_module' (at offset 0x71d)
and 'cleanup_module'
WARNING: drivers/net/3c503.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x5f5) and
'cleanup_card'
WARNING: drivers/net/3c505.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x1f8f) and
'cleanup_module'
WARNING: drivers/net/3c507.o - Section mismatch: reference to
.init.text:el16_probe from .text between 'init_module' (at offset 0x9f5)
and 'cleanup_module'
WARNING: drivers/net/82596.o - Section mismatch: reference to
.init.text:i82596_probe from .text between 'init_module' (at offset
0x2040) and 'cleanup_module'
WARNING: drivers/net/ac3200.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x164) and
'cleanup_card'
WARNING: drivers/net/at1700.o - Section mismatch: reference to
.init.text:at1700_probe from .text between 'init_module' (at offset
0x7f5) and 'cleanup_module'
WARNING: drivers/net/cs89x0.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x1806) and
'cleanup_module'
WARNING: drivers/net/e2100.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x21d) and
'cleanup_card'
WARNING: drivers/net/eepro.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x12c4) and
'cleanup_module'
WARNING: drivers/net/eexpress.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x15eb) and
'cleanup_module'
WARNING: drivers/net/eth16i.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0xed9) and
'cleanup_module'
WARNING: drivers/net/hp-plus.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x34b) and
'cleanup_card'
WARNING: drivers/net/hp.o - Section mismatch: reference to .init.data:
from .text between 'hp_init_card' (at offset 0x2be) and 'init_module'
WARNING: drivers/net/hp.o - Section mismatch: reference to .init.text:
from .text between 'init_module' (at offset 0x315) and 'cleanup_card'
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x170)
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x188)
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x1a0)
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x1b8)
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x1d0)
WARNING: drivers/net/irda/smsc-ircc2.o - Section mismatch: reference to
.init.text: from .data after 'subsystem_configurations' (at offset 0x1e8)
WARNING: drivers/net/lance.o - Section mismatch: reference to
.init.text:do_lance_probe from .text between 'init_module' (at offset
0x53) and 'cleanup_card'
WARNING: drivers/net/ne.o - Section mismatch: reference to .init.text:
from .text between 'init_module' (at offset 0x37a) and 'cleanup_card'
WARNING: drivers/net/ni5010.o - Section mismatch: reference to
.init.text:ni5010_probe from .text between 'init_module' (at offset
0x545) and 'cleanup_module'
WARNING: drivers/net/ni52.o - Section mismatch: reference to
.init.text:ni52_probe from .text between 'init_module' (at offset
0x1696) and 'cleanup_module'
WARNING: drivers/net/ni65.o - Section mismatch: reference to
.init.text:ni65_probe from .text between 'init_module' (at offset
0x1021) and 'cleanup_module'
WARNING: drivers/net/pcnet32.o - Section mismatch: reference to
.init.data: from .text between 'pcnet32_probe_vlbus' (at offset 0xc5f)
and 'pcnet32_probe_pci'
WARNING: drivers/net/pcnet32.o - Section mismatch: reference to
.init.data: from .text between 'pcnet32_probe_vlbus' (at offset 0xc66)
and 'pcnet32_probe_pci'
WARNING: drivers/net/seeq8005.o - Section mismatch: reference to
.init.text:seeq8005_probe from .text between 'init_module' (at offset
0x75d) and 'cleanup_module'
WARNING: drivers/net/sis900.o - Section mismatch: reference to
.init.text:sis900_mii_probe from .text between 'sis900_probe' (at offset
0x490) and 'sis900_default_phy'
WARNING: drivers/net/smc-ultra.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x32c) and
'cleanup_card'
WARNING: drivers/net/smc9194.o - Section mismatch: reference to
.init.text:smc_init from .text between 'init_module' (at offset 0x95e)
and 'cleanup_module'
WARNING: drivers/net/smc9194.o - Section mismatch: reference to
.init.data: from .data between 'smcdev.1' (at offset 0x44) and
'__param_str_io'
WARNING: drivers/net/wd.o - Section mismatch: reference to .init.text:
from .text between 'init_module' (at offset 0x266) and 'cleanup_card'
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.init.text:arlan_probe from .text between 'init_module' (at offset
0x3526) and 'cleanup_module'
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.init.text:init_arlan_proc from .text between 'init_module' (at offset
0x3539) and 'cleanup_module'
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.exit.text:cleanup_arlan_proc from .text between 'cleanup_module' (at
offset 0x356c) and 'arlan_diagnostic_info_string'
WARNING: drivers/net/wireless/wavelan.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x371e) and
'cleanup_module'
WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch:
reference to .init.text: from .text between 'megaraid_probe_one' (at
offset 0x161) and 'megaraid_detach_one'
WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
.init.data: from .text between 'qla1280_get_token' (at offset 0x2a16)
and 'qla1280_probe_one'
WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
.init.data: from .text between 'qla1280_get_token' (at offset 0x2a3c)
and 'qla1280_probe_one'
WARNING: drivers/scsi/wd7000.o - Section mismatch: reference to
.init.text: from .text between 'wd7000_detect' (at offset 0xa81) and
'wd7000_release'

.config attached.

Regards,
ismail


Attachments:
config-2.6.17-rc5 (53.54 kB)

2006-05-25 16:40:15

by Randy Dunlap

[permalink] [raw]
Subject: Re: 2.6.17-rc5 : Lots of warning in MODPOST stage

On Thu, 25 May 2006 11:19:05 +0300 İsmail Dönmez wrote:

> I am getting lots of warnings in MODPOST stage, not sure if this is known:
>
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'cleanup_module' (at offset 0x1e82) and
> 'ip2_loadmain'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'cleanup_module' (at offset 0x1ea8) and
> 'ip2_loadmain'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'ip2_loadmain' (at offset 0x2109) and
> 'set_irq'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'ip2_loadmain' (at offset 0x21e7) and
> 'set_irq'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'ip2_loadmain' (at offset 0x22a6) and
> 'set_irq'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'ip2_loadmain' (at offset 0x253d) and
> 'set_irq'
> WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to
> .init.text: from .text between 'ip2_loadmain' (at offset 0x25c1) and
> 'set_irq'

Hm, I don't see all of those. However, Andrew has a patch for
(some of these) in -mm. It fixes all of the warnings that I get.

[snip]

> WARNING: drivers/scsi/megaraid/megaraid_mbox.o - Section mismatch:
> reference to .init.text: from .text between 'megaraid_probe_one' (at
> offset 0x161) and 'megaraid_detach_one'
> WARNING: drivers/scsi/wd7000.o - Section mismatch: reference to
> .init.text: from .text between 'wd7000_detect' (at offset 0xa81) and
> 'wd7000_release'

Patches for these 2 will follow shortly (to linux-scsi m-l).

> WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
> .init.data: from .text between 'qla1280_get_token' (at offset 0x2a16)
> and 'qla1280_probe_one'
> WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
> .init.data: from .text between 'qla1280_get_token' (at offset 0x2a3c)
> and 'qla1280_probe_one'

Weird, I don't get this one either, and I used your .config file.
However, I'll put some eyes on it.

---
~Randy

2006-05-25 16:42:46

by Ismail Dönmez

[permalink] [raw]
Subject: Re: 2.6.17-rc5 : Lots of warning in MODPOST stage

Randy.Dunlap wrote On 25-05-2006 19:42:
[...]
>> WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
>> .init.data: from .text between 'qla1280_get_token' (at offset 0x2a16)
>> and 'qla1280_probe_one'
>> WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to
>> .init.data: from .text between 'qla1280_get_token' (at offset 0x2a3c)
>> and 'qla1280_probe_one'
>
> Weird, I don't get this one either, and I used your .config file.
> However, I'll put some eyes on it.

Thanks for the reply Randy, for what its worth I used gcc 3.4.6 if that
matters.

Regards,
ismail