2006-09-06 21:05:23

by Keith Mannthey

[permalink] [raw]
Subject: 2.6.18-rc5-mm1 module build symbol issues -- mkinitrd

Hello,
Some things have changed between rc5-mm1 and rc4-mm3. During my build
process I pickup the following errors when making the initrd. I don't
see any errors during modules_install.


WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
smp/kernel/drivers/acpi/processor.ko needs unknown symbol
register_latency_notifier
WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
smp/kernel/drivers/acpi/processor.ko needs unknown symbol
system_latency_constraint
WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
smp/kernel/drivers/acpi/processor.ko needs unknown symbol
unregister_latency_notifier
WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
smp/kernel/drivers/scsi/scsi_mod.ko needs unknown symbol blk_free_tags


My config build all of SCSI as modules and loads them into an initrd.
As I build things into the kernel the errors go away but if I build say
scsi support into the kernel all the symbols from host.c start not
linking (lots and lots of unknown symbols)

Maybe these are just warning from my mkinird scrips (SLES based) but I
wasn't seeing these until rc5-mm1. The symbols in question seem to be
exported correctly so I am not sure what the deal is.

Has some linker / module script been changed or is my mkinitrd script
off in la-la land?

Thanks,
Keith


2006-09-07 00:22:51

by Keith Mannthey

[permalink] [raw]
Subject: Re: 2.6.18-rc5-mm1 module build symbol issues -- mkinitrd

On Wed, 2006-09-06 at 14:05 -0700, keith mannthey wrote:
> Hello,
> Some things have changed between rc5-mm1 and rc4-mm3. During my build
> process I pickup the following errors when making the initrd. I don't
> see any errors during modules_install.
>
>
> WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
> smp/kernel/drivers/acpi/processor.ko needs unknown symbol
> register_latency_notifier
> WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
> smp/kernel/drivers/acpi/processor.ko needs unknown symbol
> system_latency_constraint
> WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
> smp/kernel/drivers/acpi/processor.ko needs unknown symbol
> unregister_latency_notifier
> WARNING: /var/tmp/mkinitramfs.N19592/mnt/lib/modules/2.6.18-rc5-mm1-
> smp/kernel/drivers/scsi/scsi_mod.ko needs unknown symbol blk_free_tags
>
>
> My config build all of SCSI as modules and loads them into an initrd.
> As I build things into the kernel the errors go away but if I build say
> scsi support into the kernel all the symbols from host.c start not
> linking (lots and lots of unknown symbols)
>
> Maybe these are just warning from my mkinird scrips (SLES based) but I
> wasn't seeing these until rc5-mm1. The symbols in question seem to be
> exported correctly so I am not sure what the deal is.
>
> Has some linker / module script been changed or is my mkinitrd script
> off in la-la land?

Well I see this issue with rc5 and rc6 as well so it is some mainline
change. I booted an rc6 kernel with the error messages and it worked
booted so it mush be a safe to ignore warning at this point. It just
seems weird that the behavior changed between rc4 and tc5.

Thanks,
Keith