我在新款联想 Carbon X1 2018 上的 ubuntu 17.10 和 ubuntu 18.04 上设置 Virtualbox 时遇到了多个问题。首先是 CPU 节流问题,我尝试使用 archlinux 中的修复程序来解决这个问题https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Temporary_fix
现在我在修复此问题时遇到了另一个问题:
[ 1230.951665] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1230.969574] systemd[1]: Detected architecture x86-64.
[ 1230.987604] systemd[1]: /etc/systemd/system/cpu-throttling.timer:8: Unknown lvalue 'Requires' in section 'Timer'
[ 1230.987637] systemd[1]: /etc/systemd/system/cpu-throttling.service:8: Unknown section 'Timer'. Ignoring.
[ 1231.120222] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1231.120435] systemd[1]: Detected architecture x86-64.
[ 1231.135275] systemd[1]: /etc/systemd/system/cpu-throttling.timer:8: Unknown lvalue 'Requires' in section 'Timer'
[ 1231.135307] systemd[1]: /etc/systemd/system/cpu-throttling.service:8: Unknown section 'Timer'. Ignoring.
[ 1231.169433] systemd[1]: Started ACPI event daemon.
[ 1231.169454] systemd[1]: Started CUPS Scheduler.
[ 1231.273816] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1231.274193] systemd[1]: Detected architecture x86-64.
[ 1231.293443] systemd[1]: /etc/systemd/system/cpu-throttling.timer:8: Unknown lvalue 'Requires' in section 'Timer'
[ 1231.293485] systemd[1]: /etc/systemd/system/cpu-throttling.service:8: Unknown section 'Timer'. Ignoring.
[ 1231.330142] systemd[1]: Started CUPS Scheduler.
[ 1231.402913] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1231.403085] systemd[1]: Detected architecture x86-64.
[ 1231.419010] systemd[1]: /etc/systemd/system/cpu-throttling.timer:8: Unknown lvalue 'Requires' in section 'Timer'
[ 1231.419041] systemd[1]: /etc/systemd/system/cpu-throttling.service:8: Unknown section 'Timer'. Ignoring.
[ 1231.449354] systemd[1]: Started ACPI event daemon.
[ 1231.449476] systemd[1]: Started CUPS Scheduler.
有谁修复过这个问题吗?
答案1
Arch Wiki 有误。您需要删除 *.timer 文件中的“Requires”行,并删除 *.service 中的“[Timer]”部分。
我已经更新了 Arch Wiki 来反映这一点。