Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox does not recognize "send the shutdown signal"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sat Oct 25, 2014 4:49 pm    Post subject: Virtualbox does not recognize "send the shutdown signal Reply with quote

I have installed Virtualbox and it works fine. However when i would like to shutdown my W7 in an orderly fashion, the option"Send the shutdown signal" does not work. Nor does "ACPI shutdown" work

My machine is a Lenovo Thinkpad X1

This is what I see from the kernel regarding ACPI:

Code:

# dmesg | grep acpi
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.180357] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.180508] acpi PNP0A08:00: _OSC: platform does not support [PCIeCapability]
[    0.180572] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
[    0.180579] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER PCIeCapability]
[    0.180584] acpi PNP0A08:00: _OSC: platform willing to grant [PCIeHotplug PME AER]
[    0.180589] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[    1.227860] ACPI: acpi_idle registered with cpuidle
[    2.735290] acpi device:01: registered as cooling_device4
[    3.018833] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    3.020946] thinkpad_acpi: http://ibm-acpi.sf.net/
[    3.023075] thinkpad_acpi: ThinkPad BIOS GRET30WW (1.07 ), EC unknown
[    3.025209] thinkpad_acpi: Lenovo ThinkPad X1 Carbon 2nd, model 20A7005KMS
[    3.028099] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[    3.030255] thinkpad_acpi: unknown version of the HKEY interface: 0x200
[    3.032402] thinkpad_acpi: please report this to ibm-acpi-devel@lists.sourceforge.net
[    3.034560] thinkpad_acpi: radio switch found; radios are enabled
[    3.036725] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    3.038918] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    3.042255] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    3.045224] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
[    3.047911] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[    3.050304] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
[    3.053572] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input7

_________________
/Phil
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Oct 25, 2014 6:28 pm    Post subject: Reply with quote

Your guest OS needs working ACPI support for shutdown to work that way. The host OS support is irrelevant.
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sun Oct 26, 2014 4:09 pm    Post subject: Reply with quote

Yes, ACPI is enabled in the guest OS.

I discovered that if I use the ordinary "Shut down" button in W7, it shuts down properly. However if I use the VM's menu;

Machine -> Close -> Send the shutdown signal

nothing happens. However it works on an older PC I have. I can not see any difference in configuration between the two.
_________________
/Phil
Back to top
View user's profile Send private message
sirnickity
n00b
n00b


Joined: 23 Aug 2005
Posts: 17

PostPosted: Fri Dec 12, 2014 1:57 am    Post subject: Reply with quote

In case OP is still hanging around, or failing that, for those arriving by Google:

1) Make sure ACPI is enabled in your kernel config.
2) Make sure you've emerged and added acpid to your default run level.

Only then, the ACPI Shutdown function works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum