Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xenkernel42-4.2.4 DOM0 Real Power Off doesnt work
On Tue, Apr 15, 2014 at 03:33:53PM -0400, Konrad Rzeszutek Wilk wrote:
> On Tue, Apr 15, 2014 at 09:22:21PM +0200, Manuel Bouyer wrote:
> > On Tue, Apr 15, 2014 at 08:46:07PM +0200, bobbisanchez%gmx.de@localhost
> > wrote:
> > > Hi,
> > >
> > > i am using NetBSD 6.1.3 , or current, on amd64 with xenkernel42-4.2.4 from
> > > the pkgsrc port.
> > > The problem is that no DOM0 machine is going to real power off have to
> > > press the Power Button and hold for 4sec, to turn the Machine off. I am
> > > also
> > > using the XEN3_DOM0 Kernel config provided from the NetBSD sources to
> > > build
> > > the Kernel.
> > >
> > > root: poweroff
> > > Apr 15 20:03:25 cfnetbsd poweroff: powered off by root
> > > Apr 15 20:03:25 cfnetbsd syslogd[441]: Exiting on signal 15
> > > syncing disks... done
> > > wd0: detached
> > > igphy0: detached
> > > wm0: detached
> > > atabus3: detached
> > > atabus2: detached
> > > atabus1: detached
> > > atabus0: detached
> > > sd0: detached
> > > scsibus0: detached
> > > (XEN) Domain 0 halted: halting machine.
> > >
> > >
> > >
> > > then the Machine still do nothing
> > >
> > >
> > > thanks for helping
> >
> > Yes this is a known issue with Xen. I think the poweroff should be done
> > by the hypervisor and not the dom0; but the last time I looked there
> > was no way to request a poweroff (i.e. it's not supported by the
> > hypervisor).
>
> I think it works. Here is what I see:
>
> Sent SIGTERM to all processes
> Apr 15 19:32:55 nic54 exiting on signal 15
> Sent SIGKILL to all processes
> Requesting system poweroff
> [ 67.209363] sd 8:0:0:0: [sdc] Synchronizing SCSI cache
> [ 67.209616] sd 6:0:0:0: [sdb] Synchronizing SCSI cache
> [ 67.2^G[ 67.340300] sd 0:0:0:0: [sda] Synchronizing SCSI cache
> [ 67.340581] sd 0:0:0:0: [sda] Stopping disk
> [ 68.160004] switch: port 1(eth0) entered disabled state
> [ 68.400084] igb 0000:04:00.0: System wakeup enabled by ACPI
> [ 68.785602] igb 0000:01:00.0: System wakeup enabled by ACPI
> [ 68.836330] ACPI: Preparing to enter system sleep state S5
> [ 69.241032] reboot: Power down
> [ 69.241043] acpi_power_off called
> (XEN) Preparing system for ACPI S5 state.
> (XEN) Disabling non-boot CPUs ...
> (XEN) Entering ACPI S5 state.
OK, so we need to find how to ask XEN to go to ACPI S5.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index