Ubuntu 22.04关机时出现Hide.me CLI连接失败及ACPI BIOS错误的求助
Hey there, sorry to hear you're stuck with these shutdown glitches on your dual-boot Ubuntu 22.04/Windows 11 setup. Let's break down the two main issues from your logs and walk through fixes for each:
First, let's recap the error messages you ran into:
[FAILED] Failed to start Hide. me CLI connection to SERVER.
[FAILED] Failed to start Hide.me CLI connection to US.
"@@@*@t 348.0377321 ACPI BIOS Error (bug): Could not resolve symbol [\CTDP1, AE_NOT_FOUND (20221020/psargs-3
I 348.0377401
[ 348.0377411 No Local Variables are initialized for Method LIDSP]
[ 348.0377411
348.0377421 No Arguments are initialized for method [IDSP]
1 348.0377421
348.0377431 ACPI Error: Aborting method I_SB. IETM. IDSP due to previous error (AE_NOT_FOUND) (20221020/psparst
348.0377481 ACPI Error: Aborting method \SB. IETM. _OSC due to previous error (RE_NOT_FOUND) (28221028/psparse
1. Fixing Hide.me CLI Connection Failures on Shutdown
These failed service messages mean systemd is incorrectly trying to start (or restart) your Hide.me VPN connections during shutdown—totally backwards! Here's how to fix it:
- First, check the current state of these misbehaving services:
systemctl status hide.me-cli@SERVER.service systemctl status hide.me-cli@US.service - If you don't need these VPNs to auto-start on boot, just disable them entirely to stop the shutdown errors:
sudo systemctl disable hide.me-cli@SERVER.service sudo systemctl disable hide.me-cli@US.service - If you want to keep using Hide.me CLI but fix the shutdown behavior, tweak the service's configuration:
- Open the service template file with a text editor:
sudo nano /etc/systemd/system/hide.me-cli@.service - Add this line under the
[Service]section to tell systemd to stop the service before shutdown begins:
Alternatively, you can addBefore=shutdown.targetStopWhenUnneeded=yesto let systemd automatically stop the service when it's not in use. - Save the file (Ctrl+O, press Enter) and exit (Ctrl+X), then reload systemd to apply changes:
sudo systemctl daemon-reload
- Open the service template file with a text editor:
2. Resolving ACPI BIOS Error Messages
The ACPI errors are a bug in your motherboard/laptop's BIOS firmware—its ACPI (power management) implementation has missing symbols or uninitialized methods. These are mostly cosmetic but can be annoying. Here's what you can do:
- Update your BIOS: This is the best long-term fix. Head to your device manufacturer's website, find the latest BIOS update for your model, and follow their installation instructions. Note: For dual-boot setups, make sure the update is compatible with both Ubuntu and Windows 11.
- Add kernel parameters to suppress errors: If updating BIOS isn't an option right now, you can tweak GRUB to hide these messages (though this might affect some hardware features like sleep mode or brightness control):
- Open the GRUB configuration file:
sudo nano /etc/default/grub - Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULTand add one of these parameters inside the quotes:acpi_no_memhotplug: Disables memory hotplug support, which often fixes this specific error without breaking major featuresacpi=off: Disables ACPI entirely (use this only if other options fail—this might break sleep, brightness, or power buttons)pci=noacpi: Tells PCI devices to skip ACPI
Example modified line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_no_memhotplug" - Save and exit, then update GRUB to apply the change:
sudo update-grub - Reboot your system—if you notice hardware issues later, just revert the change by removing the parameter and re-running
sudo update-grub.
- Open the GRUB configuration file:
Let me know if either of these fixes clears up your shutdown issues, or if you hit any snags along the way!
备注:内容来源于stack exchange,提问作者Sanketh SK

