首先让我说明这篇文章与一年前的另一篇文章非常相似,但它的细节发生了变化,我想仔细检查我是否应该提交错误报告,或者是否还有其他我应该首先尝试修复我的内核安装。
我已经更新了我的电脑,当我启动最新的内核时,我会看到一个紫色的屏幕。当我尝试在该内核中运行恢复模式时,我会看到内核恐慌输出。
我尝试使用此处给出的建议重新安装最新的 3.19 内核。其输出如下(如果有任何有用的信息)。
sudo apt-get install --reinstall linux-image-3.19.0-49-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libx265-59
Use 'apt-get autoremove' to remove it.
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
Need to get 0 B/16.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
Can't exec "locale": Permission denied at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
(Reading database ... 1029059 files and directories currently installed.)
Preparing to unpack .../linux-image-3.19.0-49-generic_3.19.0-49.55~14.04.1_amd64.deb ...
Can't exec "locale": Permission denied at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Done.
Unpacking linux-image-3.19.0-49-generic (3.19.0-49.55~14.04.1) over (3.19.0-49.55~14.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.19.0-49-generic...
P: Writing config for /boot/vmlinuz-3.19.0-47-generic...
P: Writing config for /boot/vmlinuz-3.16.0-60-generic.efi.signed...
P: Writing config for /boot/vmlinuz-3.16.0-60-generic...
No volume groups found
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
Setting up linux-image-3.19.0-49-generic (3.19.0-49.55~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.19.0-49.55~14.04.1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.19.0-49.55~14.04.1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-49-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.19.0-49-generic...
P: Writing config for /boot/vmlinuz-3.19.0-47-generic...
P: Writing config for /boot/vmlinuz-3.16.0-60-generic.efi.signed...
P: Writing config for /boot/vmlinuz-3.16.0-60-generic...
No volume groups found
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-49-generic /boot/vmlinuz-3.19.0-49-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.19.0-49-generic
Found initrd image: /boot/initrd.img-3.19.0-49-generic
Found linux image: /boot/vmlinuz-3.19.0-47-generic
Found initrd image: /boot/initrd.img-3.19.0-47-generic
Found linux image: /boot/vmlinuz-3.16.0-60-generic
Found initrd image: /boot/initrd.img-3.16.0-60-generic
No volume groups found
Adding boot menu entry for EFI firmware configuration
done
现在我可以继续从旧内核启动,但我很想通过执行以下命令升级到 4.2:
sudo apt-get install --install-recommends \
linux-generic-lts-wily
这已经在我重新设置的桌面上工作了,我想看看它是否可以工作。有趣的是,HWE 文档声明这对服务器来说没问题,并没有提到桌面,这就是我一直推迟的原因。
2016 年 2 月 11 日更新
我尝试安装 4.2 内核并遇到同样的问题,所以我认为这与内核无关。我很想得到一些关于诊断这个问题的建议。否则看起来我需要执行完全重新安装。
Ubuntu 官方内核中的内核恐慌几乎总是应该报告给Launchpad 上的内核错误跟踪器,如果有必要,它们可能会升级到上游错误跟踪器——当然除非你找到类似的现有报告。
我相信这在你的情况下是正确的。