WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] no Power-off after shutdown

Hello,

thanks for your answers.

> One solution I can come up with, though not the greatest, would be to
> reboot the box, switching from the xen0 kernel to your standard SuSE
> kernel (possibly use a different run level for xen0 ?4?) that loads
> acpid, reconnect to the box and shut it down.
>
> B.

This is one solution I don't really like. The box should shutdown itself
without user interaction. And to boot another kernel I need to change the
grub config file each time. In the end there will be no keyboard or
monitor for that box.

> Sorry to disappoint you but XEN is standing between the hardware and
> SuSE.  You will find that the hooks ACPI requires in order to shut the
> machine down are not there - acpid will complain about this (or at least
> should) and not start up (or die).
>
> B.

Yes, the powersave manager (handles APM or ACPI) reported an error on
loading the ACPI modules. So were is no ACPI inside of dom0. I will test
if I can shutdown (and power off) the box with standard SuSE kernel and
noacpi kernel option.

At the moment the box is rebooted if dom0 reboots. Why not power off the
box if shutdown is executed in dom0? Or use a config option for Xen which
says what to do after a reboot/shutdown of dom0?

best regards

Matthias


> On Thu, 2005-02-10 at 07:54, Matthias Pfafferodt wrote:
>> > On Wednesday 09 February 2005 02:55 am, Matthias Pfafferodt wrote:
>> >> Hello,
>> >>
>> >> I'm using SuSE 9.2 and the Xen RPMs provided by Kurt Garloff
>> >> (http://www.suse.de/~garloff/linux/xen). Xen is running fine.
>> >>
>> >> My probleme is that I need to shutdown and power off the computer
>> >> without
>> >> access to the main power switch. I'm working on it using ssh. After
>> >> closing all domains but domain 0 I execute 'shutdown -h now' in
>> domain
>> >> 0.
>> >> The (software) system goes down and the hard disks are stoped but the
>> >> main
>> >> power stays online.
>> >
>> > You are probably lacking ACPI support in your kernel.  What does you
>> dmesg
>> > output say?
>>
>> At the moment I have no access to the computer but I will send the xen
>> dmesg and the dom0 dmesg output as soon as possible.
>>
>> ACPI should be supported by the kernel (at last in the SuSE kernel)
>>
>> Regards
>>
>> Matthias
>>
>> >
>> >> Rebooting the system is working and using the default SuSE kernels or
>> >> vanilla kernels the main power is switched off after a shutdown.
>> >>
>> >> I tested this using the XenCD on two different computers - rebooting
>> is
>> >> working but no power off after a shutdown.
>> >>
>> >> Thanks for your help
>> >>
>> >> Matthias
>> >>
>> >>
>> >> -------------------------------------------------------
>> >> SF email is sponsored by - The IT Product Guide
>> >> Read honest & candid reviews on hundreds of IT Products from real
>> users.
>> >> Discover which products truly live up to the hype. Start reading now.
>> >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> >> _______________________________________________
>> >> Xen-devel mailing list
>> >> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
>> >> https://lists.sourceforge.net/lists/listinfo/xen-devel
>> >>
>> >>
>> >
>> > --
>> > Jon Mason
>> > jdmason@xxxxxxxxxx
>> >
>> >
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
>> https://lists.sourceforge.net/lists/listinfo/xen-devel
>>
>
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel