dbgsym package is missing for ubuntu focal hwe kernel 5.11 & 5.13

Bug #1939287 reported by 胡玮文
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-hwe-5.11 (Ubuntu)
Won't Fix
Undecided
Dimitri John Ledkov
Focal
Won't Fix
Undecided
Dimitri John Ledkov
linux-hwe-5.13 (Ubuntu)
Fix Committed
Undecided
Unassigned
Focal
Fix Committed
Undecided
Dimitri John Ledkov

Bug Description

[Impact]

 * Due to disk space constraints previously hwe-5.11 disabled building dbgsyms packages

 * This has been resolved in hwe-5.13, thus builds with debug symbols can be re-enabled

[Test Plan]

 * Build new kernel, check that dbgsyms packages are published & have a debug image

[Where problems could occur]

 * Build may grow in size, again, and fail to build from source, again. At the moment we don't see any such issues with v5.13 in impish.

[Other Info]

 * Original Bug description:

Package "linux-image-unsigned-5.11.0-25-generic-dbgsym" is missing from http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages

This breaks our workflow when the system is automatically upgraded from 5.8.0 to 5.11.0. We have "linux-image-unsigned-5.8.0-63-generic-dbgsym" for focal, which is also an HWE kernel. So why not do the same for 5.11.0 kernels?

Also, on focal, we have "linux-image-5.11.0-25-generic-dbgsym", which depends on the unsigned one, but the latter does not exist. This seems to indicate something is broken.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Hello,

Thank you reporting this issue. I have done a quick investigation and confirmed that we are not building the "linux-image-unsigned-5.11.0-25-generic-dbgsym" which is needed to install the debug symbols. We are going to work on a fix for this.

Changed in linux-hwe-5.11 (Ubuntu Focal):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux-hwe-5.11 (Ubuntu):
status: New → Confirmed
Revision history for this message
Grant Millar (g-millar) wrote :

Package "linux-image-unsigned-5.11.0-27-generic-dbgsym" is also missing from http://ddebs.ubuntu.com/dists/focal-updates/main/binary-amd64/Packages

I also cannot find "linux-image-unsigned-5.11.0-27-generic-dbgsym" or "linux-image-5.11.0-27-generic-dbgsym" on http://ddebs.ubuntu.com/pool/main/l/linux/

So at the moment it's impossible to debug kernel issues on the latest 5.11.0-27 kernel on focal.

Revision history for this message
Andy Whitcroft (apw) wrote :

It appears we have a kludge in place to paper over the issues later fixed in LP:1930713 in later series.

Changed in linux-hwe-5.11 (Ubuntu Focal):
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in linux-hwe-5.11 (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The security PPA where 5.11.0-27 was built has "build dbgsyms" checked but not "publish dbgsyms" this seems odd, cause i would think it is useful to have access to published security ppa dbgsymbols.

Removing debug symbols is not nice. However, surely we can make disk space savings the other way. For example, we do not need to produce udebs for the hwe kernels anymore.

And we can experiment with using `Rules-Requires-Root: no` to allow us building all packages in one go as non-root and without fakeroot.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
description: updated
Changed in linux-hwe-5.13 (Ubuntu Focal):
status: New → Confirmed
Changed in linux-hwe-5.13 (Ubuntu):
status: New → Confirmed
Changed in linux-hwe-5.13 (Ubuntu Focal):
status: Confirmed → In Progress
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
胡玮文 (huww98) wrote :

> This bug is awaiting verification that the kernel in -proposed solves the problem.

It seems not. I still cannot find linux-image-unsigned-5.11.0-38-generic-dbgsym in http://ddebs.ubuntu.com/dists/focal-proposed/main/binary-amd64/Packages

Is it because the fix has been dropped? Am I supposed to change the 'verification-needed-focal' tag?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The bug was committed for the linux-hwe-5.13 kernel in proposed:

linux-image-5.13.0-17-generic-dbgsym_5.13.0-17.17~20.04.1_armhf.ddeb (937.5 MiB)
linux-image-5.13.0-17-generic-lpae-dbgsym_5.13.0-17.17~20.04.1_armhf.ddeb (923.4 MiB)
linux-image-unsigned-5.13.0-17-generic-64k-dbgsym_5.13.0-17.17~20.04.1_arm64.ddeb (1.2 GiB)
linux-image-unsigned-5.13.0-17-generic-dbgsym_5.13.0-17.17~20.04.1_amd64.ddeb (1.1 GiB)
linux-image-unsigned-5.13.0-17-generic-dbgsym_5.13.0-17.17~20.04.1_arm64.ddeb (1.2 GiB)
linux-image-unsigned-5.13.0-17-generic-dbgsym_5.13.0-17.17~20.04.1_ppc64el.ddeb (1.0 GiB)
linux-image-unsigned-5.13.0-17-generic-dbgsym_5.13.0-17.17~20.04.1_s390x.ddeb (305.0 MiB)
linux-image-unsigned-5.13.0-17-lowlatency-dbgsym_5.13.0-17.17~20.04.1_amd64.ddeb (1.1 GiB)

Focal SRU for linux-hwe-5.13 is now verified.

tags: added: verification-done-focal
removed: verification-needed-focal
summary: - dbgsym package is missing for ubuntu focal hwe kernel 5.11
+ dbgsym package is missing for ubuntu focal hwe kernel 5.11 & 5.13
Changed in linux-hwe-5.13 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

To fix this on hwe-5.11 all of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930713 needs to be backported. Given that hwe-5.11 will be rolled over to hwe-5.13 soon, I am not sure if it is worth the effort.

Changed in linux-hwe-5.11 (Ubuntu Focal):
status: Confirmed → Won't Fix
Changed in linux-hwe-5.11 (Ubuntu):
status: Confirmed → Won't Fix
Changed in linux-hwe-5.13 (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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