我昨天在 Linux Mint 18 上进行了内核更新,现在每次我尝试插入电源或断开电源时,它都会完全冻结并且不执行任何操作
系统信息
- 操作系统:Mint 18 sarah
- 内核:x86_64 Linux 4.4.0-51-generic
- CPU:英特尔酷睿 i7-6700HQ CPU @ 3.5GHz
- 内存:5150MiB / 15919MiB
有人知道如何解决这个问题吗?我读过有关降级内核的文章,但我不知道这是不是个好主意。
也是这部分内容,不是完全相关,但与内核有关,我在查看系统日志或关机时总是收到此错误
Dec 1 10:10:36 DedSec kernel: [ 318.395065] pcieport 0000:00:1c.0: device [8086:a110] error status/mask=00000001/00002000
Dec 1 10:10:36 DedSec kernel: [ 318.395067] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
Dec 1 10:10:36 DedSec kernel: [ 318.497528] pcieport 0000:00:1c.0: AER: Corrected error received: id=00e0
Dec 1 10:10:36 DedSec kernel: [ 318.497535] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
编辑:
请求的错误报告链接:https://bugs.launchpad.net/linuxmint/+bug/1646424
请求 dpkg -l *-generic 的输出
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-===============================================================
un linux-generic <none> <none> (no description available)
ii linux-headers-4.4.0-21-generi 4.4.0-21.37 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-45-generi 4.4.0-45.66 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-47-generi 4.4.0-47.68 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-51-generi 4.4.0-51.72 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
un linux-headers-generic <none> <none> (no description available)
ii linux-image-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-47-generic 4.4.0-47.68 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-51-generic 4.4.0-51.72 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-21-ge 4.4.0-21.37 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-45-ge 4.4.0-45.66 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-47-ge 4.4.0-47.68 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-51-ge 4.4.0-51.72 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
un linux-image-generic <none> <none> (no description available)
ii linux-kernel-generic 4.4.0-21 all The Linux kernel.
ii linux-tools-4.4.0-47-generic 4.4.0-47.68 amd64 Linux kernel version specific tools for version 4.4.0-47
答案1
您没有使用内核自动更新,无需 DPKG 密码(如下所述)。您只需卸载该内核版本即可。
sudo apt-get purge linux-headers-4.4.0-51-generic linux-image-4.4.0-51-generic linux-image-extra-4.4.0-51-generic
固定方法:
创建新的 APT 首选项文件
sudo nano /etc/apt/preferences.d/99_mypin.pref
降低该版本的优先级
Package: linux-generic linux-headers-generic linux-image-generic Pin: 4.4.0-51.72 Pin-Priority: 1