运行 Linux Mint 的 MacBook 4,1 在关机时冻结

运行 Linux Mint 的 MacBook 4,1 在关机时冻结
[  OK  ] Reached target Final Step
[  OK  ] Finished Power-Off.
[  OK  ] Reached target Power-Off.
[27022.555948] sd-umoun[21227]: Failed to unmount /oldroot: device or resource busy
[27022.560980] sd-umoun[21228]: Failed to unmount /oldroot/dev/pts: Device or resource busy
[27022.563273] sd-umoun[21229]: Failed to unmount /oldroot/dev: Device or resource busy
[27023.565921] shutdown[1]: Failed to finalize  file systems, ignoring
[27023.781186] hub 6-0:1.0: hub_ext_port_status failed (err = -110)
[27024.808694] Kernel panic - not syncing: Timeout: not all CPUs entered broadcast exception handler
_
 ] Stopped remount Root and Kernel File Systems.
 ] Stopped Monitoring of LVM2 mirror, snapshots etc. using dmeventd or progress polling
 ] Reached target Shutdown.
   Starting Shuts down the "live" preinstalled system cleanly...
 ] Finished Shuts down the "live" preinstalled system cleanly.
 ] Reached target Final Step
 ] Finished Power-Off.
 ] Reached target Power-Off.
1.287672] sd-umoun[3729]: Failed to unmount /oldroot: device or resource busy
1.289859] sd-umoun[3730]: Failed to unmount /oldroot/dev/pts: Device or resource busy
1.292206] sd-umoun[3731]: Failed to unmount /oldroot/dev: Device or resource busy
1.296931] shutdown[1]: Failed to finalize  file systems, ignoring
2.635950] hub 6-0:1.0: hub_ext_port_status failed (err = -110)

我最近在 2008 款 MacBook 4,1 上安装了 Linux Mint。它大多数情况下运行良好,但关闭过程有时会在最后卡住。我已经四处寻找解决方案,到目前为止已将默认关闭限制从 10 秒增加到 100 秒,并将 USB2 驱动程序列入黑名单(使用 USB3 驱动程序,USB 端口仍然可以正常工作)。这个问题大约有一半的时候会发生。我使用 Mac OS X 10.7.5 进行双重启动,并使用 ReFind 作为启动管理器,尽管我也可以从 Grub 启动。来自neofetch:

OS: Linux Mint 20.2 x86_64
Host: MacBook4,1 1.0
Kernel: 5.4.0-81-generic
Packages: 2371 (dpkg), 5 (flatpak)
Shell: bash 5.0.17
Resolution: 1280x800
DE: Xfce
WM: Xfwm4
WM Theme: Mint-Y
Theme: Mint-Y [GTK2/3]
Icons: Mint-Y [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: Monospace 12
CPU: Intel Core 2 Duo T8300 (2) @ 2.4 GHz
GPU: Intel Mobile GM965/GL960
Memory: 1431MiB / 3916MiB

我在屏幕冻结后拍了一张照片,这可能会显示我需要做什么来修复它。我希望我张贴在正确的部分。预先感谢您的任何提示。

Reached target power off如果没有解决此特定问题,是否有任何配置更改会在发布“ ”后强制 MacBook 关闭。第二张图显示了内核恐慌在冻结之前作为最后一条消息留下的情况。

答案1

请尝试intel_idle.max_cstate=1在 grub 配置中进行设置。然后使用 grub 启动并查看问题是否仍然存在。

答案2

你可以尝试这样做

sudo nano /etc/mkinitcpio.conf

change:
HOOKS="base udev autodetect modconf block keyboard keymap filesystems fsck"
to:
HOOKS="base udev autodetect modconf block keyboard keymap filesystems fsck shutdown"

sudo mkinitcpio -P
sudo grub-mkconfig -o /boot/grub/grub.cfg

sudo systemctl restart systemd-coredump.socket
sudo systemctl reset-failed

一些用户报告这是一个 nvidia 驱动程序问题,他们通过删除 /etc/mkinitcpio.conf 中的 nvdia 模块来修复它

错误报告链接

相关内容