[plug] Problems building drbd for an SMP 2.2.16 kernel

Matt Kemner zombie at wasp.net.au
Wed Jul 5 20:44:22 WST 2000


On Tue, 4 Jul 2000, Richard Sharpe wrote:

> Well, I am running a RH kernel, the latest 2.2.16-3SMP RPM. But, I do not
> have the kernel source on the machine.  However, I do have the kernel
> headers so that drbd will build :-)

> So, I am mystified at the moment, as I can't see which include it is
> getting the version info from.

Checking the lmsensors source (which differentiates between SMP
and non-SMP kernels automatically) it seems it gets the info from
/usr/src/linux/include/linux/autoconf.h

Try replacing 

#undef  CONFIG_SMP
with
#define CONFIG_SMP 1

 - Matt




More information about the plug mailing list