Koozali.org: home of the SME Server

SMP Kernel not by default

Anonymous

SMP Kernel not by default
« on: July 04, 2004, 07:32:11 PM »
Hello,

I encountered the following problem. I have a multi-processor machine installed with SME Server 6.0.1, however everytime it boots up it chooses to load the UP kernel by default.

I figured out that you can alter the SME Server configuration to load another kernel with the following command:
/sbin/e-smith/db configuration setprop lilo DefaultKernel SMEServer-smp

But first I checked which value was already configured for this parameter by doing:
/sbin/e-smith/db configuration show|grep "DefaultKernel"

And it showed:
DefaultKernel=SMEServer-smp

However the lilo.conf shows this:
default=SMEServer-up

Looks like the SME Configuration parameters are not in sync with the configuration file. Is there a way to re-generate lilo.conf?

Thanks,
Peter

Offline ldkeen

  • *
  • 403
  • +0/-0
changing default boot kernel
« Reply #1 on: July 04, 2004, 08:18:02 PM »
After you have edited lilo.conf and changed it from SMSserver-up to SMEserver-smp simply run /sbin/lilo and it will rewrite the new configuration (you will notice the asterix next to the smp kernel after doing this). You cab reboot now to test.
Lloyd

Anonymous

SMP Kernel not by default
« Reply #2 on: July 05, 2004, 10:44:07 PM »
So far so good, but the asterisk still marks the UP kernel as being the default kernel to boot.

regards,
Peter

--
Added SMEServer-smp
Added SMEServer-up *
--

Anonymous

SMP Kernel not by default
« Reply #3 on: July 06, 2004, 12:01:05 AM »
after editting the configuration file you must tell the server to rebuild the config file in /etc/lilo.conf

/sbin/e-smith/expend-template /etc/lilo.conf

second, run lilo.

should do the trick.

Offline ldkeen

  • *
  • 403
  • +0/-0
booting smp automatically
« Reply #4 on: July 06, 2004, 04:17:16 AM »
Peter,
You have to edit /etc/lilo.conf PRIOR to running /sbin/lilo and change the line:
default=SMEserver-up
to be
default=SMSserver-smp (or whatever you're labels read in lilo.conf)
then when you run /sbin/lilo you will notice an asterisk against the smp kernel.
Lloyd