Skip to contentSkip to conversation

2.6.18-rc5-mm1 module build symbol issues -- mkinitrd

DISCUSSION keith mannthey 1 participant 2 messages Sep 6, 2006 – Sep 7, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 24 lines · keith mannthey

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)

Quoted 6 lines

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