warning: file-aligned section .text extends beyond end of file

Bug #1540406 reported by David Henningsson
96
This bug affects 21 people
Affects Status Importance Assigned to Milestone
linux-signed (Ubuntu)
Confirmed
High
Unassigned

Bug Description

When running a dist-upgrade, I received the following warning:

Setting up linux-signed-image-4.4.0-2-generic (4.4.0-2.16) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Note: I've tried booting the kernel with dmesg enabled, it seems to boot just fine. See https://launchpadlibrarian.net/235948033/CurrentDmesg.txt for when I booted it.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-signed-image-4.4.0-2-generic 4.4.0-2.16
ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 1 15:58:45 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-28 (65 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
SourcePackage: linux-signed
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Henningsson (diwic) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
Shane Synan (digitalcircuit) wrote :

Problem still occurs, possibly. I got the same message this evening during an 'apt dist-upgrade' run:

Setting up linux-signed-image-4.4.0-8-generic (4.4.0-8.23) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Changed in linux-signed (Ubuntu):
importance: Undecided → High
Revision history for this message
John Little (john-b-little) wrote :

Just got this for linux-signed-image-4.4.0-22-generic (4.4.0-22.40).

Revision history for this message
Niklas Holm (niklas-holm) wrote :

Just got this warning when installing linux-signed-image-3.13.0-101-generic (3.13.0-101.148) on Trusty.

Revision history for this message
Jean-Pierre van Riel (jpvr) wrote :

Same, here, this message makes me fear that my system won't be able to boot with the new kernel.

Setting up linux-signed-image-4.4.0-51-generic (4.4.0-51.72) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

This seems related? https://bugs.launchpad.net/launchpad/+bug/1071562

This suggests it isn't as serious as it sounds? http://www.rodsbooks.com/efi-bootloaders/secureboot.html. However, no actual explanation.

Revision history for this message
Niklas Sombert (ytvwld) wrote :

Just got this warning when installing linux-signed-image-4.4.0-51.72-generic:

warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

And the new kernel won't boot.

The old one still works.

Revision history for this message
altazar (altazar) wrote :

Got this message while update to linux-signed-generic:4.4.0.51.54. System boots and work correctly.

Revision history for this message
altazar (altazar) wrote :

By the way, my motherboard does not support secure boot

Revision history for this message
John Pye (jdpipe) wrote :

Got this bug just now.

Setting up linux-signed-image-4.4.0-79-generic (4.4.0-79.100) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Revision history for this message
bamyasi (iadzhubey) wrote :

It's still here:

Setting up linux-headers-generic (4.4.0.108.113) ...
Setting up linux-generic (4.4.0.108.113) ...
Setting up linux-signed-image-4.4.0-108-generic (4.4.0-108.131) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.