Where are debug symbols for backported linux kernels (or any other backported binary package)?

Ansis Atteka ansisatteka.dev at gmail.com
Thu Mar 31 23:18:44 UTC 2011


In Ubuntu 10.04 I enabled lucid-backports repository so that I would
be able to apt-get to 2.6.35-25 linux kernel. Now the problem is that
I can not locate exact debug symbols that match this backported

So far I have tried debug symbols from here
but when I try to use system-tap it complains that symbols do not

root at janis-dp2:~/stap# dpkg -l | grep linux | grep 2.6.35
ii  linux-headers-2.6.35-25                   2.6.35-25.44~lucid1
              Header files related to Linux kernel version
ii  linux-headers-2.6.35-25-server            2.6.35-25.44~lucid1
              Linux kernel headers for version 2.6.35 on x
ii  linux-image-2.6.35-25-server              2.6.35-25.44~lucid1
              Linux kernel image for version 2.6.35 on x86
ii  linux-image-2.6.35-25-server-dbgsym       2.6.35-25.44
              Linux kernel debug image for version 2.6.35 <--- this
one does not have ~lucid1 postfix

root at janis-dp2:~/stap# cat sync.stp
probe kernel.function("sys_sync") {
printf("sys_sync called\n");
root at janis-dp2:~/stap# stap sync.stp
ERROR: Build-id mismatch: "kernel" vs. "vmlinux-2.6.35-25-server"

Regarding this I have few questions:
1. Are these debug symbols intended to be used with lucid-backported
linux-kernels at all?
2. If they are not intended to be used with backported kernel then
where can I download debug symbols that match this backported kernel?
3. If they are intended to be used with backported kernel then what
could be wrong here (e.g. why stap fails, because it did work fine
with non-backported linux kernels)?

Ansis Atteka

More information about the Ubuntu-devel-discuss mailing list