Koozali.org: home of the SME Server

shutdown command didn't real poweroff the dual cpu pc

steveor

shutdown command didn't real poweroff the dual cpu pc
« on: July 06, 2005, 08:23:54 PM »
hello everyone,

I have a problem about shutdown command which didn't real power off the system. it just power down the hard disk and just it just say poweroff in the screen.

my system has dual cpu PIII 450. 512M RAM. I can't real power off the system when I selected 'SMP' mode in SME 6.0.1.

Thanks for your great help.
Steve

cc_skavenger

shutdown command didn't real poweroff the dual cpu pc
« Reply #1 on: July 06, 2005, 08:58:16 PM »
This is a common complaint in linux in general.  There seems to be a conflict with apm and smp kernels.  I do not know of any fix.  There might be something in the 2.6 kernel in SME 7, but I believe that it has the same problem.

Offline jackl

  • ****
  • 136
  • +0/-0
shutdown command didn't real poweroff the dual cpu pc
« Reply #2 on: July 07, 2005, 09:49:40 AM »
Steve,
      If you switch off acpi or apm settings in the bios of the machine it may solve this problem.

Regards
Jack
......

steveor

shutdown command didn't real poweroff the dual cpu pc
« Reply #3 on: July 07, 2005, 07:58:47 PM »
Jack,

I have tried everthing including switch BIOS APIC, MPS, APM. But the result is same. really don't know how ? In fact, it can shutdown normally if I select single CPU to run the server.

Did anyone have the same result when you use dual CPU in 6.0.1 ? Recently, our company is going to re-new the servers. I have setup 2 single P4 CPU servers, everything seems very well. I also fixed the problem of gigabit network (D-link DEG-530T).  

I really don't want to re-install the servers and upgrade to 7.0 at this moment. 2 more servers I need to setup and they are all old motherboard PIII dual CPU. So, this problem will stop me.

Any developer can help or direct me how to fix this problem.

Thanks a lot.
Steve

steveor

shutdown command didn't real poweroff the dual cpu pc
« Reply #4 on: July 07, 2005, 09:23:36 PM »
Hi everyone,

I finally fixed the problem by using the lilo append function to force kernel to act the power off.

I find out the problem of APIC of dual cpu in my compaq server. you must append the following line if you have the same problem : /etc/lilo.conf

image=/boot/vmlinuz-2.4.20-18.7smp
append="apic=off apm=power-off"  <---- add this line

I think apic is something to control 2 cpus. and apm=power-off, it just force the kernel to power off the pc.

Thanks.
Steve