[Adding virtualizat...@freebsd.org]

On Sat, Sep 27, 2014 at 12:12 AM, Denis Menshikov <da...@inbox.ru> wrote:
> Good day,
>
> Here is more information about host and guest system:
>
> host:
>
> FreeBSD vmserver 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16
> 22:34:59 UTC 2014     r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> amd64
>

Ok, that explains it. ACPI poweroff support in bhyve is not present in
10.0 RELEASE. It will be present in the upcoming 10.1 RELEASE though.

If you don't want to wait until 10.1 is released you can upgrade your
host to 10-stable or -current.

> guest:
>
> creating...
>
> sudo bhyveload -m 256 -d FreeBSD-10.0-RELEASE-amd64-disc1.iso testvm
> sudo bhyve -c 2 -s 0,amd_hostbridge -s 1,lpc -s 1:1,ahci-hd,test_hdd -s
> 2,ahci-cd,FreeBSD-10.0-RELEASE-amd64-disc1.iso -l com1,/dev/nmdm1A -a -A -H
> -P -m 256 -I testvm
> sudo bhyvectl --vm=testvm --destroy
> sudo bhyveload -m 256 -d test_hdd testvm
> sudo bhyve -c 2 -s 0,amd_hostbridge -s 1,lpc -s 1:1,ahci-hd,test_hdd -s -l
> com1,/dev/nmdm1A -a -A -H -P -m 256 -I testvm
>
> uname -a
>
> FreeBSD test 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16
> 22:34:59 UTC 2014     r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> shutdown like:
>
> shutdown -p now
>
> and then:
>
> root@test:~ # shutdown -p now
> Shutdown NOW!
> shutdown: [pid 615]
> root@test:~ #
> *** FINAL System shutdown message from root@test ***
>
> System going down IMMEDIATELY
>
>
>
> System shutdown time has arrived
> Sep 27 10:57:39 test shutdown: power-down by root:
> Stopping cron.
> Waiting for PIDS: 559.
> Stopping sshd.
> Waiting for PIDS: 524.
> Stopping devd.
> Waiting for PIDS: 301.
> Writing entropy file:.
> .
> Terminated
> Sep 27 10:57:39 test syslogd: exiting on signal 15
> Waiting (max 60 seconds) for system process `vnlru' to stop...done
> Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
> Waiting (max 60 seconds) for system process `syncer' to stop...
> Syncing disks, vnodes remaining...4 3 1 0 0 done
> All buffers synced.
> Uptime: 3m11s
> ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S5_]
> (20130823/hwxface-637)
> acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND
>
> The operating system has halted.
> Please press any key to reboot.
>
> Rebooting...
> cpu_reset: Stopping other CPUs
>
> Best regards, Denis
> P.S. Why the message "cpu_reset: Stopping other CPUs" is displayed on my
> terminal, it correctly?
>

Yes, that is normal.

best
Neel

> Fri, 26 Sep 2014 17:36:18 -0700 от Neel Natu <neeln...@gmail.com>:
>
> Hi Denis,
>
> On Fri, Sep 26, 2014 at 12:25 PM, Denis Menshikov <da...@inbox.ru> wrote:
>> Good day,
>>
>> faced with this problem: when I shutdown the virtual machine (FreeBSD
>> amd64 release-guest) power-off does not occur, a message is displayed:
>>
>> ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S5_]
>> (20130823/hwxface-637)
>> acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND
>>
>> The virtual machine is running with the following command:
>> sudo bhyve -c 2 -s 0,amd_hostbridge -s 1,lpc -s 1:1,ahci-hd,test_hdd -l
>> com1,stdio -a -A -H -P -m 256 -I testvm
>>
>> What am I doing wrong?
>>
>
> Can you give a few more details about your setup so it can be reproduced?
>
> - Output of 'uname -a' on the host (or the release/svn revision number)
> - Output of 'uname -a' on the guest (or the release/svn revision number)
> - How are you shutting down the guest? Are you issuing a "poweroff"
> command from the guest or are you sending a SIGTERM to the bhyve
> process?
>
> best
> Neel
>
>> --
>> С уважением Denis Menshikov
>> _______________________________________________
>> freebsd-virtualization@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>> To unsubscribe, send any mail to
>> "freebsd-virtualization-unsubscr...@freebsd.org"
>
>
>
> --
> С уважением Denis Menshikov
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to