Similar to
wn-block(0,0)
[ 0.667378] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.47-1-MANJARO #1
[ 0.667435] Hardware name: Acer Aspire E5-575G/Ironman_SK , BIOS V1.04 04/26/2016
[ 0.667493] ffffc90000c8bde0 ffffffff813151d2 ffff880276a77000 ffffffff8190b950
[ 0.667717] ffffc90000c8be68 ffffffff8117ecd4 ffffffff00000010 ffffc90000c8be78
[ 0.667940] ffffc90000c8be10 327c3b64ed88e616 327c3b64ed88e616 ffffc90000c8be80
[ 0.668162] Call Trace:
[ 0.668213] [<ffffffff813151d2>] dump_stack+0x63/0x81
[ 0.668267] [<ffffffff8117ecd4>] panic+0xe4/0x22d
[ 0.668321] [<ffffffff81v2a590>] mount_block_root+0x27c/0x2c7
[ 0.668377] [<ffffffff81b298be>] ? set_debug_rodata+0x12/0x12
[ 0.668432] [<ffffffff81b2a640>] mount_root+0x65/0x68
[ 0.668486] [<ffffffff81b2a772>] prepare_namespace+0x12f/0x167
[ 0.668542] [<ffffffff81b2a1ca>] kernel_init_freeable+0x1ec/0x205
[ 0.668598] [<ffffffff81610b30>] ? rest_init+0x90/0x90
[ 0.668652] [<ffffffff81610b3e>] kernel_init+0xe/0x100
[ 0.668706] [<ffffffff8161dfd5>] ret_from_fork+0x25/0x30
[ 0.668786] Kernel Offset: disabled
[ 0.668893] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
This happened after an aborted kernel update (e.g. system crash while aptitude safe-upgrade),
-
boot with an older kernel.
-
run
dpkg --configure -a
.
# dpkg --configure -a
Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.10.0-18-amd64 (5.10.140-1) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-18-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-18-amd64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-18-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-18-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.10.0-18-amd64 (--configure):
installed linux-image-5.10.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-image-5.10.0-19-amd64 (5.10.149-2) ...
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-19-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-19-amd64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-19-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-19-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.10.0-19-amd64 (--configure):
installed linux-image-5.10.0-19-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-5.10.0-19-amd64 (= 5.10.149-2); however:
Package linux-image-5.10.0-19-amd64 is not configured yet.
dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-17-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-5.10.0-17-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.10.0-18-amd64
linux-image-5.10.0-19-amd64
linux-image-amd64
initramfs-tools
- Your boot partition is full.
Often this is from old versions of the kernel that are no longer needed. Run the following commands to remove all the kernels you have installed that aren't your newest kernel.
# dpkg -l linux-{image,headers}-"[0-9]*" | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e '[0-9]' | xargs sudo apt -y purge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-compiler-gcc-10-x86 linux-compiler-gcc-6-x86 linux-kbuild-4.9 linux-kbuild-5.10
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-headers-4.9.0-8-amd64* linux-headers-4.9.0-8-common* linux-headers-5.10.0-18-amd64* linux-headers-5.10.0-18-common* linux-headers-5.10.0-19-amd64* linux-headers-5.10.0-19-common*
linux-headers-amd64* linux-image-5.10.0-18-amd64*
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 485 MB disk space will be freed.
(Reading database ... 340860 files and directories currently installed.)
Removing linux-image-5.10.0-18-amd64 (5.10.140-1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: 8812au 4.2.2 (5.10.0-18-amd64) (x86_64)
-------- Uninstall Beginning --------
Module: 8812au
Version: 4.2.2
Kernel: 5.10.0-18-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
8812au.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.0-18-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-17-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-17-amd64
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-18-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.10.0-19-amd64
Found linux image: /boot/vmlinuz-5.10.0-17-amd64
Found initrd image: /boot/initrd.img-5.10.0-17-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
Removing linux-headers-4.9.0-8-amd64 (4.9.144-3.1) ...
dpkg: warning: while removing linux-headers-4.9.0-8-amd64, directory '/lib/modules/4.9.0-8-amd64' not empty so not removed
Removing linux-headers-4.9.0-8-common (4.9.144-3.1) ...
Removing linux-headers-amd64 (5.10.149-2) ...
Removing linux-headers-5.10.0-18-amd64 (5.10.140-1) ...
dpkg: warning: while removing linux-headers-5.10.0-18-amd64, directory '/lib/modules/5.10.0-18-amd64' not empty so not removed
Removing linux-headers-5.10.0-18-common (5.10.140-1) ...
Removing linux-headers-5.10.0-19-amd64 (5.10.149-2) ...
Removing linux-headers-5.10.0-19-common (5.10.149-2) ...
Setting up initramfs-tools (0.140) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.10.0-19-amd64 (5.10.149-2) ...
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-19-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-19-amd64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-19-amd64
# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
linux-compiler-gcc-10-x86 linux-compiler-gcc-6-x86 linux-kbuild-4.9 linux-kbuild-5.10
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 4,218 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 283262 files and directories currently installed.)
Removing linux-compiler-gcc-10-x86 (5.10.149-2) ...
Removing linux-compiler-gcc-6-x86 (4.19.118-2+deb10u1~bpo9+1) ...
Removing linux-kbuild-4.9 (4.9.168-1+deb9u3) ...
Removing linux-kbuild-5.10 (5.10.149-2) ...
Reboot to latest kernel to verify it got fixed.