Bug#919826: linux-image-4.19.0-1-arm64: Loading Linux 4.19.0-1-arm64 Loading initial ramdisk error: out of memory system panic
Package: linux-image-4.19.0-1-arm64
Severity: critical
Justification: breaks the whole system
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
upgrading kernel in Buster from 4.18.0-3-arm64 via apt-get dist-upgrade
* What exactly did you do (or not do) that was effective (or
ineffective)?
root@sally:~# uname -a
Linux sally 4.18.0-3-arm64 #1 SMP Debian 4.18.20-2 (2018-11-23) aarch64 GNU/Linux
root@sally:~# ## update apt/sources to point to a mirror (was DVD)
root@sally:~# apt-get update
Hit:1 http://ftp.uk.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists... Done
root@sally:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libhunspell-1.6-0 liblvm2app2.2 liblvm2cmd2.02 libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-minimal
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
apparmor firmware-linux-free irqbalance libaio1 libdns-export1104 libhunspell-1.7-0 libisc-export1100 liblvm2cmd2.03 libnftables0 libnftnl11 libnuma1
libpython3.7-minimal libpython3.7-stdlib libuchardet0 linux-image-4.19.0-1-arm64 nftables python3.7 python3.7-minimal
The following packages will be upgraded:
adwaita-icon-theme apt apt-utils bash-completion bind9-host bsdutils dash dbus dbus-user-session dconf-gsettings-backend dconf-service dmeventd
dmsetup e2fsprogs enchant fdisk file gcc-8-base gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-gtk-3.0 gir1.2-pango-1.0
gir1.2-vte-2.91 glib-networking glib-networking-common glib-networking-services gpgv grep groff-base grub-common grub-efi-arm64 grub-efi-arm64-bin
grub-efi-arm64-signed grub2-common gtk-update-icon-cache gzip init init-system-helpers iproute2 iptables isc-dhcp-client isc-dhcp-common klibc-utils
krb5-locales libapparmor1 libapt-inst2.0 libapt-pkg5.0 libatk1.0-0 libatk1.0-data libbind9-161 libblkid1 libc-bin libc-l10n libc6 libcairo-gobject2
libcairo2 libcap-ng0 libcom-err2 libcroco3 libcryptsetup12 libcups2 libdbus-1-3 libdconf1 libdebconfclient0 libdevmapper-event1.02.1
libdevmapper1.02.1 libdns1104 libedit2 libefiboot1 libefivar1 libelf1 libenchant1c2a libext2fs2 libfdisk1 libfribidi0 libfstrm0 libfuse2 libgcc1
libgcrypt20 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgmp10 libgnutls30
libgpg-error0 libgraphite2-3 libgssapi-krb5-2 libgtk-3-0 libgtk-3-bin libgtk-3-common libharfbuzz0b libhogweed4 libicu63 libip4tc0 libip6tc0 libiptc0
libisc1100 libisccc161 libisccfg163 libjansson4 libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libklibc libkrb5-3 libkrb5support0
libldap-2.4-2 libldap-common liblwres161 liblz4-1 libmagic-mgc libmagic1 libmount1 libnettle6 libnghttp2-14 libpam-modules libpam-modules-bin
libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libperl5.28 libpixman-1-0 libpng16-16
libproxy1v5 libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib librsvg2-2 librsvg2-common libsemanage-common libsemanage1 libsmartcols1
libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libss2 libstdc++6 libsystemd0 libudev1 libuuid1 libvte-2.91-0 libvte-2.91-common libxcb-render0
libxcb-shm0 libxcb1 libxml2 libxtables12 libzstd1 linux-image-arm64 locales lvm2 man-db mount openssh-client openssh-server openssh-sftp-server
os-prober perl perl-base perl-modules-5.28 publicsuffix python3 python3-chardet python3-debianbts python3-gi python3-gi-cairo python3-minimal
python3-pkg-resources python3-pycurl python3-pysimplesoap python3-six python3.6 python3.6-minimal rsyslog sed systemd systemd-sysv sysvinit-utils tar
task-english task-ssh-server tasksel tasksel-data telnet tzdata ucf udev util-linux util-linux-locales vim-common vim-tiny wget xdg-user-dirs xxd
203 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 144 MB of archives.
After this operation, 260 MB of additional disk space will be used.
Do you want to continue? [Y/n]
--- 8< ---
Get:207 http://ftp.uk.debian.org/debian buster/main arm64 linux-image-4.19.0-1-arm64 arm64 4.19.12-1 [39.7 MB]
Get:208 http://ftp.uk.debian.org/debian buster/main arm64 linux-image-arm64 arm64 4.19+101 [7,952 B]
--- 8< ---
Processing triggers for systemd (240-4) ...
Setting up grub-efi-arm64 (2.02+dfsg1-10) ...
Installing for arm64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-1-arm64
Found initrd image: /boot/initrd.img-4.19.0-1-arm64
Found linux image: /boot/vmlinuz-4.18.0-3-arm64
Found initrd image: /boot/initrd.img-4.18.0-3-arm64
done
Setting up tasksel-data (3.49) ...
Setting up dmeventd (2:1.02.155-1) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Setting up lvm2 (2.03.02-1) ...
Installing new version of config file /etc/lvm/lvm.conf ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.132) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-1-arm64
Processing triggers for libc-bin (2.28-5) ...
Processing triggers for libgdk-pixbuf2.0-0:arm64 (2.38.0+dfsg-7) ...
root@sally:~#
root@sally:~# sync
root@sally:~# sync
root@sally:~# reboot
Connection to 10.42.0.243 closed by remote host.
Connection to 10.42.0.243 closed.
Loading Linux 4.19.0-1-arm64 ...
Loading initial ramdisk ...
error: out of memory.
Press any key to continue...
L3C: 8MB
[ 0.048341] kvm [1]: Invalid trigger for IRQ4, assuming level low
[ 0.448676] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.456905] CPU: 6 PID: 1 Comm: swapper/0 Not tainted 4.19.0-1-arm64 #1 Debian 4.19.12-1
[ 0.464955] Hardware name: AppliedMicro X-Gene Mustang Board/X-Gene Mustang Board, BIOS 3.06.25 Oct 17 2016
[ 0.474647] Call trace:
[ 0.477083] dump_backtrace+0x0/0x180
[ 0.480726] show_stack+0x24/0x30
[ 0.484024] dump_stack+0x90/0xb4
[ 0.487322] panic+0x128/0x290
[ 0.490361] mount_block_root+0x2ac/0x2dc
[ 0.494349] mount_root+0x84/0x90
[ 0.497646] prepare_namespace+0x130/0x174
[ 0.501719] kernel_init_freeable+0x308/0x32c
[ 0.506054] kernel_init+0x18/0x110
[ 0.509523] ret_from_fork+0x10/0x1c
[ 0.513083] SMP: stopping secondary CPUs
[ 0.516988] Kernel Offset: disabled
[ 0.520457] CPU features: 0x0,20802000
[ 0.524186] Memory Limit: none
[ 0.527226] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
I have reproduced this twice
* What was the outcome of this action?
Kernel panic - system doesn't start
* What outcome did you expect instead?
rootfs loads :-)
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: buster/sid
Architecture: arm64 (aarch64)
Kernel: Linux 4.18.0-3-arm64 (SMP w/8 CPU cores) <--- this works.
linux-image-4.19.0-1-arm64 <-- causes panic
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
This is bare metal hardware - APM X-C1 Mustang developer board
Reply to: