Hello, I have a small problem with the current unstable Xen 3.0 kernel. (linux 2.6.16) Everything works pretty fine, except that I cannot halt down the computer. When typing "halt -p", everything is unmounting, but the last word of the kernel is "Power down" and nothing more happens. I''ve tried to modify settings within APCI, and nothing has changed. I''ve also tried the unstable kernels on different computer (AMD64 - x86/64 and Pentium 4 - x86) and I''ve got the same problem. Any ideas ? Greetings, -- Ugo PARSI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
"grep noreboot /boot/grub/menu.lst" ? Ugo PARSI wrote:> Hello, > > I have a small problem with the current unstable Xen 3.0 kernel. (linux 2.6.16) > > Everything works pretty fine, except that I cannot halt down the computer. > > When typing "halt -p", everything is unmounting, but the last word of > the kernel is "Power down" and nothing more happens. > > I''ve tried to modify settings within APCI, and nothing has changed. > > I''ve also tried the unstable kernels on different computer (AMD64 - > x86/64 and Pentium 4 - x86) and I''ve got the same problem. > > Any ideas ? > > Greetings, > > -- > Ugo PARSI > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Yuri Pismerov, System Administrator Armor Technologies (Canada) Inc. P: 905 305 1946 (x.3519) http://www.armorware.net Privacy Protection Guaranteed! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Ugo PARSI <ugo.parsi@gmail.com>:> I have a small problem with the current unstable Xen 3.0 kernel. > (linux 2.6.16) > > Everything works pretty fine, except that I cannot halt down the computer. > > When typing "halt -p", everything is unmounting, but the last word of > the kernel is "Power down" and nothing more happens. >Same here. It''s actually worse than this; the power button simply doesn''t work so I have to hit the reset button when the kernel says "Power down" and turn of the computer when it''s showing the bios screen. Powerdown from a pristine 2.6.16 kernel works fine btw. Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/3/06, Yura Pismerov <y.pismerov@armorware.net> wrote:> > "grep noreboot /boot/grub/menu.lst" ? >Nope, nothing and nothing changes with that option on the kernel command line. It''s an option to keep the keep the kernel from rebooting, right ? Ugo PARSI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Same here. It''s actually worse than this; the power button simply > doesn''t work so I have to hit the reset button when the kernel > says "Power down" and turn of the computer when it''s showing the > bios screen. >It depends on the computer for me. On the x86/64 I need to turn off the computer with the power cord, on the x86 pentium 4, I just need to press the button for 4 seconds....> Powerdown from a pristine 2.6.16 kernel works fine btw. >The same in here too. Should I post this bug in the devel list ? Greetings, Ugo PARSI _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> When typing "halt -p", everything is unmounting, but the last word of >> the kernel is "Power down" and nothing more happens. >> >Same here. It''s actually worse than this; the power button simply >doesn''t work so I have to hit the reset button when the kernel >says "Power down" and turn of the computer when it''s showing the >bios screen. > >Powerdown from a pristine 2.6.16 kernel works fine btw.Does it work if you hold down the power button? I''d expect that holding it for a few seconds would poweroff the machine. The problem is that Xen doesn''t support powering of the system, so if dom0 tells it to "halt" it''d do just that - halt the system. But it can''t then power it off, so it just sits there :-( Power management stuff will probably be looked at at some stage, but it''s not been a priority so far. The old behaviour was to reboot if dom0 halted, but that annoyed people even more ;-) If anyone''s interested, I think there have been some design discussions on how to make this stuff work properly... A knowledge of some subset of APM / APCI / the linux implementations thereof would probably be useful ;-) Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Ugo PARSI <ugo.parsi@gmail.com>:> On 4/3/06, Yura Pismerov <y.pismerov@armorware.net> wrote: >> >> "grep noreboot /boot/grub/menu.lst" ? >> > > Nope, nothing and nothing changes with that option on the kernel > command line. > > It''s an option to keep the keep the kernel from rebooting, right ? >According to the manual: "Don''t reboot the machine automatically on errors. This is useful to catch debug output if you aren''t catching console messages via the serial line." But it has the side effect of not letting you reboot _at_all_ (i.e. `init 6` will not cause a reboot). An omission in the manual IMO. Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting "M.A. Williamson" <maw48@cam.ac.uk>:>> Same here. It''s actually worse than this; the power button simply >> doesn''t work so I have to hit the reset button when the kernel >> says "Power down" and turn of the computer when it''s showing the >> bios screen. >> >> Powerdown from a pristine 2.6.16 kernel works fine btw. > > Does it work if you hold down the power button? I''d expect that > holding it for a few seconds would poweroff the machine. >This, indeed, does work. Thanks!> Power management stuff will probably be looked at at some stage, but > it''s not been a priority so far.So there''s no benefit in compiling (and using) the ACPI modules for your dom0 kernel? Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Does it work if you hold down the power button? I''d expect that > > holding it for a few seconds would poweroff the machine. > > This, indeed, does work. Thanks!The button usually gets handled by the OS on ACPI-aware systems. So pushing it is probably sending an "power button got pushed" event that Xen doesn''t (yet) know how to handle. Holding the button on these systems generally overrides this and directly powers down the system. You can see this under Windows / Linux: push your power button once for a clean shutdown. But if the system crashes it won''t work because the kernel is unable to handle the button event. Holding the power button in this case will also force a poweroff because "push and hold" is handled by the motherboard circuitry directly.> > Power management stuff will probably be looked at at some stage, but > > it''s not been a priority so far. > > So there''s no benefit in compiling (and using) the ACPI modules > for your dom0 kernel?Uhhh, I''m not an expert on Xen''s ACPI support. ACPI tables do get parsed by dom0, and it does use them for various things (setting up the PCI devices, etc). It may even support things like weirdo laptop "special buttons", lid close events, etc. But poweroff is a function that may need to be handled (at least partially) by Xen, so it''s not built in yet. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Mon, 2006-04-03 at 12:50 +0100, M.A. Williamson wrote:> Power management stuff will probably be looked at at some stage, but it''s > not been a priority so far. The old behaviour was to reboot if dom0 halted, > but that annoyed people even more ;-) > > If anyone''s interested, I think there have been some design discussions on > how to make this stuff work properly... A knowledge of some subset of APM / > APCI / the linux implementations thereof would probably be useful ;-)Is there any reason not simply to rely on the dom0''s ACPI/pm code for this? The dom0 is already driving the bulk of the hardware in the box either directly or with a bit of minimal indirection through the hypervisor. Having reboot in the HV is massively useful for cases where the dom0 has crashed and we want to get the box back up, but in most cases, shutdown is an event that happens when the dom0 is functioning properly. --Stephen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users