Re: SMP module compilation on UP?
Mark Mokryn wrote: > > Hi, > > Is it possible to build an SMP module on a machine running a UP kernel > (or vice versa)? We of course get unresolved symbols during module load > due to the smp prefix on the ksyms, and haven't seen how to get around > it. (Defining __SMP__ does not cut it, though I believe this used to > work a while ago). > Why not just run an SMP kernel on UP machine? Yes, there may be minor performance penalty but that may be irrelevant for you if it lets you build and load SMP modules on that machine. With a UP kernel running, you will be able to build SMP modules but not load them. -- Khalid Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]Fort Collins, CO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: SMP module compilation on UP?
Rafael Herrera wrote: > > Mark Mokryn wrote: > > Is it possible to build an SMP module on a machine running a UP kernel > > (or vice versa)? We of course get unresolved symbols during module load > > due to the smp prefix on the ksyms, and haven't seen how to get around > > it. (Defining __SMP__ does not cut it, though I believe this used to > > work a while ago). > > Yes. It does not matter what kernel you are running. What's important is > that you configure your sources. Configure your kernel for SMP and do a > 'make dep', then compile your module. > -- > Rafael Is this the only way - to keep two separately configured kernel source trees? No way to do it via some flag? thanks, -mark - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: SMP module compilation on UP?
Mark Mokryn wrote: > Is it possible to build an SMP module on a machine running a UP kernel > (or vice versa)? We of course get unresolved symbols during module load > due to the smp prefix on the ksyms, and haven't seen how to get around > it. (Defining __SMP__ does not cut it, though I believe this used to > work a while ago). Yes. It does not matter what kernel you are running. What's important is that you configure your sources. Configure your kernel for SMP and do a 'make dep', then compile your module. -- Rafael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
SMP module compilation on UP?
Hi, Is it possible to build an SMP module on a machine running a UP kernel (or vice versa)? We of course get unresolved symbols during module load due to the smp prefix on the ksyms, and haven't seen how to get around it. (Defining __SMP__ does not cut it, though I believe this used to work a while ago). Please reply to me as well as to the list. Thanks, -mark - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
SMP module compilation on UP?
Hi, Is it possible to build an SMP module on a machine running a UP kernel (or vice versa)? We of course get unresolved symbols during module load due to the smp prefix on the ksyms, and haven't seen how to get around it. (Defining __SMP__ does not cut it, though I believe this used to work a while ago). Please reply to me as well as to the list. Thanks, -mark - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: SMP module compilation on UP?
Mark Mokryn wrote: Is it possible to build an SMP module on a machine running a UP kernel (or vice versa)? We of course get unresolved symbols during module load due to the smp prefix on the ksyms, and haven't seen how to get around it. (Defining __SMP__ does not cut it, though I believe this used to work a while ago). Yes. It does not matter what kernel you are running. What's important is that you configure your sources. Configure your kernel for SMP and do a 'make dep', then compile your module. -- Rafael - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: SMP module compilation on UP?
Rafael Herrera wrote: Mark Mokryn wrote: Is it possible to build an SMP module on a machine running a UP kernel (or vice versa)? We of course get unresolved symbols during module load due to the smp prefix on the ksyms, and haven't seen how to get around it. (Defining __SMP__ does not cut it, though I believe this used to work a while ago). Yes. It does not matter what kernel you are running. What's important is that you configure your sources. Configure your kernel for SMP and do a 'make dep', then compile your module. -- Rafael Is this the only way - to keep two separately configured kernel source trees? No way to do it via some flag? thanks, -mark - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: SMP module compilation on UP?
Mark Mokryn wrote: Hi, Is it possible to build an SMP module on a machine running a UP kernel (or vice versa)? We of course get unresolved symbols during module load due to the smp prefix on the ksyms, and haven't seen how to get around it. (Defining __SMP__ does not cut it, though I believe this used to work a while ago). Why not just run an SMP kernel on UP machine? Yes, there may be minor performance penalty but that may be irrelevant for you if it lets you build and load SMP modules on that machine. With a UP kernel running, you will be able to build SMP modules but not load them. -- Khalid Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]Fort Collins, CO - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/