This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1716438
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: xenial
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1716438
Title:
Failure to download linux-image-extra-*-generic causes initrd to be
built incorrectly with no warning
Status in linux package in Ubuntu:
Incomplete
Bug description:
I've had this happen twice on kernel upgrades, most recently when
linux-image-extra-4.4.0-95-generic failed to download due to an iffy
connection. Because linux-image-4.4.0-95-generic did successfully
download, its setup (run-parts: executing /etc/kernel/postinst.d/zz-
update-grub 4.4.0-95-generic /boot/vmlinuz-4.4.0-95-generic) was run
and an initrd file built.
The problem is that the resulting initrd file is less than half the
size it should be, lacking all of the drivers that would have come in
from the "extra" package:
-rw-r--r-- 1 root root 38288353 Aug 22 10:09 initrd.img-4.4.0-89-generic
-rw-r--r-- 1 root root 38289328 Aug 22 10:11 initrd.img-4.4.0-93-generic
-rw-r--r-- 1 root root 38371214 Sep 2 06:00 initrd.img-4.4.0-94-generic
-rw-r--r-- 1 root root 16899714 Sep 11 12:15 initrd.img-4.4.0-95-generic
The result is a system that upon reboot cannot access important things
such as the network. Recovery involves putting hands on the console
and using GRUB to manually select a prior kernel with a good initrd.
Recommendation: Do not allow the build of initrd and consequent
activation of the new kernel as default without making sure the extra
package has been or can be installed if selected. At the very minimum,
issue a warning that the system may not be properly rebootable.
Note that the following information is compiled while booted from
kernel 94 rather than the kernel 95 with the faulty initrd.
# uname -a
Linux xena 4.4.0-94-generic #117-Ubuntu SMP Tue Aug 29 08:13:56 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
# cat /proc/version_signature
Ubuntu 4.4.0-94.117-generic 4.4.83
# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716438/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp