[Bug 2018128] Re: Apport does not collect all logs when the package is HWE kernel (or any derivative)
Juerg Haefliger
2018128 at bugs.launchpad.net
Wed Mar 12 08:14:54 UTC 2025
I cannot possible test all newly added kernel source packages. Focus on linux-latency and verify
that additional kernel data (dmesg) is collected.
1) Current behavior
Noble with linux-base/4.5ubuntu9 from -release
$ apt-cache policy linux-base
linux-base:
Installed: 4.5ubuntu9
Candidate: 4.5ubuntu9
$ sudo ubuntu-bug linux-lowlatency
<snip>
Please choose (S/V/K/I/C): k
Problem report file: /tmp/apport.linux-lowlatency.08849ddr.apport
$ sudo grep -A 10 -i dmesg /tmp/apport.linux-lowlatency.08849ddr.apport
Kernel log is *not* collected.
2) New behavior
Noble with linux-base/4.5ubuntu9+24.04.1 from -proposed
$ apt-cache policy linux-base
linux-base:
Installed: 4.5ubuntu9+24.04.1
Candidate: 4.5ubuntu9+24.04.1
$ sudo ubuntu-bug linux-lowlatency
<snip>
Please choose (S/V/K/I/C): k
Problem report file: /tmp/apport.linux-lowlatency.m3rltovf.apport
$ sudo grep -A 10 -i dmesg /tmp/apport.linux-lowlatency.m3rltovf.apport
CurrentDmesg:
[ 0.000000] Linux version 6.8.0-56-lowlatency (buildd at lcy02-amd64-088) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #58.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Feb 20 09:27:10 UTC 2025 (Ubuntu 6.8.0-56.58.1-lowlatency 6.8.12)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-56-lowlatency root=UUID=314dc64b-478e-4831-8f35-5640abff7e09 ro console=tty1 console=ttyS0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
Kernel log is now collected.
** Tags added: verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2018128
Title:
Apport does not collect all logs when the package is HWE kernel (or
any derivative)
Status in apport package in Ubuntu:
Fix Released
Status in linux package in Ubuntu:
Invalid
Status in linux-base package in Ubuntu:
Fix Released
Status in linux-base source package in Jammy:
Fix Committed
Status in linux-base source package in Noble:
Fix Committed
Status in linux-base source package in Oracular:
Fix Released
Bug description:
[ Impact ]
Ubuntu 22.04 LTS with kernel 5.19.0-41-generic
When filing bugs against the package 'linux' apport collects all the logs needed
to the kernel
But in case the user is not on stock kernel anymore and has the HWE kernel
apport only imports 2 logs Dependencies.txt + ProcCpuInfoMinimal.txt
and forwards the package 'linux' towards linux-signed-hwe-5.19 (in my
case)
would it be possible to make apport collect all the logs needed in all
kernel cases?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82.4
ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-41-generic x86_64
ApportLog:
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 29 05:25:30 2023
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
[ Test Plan ]
Install a derivative kernel, run 'ubuntu-bug linux-<foo>' and check
that all necessary logs are collected.
[ Where Problems Could Occur ]
The fix adds additional source package hooks and removes some stale
ones. Potential issue are log collection/upload problems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2018128/+subscriptions
More information about the foundations-bugs
mailing list