SMP kernel build question

Tony E. Bennett tbennett en nvidia.com
Vie Ene 28 23:50:30 CST 2000


Whenever I build a kernel (2.2.12) with SMP and MODVERSIONS, the built
kernel has versioned symbols, but they don't include 'smp'.  So booting
it fails horribly since all the /lib/modules are looking for 'smp'

This seems to be because linux/module.h includes modversion.h instead of
modversions-smp.h

Is something in the build process supposed to link linux/include/modversions.h
to the smp version?

My only solution is to patch module.h to say

    # ifdef __SMP__
    #   include <linux/modversions-smp.h>
    # else
    #   include <linux/modversions.h>
    # endif

--tony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda