This is apparently a regression due to (ubuntu-only) kernel commit [1]
commit e9ec6b526c6a ("UBUNTU: SAUCE: (no-up) version: Implement
version_signature proc file.")
It modifies the contents of `/proc/version` by appending a version signature
(available individually in `/proc/version_signature`, a new file in `/proc`),
which comes from the `linux_proc_banner` variable/format string.
However, it doesn't modify a related string in the `vmlinux` object file,
which comes from `linux_banner` (no `proc`); i.e., it's without signature.
(This might be on purpose.)
The crash utility, in live system form (without a core dump/memory image),
searches for the contents of `/proc/version` _within_ the output of the
`strings vmlinux` command, to check that `vmlinux` and running system match.
(See source in `crash/filesys.c:match_proc_version() -> match_file_string()`).
The issue then happens because the appended version signature cannot be
found within `vmlinux` (`linux_proc_banner` no longer matches `linux_banner`).
[1] https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/lunar/commit/?id=e9ec6b526c6ac1f4392430e008d9ff6c3c9eeee1
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Changed in: crash (Ubuntu)
Status: New => Confirmed
** Changed in: linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to crash in Ubuntu.
https://bugs.launchpad.net/bugs/2009595
Title:
DEP8 failure in lunar
Status in crash package in Ubuntu:
Confirmed
Status in linux package in Ubuntu:
Confirmed
Bug description:
I don't know what's wrong with this package, or with the kernel
package:
ubuntu@l-crash:~$ sudo crash -st /usr/lib/debug/boot/vmlinux-6.1.0-16-generic
WARNING: /usr/lib/debug/boot/vmlinux-6.1.0-16-generic
and /proc/version do not match!
WARNING: /proc/version indicates kernel version: 6.1.0-16-generic
crash: please use the vmlinux file for that kernel version, or try using
the System.map for that kernel version as an additional argument.
It is the same version:
ubuntu@l-crash:~$ uname -a
Linux l-crash 6.1.0-16-generic #16-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 24
14:37:30 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l|grep linux-
ii binutils-x86-64-linux-gnu 2.40-2ubuntu1
ii linux-base 4.5ubuntu9
ii linux-firmware 20230302.git60971a64-0ubuntu1
ii linux-headers-6.1.0-16 6.1.0-16.16
ii linux-headers-6.1.0-16-generic 6.1.0-16.16
ii linux-headers-generic 6.1.0.16.16
ii linux-image-6.1.0-16-generic 6.1.0-16.16
ii linux-image-6.1.0-16-generic-dbgsym 6.1.0-16.16
ii linux-image-generic 6.1.0.16.16
ii linux-image-unsigned-6.1.0-16-generic-dbgsym 6.1.0-16.16
ii linux-libc-dev:amd64 6.1.0-16.16
ii linux-modules-6.1.0-16-generic 6.1.0-16.16
ii linux-modules-extra-6.1.0-16-generic 6.1.0-16.16
ii util-linux-extra 2.38.1-4ubuntu1
$ apt-cache policy linux-image-unsigned-6.1.0-16-generic-dbgsym
linux-image-unsigned-6.1.0-16-generic-dbgsym:
Installed: 6.1.0-16.16
Candidate: 6.1.0-16.16
Version table:
*** 6.1.0-16.16 500
500 http://ddebs.ubuntu.com lunar/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/2009595/+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