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. 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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?> 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel > >-- Jon Mason jdmason@us.ibm.com ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
AFAIK, Xen doesn''t do things like ACPI poweroff (yet). With the new ACPI support model, I imagine this sort of thing will be easier. Cheers, Mark On Wednesday 09 February 2005 08:55, 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. > > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> 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@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xen-devel >> >> > > -- > Jon Mason > jdmason@us.ibm.com > >------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/xen-devel >> >> >> >> >> > >> > -- >> > Jon Mason >> > jdmason@us.ibm.com >> > >> > >> >> >> ------------------------------------------------------- >> 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@lists.sourceforge.net >> 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>> 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. >Here is the output of ''xm dmsg'' and ''dmsg''. Regards Matthias> 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@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/xen-devel >>> >>> >> >> -- >> Jon Mason >> jdmason@us.ibm.com >> >> > > > ------------------------------------------------------- > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel > >
Hi Matthias, John, On Wed, Feb 09, 2005 at 06:15:41PM -0600, Jon Mason wrote:> On Wednesday 09 February 2005 02:55 am, Matthias Pfafferodt wrote: > > 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.I''m glad to hear this!> > 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.Same here.> You are probably lacking ACPI support in your kernel. > What does you dmesg output say?Now you confuse me. Are you telling me that ACPI in dom0 should work? Regards, -- Kurt Garloff <garloff@suse.de> Cologne, DE SUSE LINUX AG / Novell, Nuernberg, DE Director SUSE Labs
[...]> > You are probably lacking ACPI support in your kernel. > > What does you dmesg output say? > > Now you confuse me. > Are you telling me that ACPI in dom0 should work?Well, it should work......but it doesn''t. Just verified that it powers-off on my non-Xen kernel, and doesn''t on my Xen kernel (with ACPI enabled in the kernel). My mistake. If someone out there is making a list of things that don''t work (or needs something to work on), please add ACPI to the list. -- Jon Mason jdmason@us.ibm.com ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi Jon, On Fri, Feb 11, 2005 at 02:19:41PM -0600, Jon Mason wrote:> Kurt wrote: > > Are you telling me that ACPI in dom0 should work? > > Well, it should work......but it doesn''t. Just verified that it powers-off > on my non-Xen kernel, and doesn''t on my Xen kernel (with ACPI enabled in the > kernel). My mistake. > > If someone out there is making a list of things that don''t work (or needs > something to work on), please add ACPI to the list.Xen would need to have the ACPI power-off support to make it work. Currently, ACPI can not work in dom0. Regards, -- Kurt Garloff <garloff@suse.de> Cologne, DE SUSE LINUX Prod GmbH / Novell, Nuernberg, DE Director SUSE Labs