Hi Marco,

the SMP detection is useful only for i386 arch for the moment, so SPARC is not affected at all. Anyhow this will be probably dropped in the next release.

regards,
bogdan

Marco Riegel wrote:
Hi,

we are building openser 1.2.0 on sun4u hardware here. It looks like due to the fact that Makefile.defs scans the output of "uname -v" for a substring "SMP"
it will never detect a multiprocessor SPARC system correctly (uname -v
on Solaris gives the current patchlevel, i.e. Generic_118833-36 for a
current Sol10 system).

I am not sure if setting SMP on a SPARC SMP system is necessary, but to
be on the safe side, I would suggest checking the number of installed
CPUs in the system or to enable SMP by default (all Solaris kernels are SMP).
The number of CPUs can be retrieved by running '/usr/sbin/psrinfo -p'.

However, I would simply enable SMP by default on Solaris systems (regardless
of x86 or SPARC).

Please find my patch attached.

Regards,

Marco
------------------------------------------------------------------------

_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to