acpi=force

最近工作中遇到几系统启动会卡住的问题,在grub中加入“acpi=force”就解决了。具体原因不知道,先记录下来

在终端输入以下命令:

sudo gedit /etc/default/grub

找到这一行:GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
改成:GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi=force pci=nomsi”
保存退出。

输入以下命令更新Grub:

sudo update-grub

每个启动参数的意义如下参考资料:
The first thing you will want to look at when experiencing shutdown problems is ACPI (Advanced Configuration and Power Interface). This, in my experience, is the most common culprit when it comes to Linux shutdown problems. When troubleshooting ACPI, please follow the steps below:
Try booting with the “acpi=off” kernel parameter: This will disable ACPI support. If the error is the same with acpi enabled and disabled, you are probably not having an ACPI issue. If that is the case, please see the section of this article titled “Other Possible Solutions”.
If “acpi=off” allows the system to boot, you will need to isolate the ACPI issue by trying each of the following boot parameters.
Try booting with “acpi=ht”: This disables all of ACPI except just enough to enable Hyper Threading. If acpi=off works and acpi=ht fails, then the issue is in the ACPI table parsing code itself, or perhaps the SMP code.
Try booting with “pci=noacpi”: This disables ACPI for IRQ routing and PCI scanning.
Try booting with “acpi=noirq”: This disables ACPI for IRQ routing.
Try booting with “pnpacpi=off”: This disables the ACPI component of the Linux Plug and Play code.
Try booting with “noapic”: This disables the IO-APIC for IRQ routing or PCI scanning.
Try booting with “nolapic”: This disables the local APIC.
With any luck one of these extra boot parameters has solved your problem with Ubuntu hanging on shutdown. If not, ACPI was not the problem and we’ll need to look at other possible solutions. Please skip ahead to “Other Possible Solutions”. If one or more of these boot parameters solved your problem with Ubuntu hanging on shutdown consult the next section on how to make the changes permanent.
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值