[Beowulf] acpi soft power-off question
    Mattijs Janssens 
    m.janssens at opencfd.co.uk
       
    Thu Nov 10 10:42:08 PST 2005
    
    
  
finally managed to get wake-on-lan to work but I don't know how to apply 
it cleanly.
It powers down leaving power to the onboard ethernet if I do a
echo 5 > /proc/acpi/sleep
so I put that at the end of /etc/init.d/halt (which is the runlevel 0 
script on Suse10) since I wanted all the disks sync etc. and processes 
killed etc.
My /etc/init.d/halt now ends with:
	..
	mount -nt proc proc /proc
	echo 5 > /proc/acpi/sleep
	# Now talk to kernel
	exec $command -d -f
(and never comes to the 'exec' command)
It all works fine - the machine soft powers-down and ether-wake restarts 
it but it is a bit of a hack. So the question is how do I do this cleanly?
Best regards,
Mattijs
-- 
Mattijs Janssens
OpenCFD Ltd.
The Mews, Picketts Lodge,
Picketts Lane, Salfords,
Surrey RH1 5RG.
Tel: +44 (0)1293 821272
Email: M.Janssens at OpenCFD.co.uk
URL: http://www.OpenCFD.co.uk
    
    
More information about the Beowulf
mailing list