首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更新22.04 - 5.15.0-56到5.15.0-58会引起内核恐慌

问更新22.04 - 5.15.0-56到5.15.0-58会引起内核恐慌
EN

Ask Ubuntu用户
提问于 2023-01-30 20:12:08
回答 2查看 883关注 0票数 0

更新完成,但是在重新启动grub时加载,然后计算机冻结。恢复模式也是如此,如照片所示。它可以很好地引导内核版本5.15.0-56,并且我从它的恢复模式运行修复包,但是它对5.15.0-58内核没有影响。

EN

回答 2

Ask Ubuntu用户

发布于 2023-01-31 23:37:53

引导到较旧的内核版本并重新运行sudo apt dist-upgrade -y。此过程将重新安装内核,并升级更新内核的卷组头,以便正确启动。

代码语言:javascript
复制
Processing triggers for linux-image-5.15.0-58-generic (5.15.0-58.64) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-58-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-58-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-58-generic (--configure):
 installed linux-image-5.15.0-58-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.15.0-58-generic
Log ended: 2023-01-29  21:29:12

Log started: 2023-01-31  15:17:43
(Reading database ... 143232 files and directories currently installed.)
Removing linux-headers-5.15.0-56-generic (5.15.0-56.62) ...
Removing linux-modules-extra-5.15.0-56-generic (5.15.0-56.62) ...
Removing linux-image-5.15.0-56-generic (5.15.0-56.62) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-56-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-57-generic
Found initrd image: /boot/initrd.img-5.15.0-57-generic
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Removing linux-modules-5.15.0-56-generic (5.15.0-56.62) ...
Setting up linux-image-5.15.0-58-generic (5.15.0-58.64) ...
I: /initrd.img is now a symlink to boot/initrd.img-5.15.0-58-generic
Processing triggers for linux-image-5.15.0-58-generic (5.15.0-58.64) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-58-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-57-generic
Found initrd image: /boot/initrd.img-5.15.0-57-generic
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
票数 0
EN

Ask Ubuntu用户

发布于 2023-02-10 18:23:16

这就是对我起作用的原因,而年长的Geek提供了有用的链接。

运行在终端中,以查看安装了哪些映像。

代码语言:javascript
复制
apt-mark showauto 'linux-image-.*'

这个回来了

代码语言:javascript
复制
linux-image-5.15.0-56-lowlatency
linux-image-unsigned-5.15.0-58-lowlatency

然后跑

代码语言:javascript
复制
sudo apt-get purge linux-image-unsigned-5.15.0-58-lowlatency

然后再运行这个

代码语言:javascript
复制
apt-mark showauto 'linux-image-.*'

这次又回来了

代码语言:javascript
复制
linux-image-5.15.0-56-lowlatency
linux-image-5.15.0-58-lowlatency

然后跑(根据老人的链接)

代码语言:javascript
复制
sudo apt-get purge linux-image-5.15.0-58-lowlatency
sudo dpkg --purge linux-headers-5.15.0-58-lowlatency

现在linux 5.15.0-58-低延迟已经完全消失了,计算机在linux 5.15.0-56-低延迟上启动得很好。我将等待一个较新的版本变得可用,并尝试再次更新。谢谢你的帮助。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1452683

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档