Any hope of fixing shutdown power off for SMP?

Bill Davidsen (davidsen@tmr.com)
Sat, 19 Oct 2002 15:40:22 -0400 (EDT)


I've beaten this dead horse before, but it still irks me that Linux can't
power down an SMP system. People claim that it can't be done safely, but
maybe somone can reverse engineer NT if we aren't up to the job.

Every once in a while a power fail will leave the systems on UPS, and at
some point it's needed to shut them down before the UPS is dead. You don't
want that, since if the power comes up and then drops during boot it may
hose filesystems. So I want the system really down while the UPS has a
fair bit of power left.

The only suggestion I got was to install NT, put a powerdown in the
startup directory, use lilo -R to reboot in NT, then do a reboot.
Wonderful. What I'm actually doing is rebooting a UP kernel and checking
in rc.local for only one processor, in which case I power down. That
works, but it's ugly!

Is it really that hard to shutdown all CPUs but one, then power down?

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/