acpipowerbutton function - is it just for fun? ;-)
Posted: 1. Jun 2010, 00:06
Hey,
I am observing this since several versions in my virtualbox, basically whatever I do I can not get acpipowerbutton to work (i tested so far only on windows clients with up-2-date guest additions) - it gets simply ignored by guest. I followed any recommendation I could find. my setup atm is as follows:
- newest gentoo x64 with all updates
- kernel 2.6.34 with acpi enabled
- virtualbox 3.20 running in headless mode, all machines run under unprivileged user account(vbox) <--- hmmm, just got an idea, could this be a problem somehow? i have seen a couple of weird issues with vmware and network cards when running as unpriviledged user
btw. use specs above only as loose guideline, i have seen the same problem on x86 version of virtualbox 3.x (running on different cpu) with any earlier kernel I have used (2.6.20+), recently I upgraded just a few days ago, before I was using 2.6.33 with vbox 3.1.6 and same problem. which gives me an idea that I must be simply missing something, because it couldn't be that this feature simply doesnt work, right?
I have 2 guest atm - w2k8sp2x64 and w2k3sp2x86, both of them experiencing the same issue. here is the example of how w2k3 is configured:
Name: W2K3
Guest OS: Windows 2003
UUID: 971002e2-51fc-4e46-84a1-9b3072766d35
Config file: /vol/vbox/.VirtualBox/Machines/W2K3/W2K3.xml
Hardware UUID: 971002e2-51fc-4e46-84a1-9b3072766d35
Memory size: 640MB
Page Fusion: off
VRAM size: 8MB
HPET: off
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
PAE: on
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
W2K8 is very similar for all ACPI/APIC settings. In guests, device manager -> my machine's driver is:
Advanced Configuration and Power Interface (ACPI) PC -> W2K3
ACPI x64-based PC -> W2K8
oh yeah, guest is of course setup to shutdown whenever powerbutton is pressed.
btw. checked the tip with sounds/audio - no effect at all.
As i said at the beginning anytime I try to run VBoxManage controlvm W2K3 acpipowerbutton it simply gets ignored. however a while ago I have noticed that sometimes if I am on the the machines' local console (using builtin vrdp of vbox) and as far as I remember I have to logon for this as well then sometimes I am able to get the guest to shutdown by using acpipowerbutton. this is however a bit too weird and does not always work either, so I thought I would ask here about any experiences...
Any ideas guys?
I am observing this since several versions in my virtualbox, basically whatever I do I can not get acpipowerbutton to work (i tested so far only on windows clients with up-2-date guest additions) - it gets simply ignored by guest. I followed any recommendation I could find. my setup atm is as follows:
- newest gentoo x64 with all updates
- kernel 2.6.34 with acpi enabled
- virtualbox 3.20 running in headless mode, all machines run under unprivileged user account(vbox) <--- hmmm, just got an idea, could this be a problem somehow? i have seen a couple of weird issues with vmware and network cards when running as unpriviledged user
btw. use specs above only as loose guideline, i have seen the same problem on x86 version of virtualbox 3.x (running on different cpu) with any earlier kernel I have used (2.6.20+), recently I upgraded just a few days ago, before I was using 2.6.33 with vbox 3.1.6 and same problem. which gives me an idea that I must be simply missing something, because it couldn't be that this feature simply doesnt work, right?
I have 2 guest atm - w2k8sp2x64 and w2k3sp2x86, both of them experiencing the same issue. here is the example of how w2k3 is configured:
Name: W2K3
Guest OS: Windows 2003
UUID: 971002e2-51fc-4e46-84a1-9b3072766d35
Config file: /vol/vbox/.VirtualBox/Machines/W2K3/W2K3.xml
Hardware UUID: 971002e2-51fc-4e46-84a1-9b3072766d35
Memory size: 640MB
Page Fusion: off
VRAM size: 8MB
HPET: off
Number of CPUs: 1
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
PAE: on
Time offset: 0 ms
RTC: local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
W2K8 is very similar for all ACPI/APIC settings. In guests, device manager -> my machine's driver is:
Advanced Configuration and Power Interface (ACPI) PC -> W2K3
ACPI x64-based PC -> W2K8
oh yeah, guest is of course setup to shutdown whenever powerbutton is pressed.
btw. checked the tip with sounds/audio - no effect at all.
As i said at the beginning anytime I try to run VBoxManage controlvm W2K3 acpipowerbutton it simply gets ignored. however a while ago I have noticed that sometimes if I am on the the machines' local console (using builtin vrdp of vbox) and as far as I remember I have to logon for this as well then sometimes I am able to get the guest to shutdown by using acpipowerbutton. this is however a bit too weird and does not always work either, so I thought I would ask here about any experiences...
Any ideas guys?