canonical / real-time-ubuntu-docs

Real-time Ubuntu documentation
https://documentation.ubuntu.com/real-time
1 stars 2 forks source link

Can not find kernel debug symbol #55

Open xyyyaxl opened 3 months ago

xyyyaxl commented 3 months ago

I have met a lock up issue with my realtime application, I have generated kdump for debugging, but I can not found vmlinux.

my kernel version: root# uname -a Linux 5.15.0-1051-realtime #57-Ubuntu SMP PREEMPT_RT Thu Nov 2 15:58:21 UTC 2023 x86_64 x86_64 x8664 GNU/Linux

source lists: root# cat ubuntu.list deb https://esm.ubuntu.com/realtime/ubuntu jammy main deb-src https://esm.ubuntu.com/realtime/ubuntu jammy main d# cat ddebs.list deb http://ddebs.ubuntu.com/ jammy main restricted universe multiverse deb http://ddebs.ubuntu.com/ jammy-security main restricted universe multiverse deb http://ddebs.ubuntu.com/ jammy-updates main restricted universe multiverse deb http://ddebs.ubuntu.com/ jammy-proposed main restricted universe multiverse

Can not found realtime kernel dbysym root# apt search dbgsym |grep 1051 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-5.15.0-1051-aws-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-5.15.0-1051-azure-dbgsym/jammy-updates 5.15.0-1051.59 amd64 linux-image-5.15.0-1051-azure-fde-dbgsym/jammy-updates 5.15.0-1051.59.1 amd64 linux-image-5.15.0-1051-gcp-dbgsym/jammy-updates,jammy-proposed 5.15.0-1051.59 amd64 linux-image-5.15.0-1051-gke-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-5.15.0-1051-intel-iotg-dbgsym/jammy-updates 5.15.0-1051.57 amd64 linux-image-5.15.0-1051-kvm-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-5.15.0-1051-oracle-dbgsym/jammy-updates 5.15.0-1051.57 amd64 linux-image-unsigned-5.15.0-1051-aws-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-unsigned-5.15.0-1051-azure-dbgsym/jammy-updates 5.15.0-1051.59 amd64 linux-image-unsigned-5.15.0-1051-azure-fde-dbgsym/jammy-updates 5.15.0-1051.59.1 amd64 linux-image-unsigned-5.15.0-1051-gcp-dbgsym/jammy-updates,jammy-proposed 5.15.0-1051.59 amd64 linux-image-unsigned-5.15.0-1051-gke-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-unsigned-5.15.0-1051-intel-iotg-dbgsym/jammy-updates 5.15.0-1051.57 amd64 linux-image-unsigned-5.15.0-1051-kvm-dbgsym/jammy-updates 5.15.0-1051.56 amd64 linux-image-unsigned-5.15.0-1051-oracle-dbgsym/jammy-updates 5.15.0-1051.57 amd64

Do I have to add extra repos or ubuntu does not provide it at all? Please help me out, many thanks!

khbecker commented 3 months ago

Thanks for letting us know. I'll look into how we can provide debug symbols for the realtime kernel.

xyyyaxl commented 3 months ago

Thank you, Khbecker! Is there any updates?

khbecker commented 2 months ago

We don't currently have a solution for providing debug symbols for the realtime kernel, but I'll continue investigating how we could provide that in the future.

khbecker commented 3 weeks ago

Since linux-realtime for oracular is in universe (because it is an interim release), the debug symbols there are available via the usual methods. I'm still following the issue of debug symbols for jammy/noble linux-realtime.