[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369517: linux-image-2.6.16-1-alpha-smp: undefined scsi symbols; fails to allocate percpu data



Hi,

FWIW, I managed to compile an SMP kernel (using gcc-4.0 since gcc-4.1 won't
compile it). 
I decided to compile scsi disk (and driver etc) support in statically
and found out that some symbols called 'exit' are not found when linking
vmlinux together.

Based on some googling I commented out the module_exit() and the __exit
functions in drivers/scsi/sd.c and that allowed me to link the kernel
together (I figured we won't need it anyway since sd will be statically
compiled in). It boots and works fine now, and both CPUs are happy:)

I believe you know more about how the kernel is linked than I do and I
hope the above may give a clue on what's wrong with the alpha/smp
kernel.

thanks for your help,

Andras



Reply to: