Project

General

Profile

Actions

Feature #1699

closed

debug symbols in autobuilt (sepia) kernels

Added by Sage Weil over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We need debug symbols in the .ko objects:


ubuntu@sepia12:~$ objdump -rdS /lib/modules/3.1.0-ceph-08929-g15a2015/kernel/fs/ceph/ceph.ko | head -n 100 | tail -n 10
                        c8: R_X86_64_PC32       destroy_workqueue-0x4
      cc:       48 8b 7b 48             mov    0x48(%rbx),%rdi
      d0:       e8 00 00 00 00          callq  d5 <destroy_fs_client+0x35>
                        d1: R_X86_64_PC32       destroy_workqueue-0x4
      d5:       48 8d 7b 58             lea    0x58(%rbx),%rdi
      d9:       e8 00 00 00 00          callq  de <destroy_fs_client+0x3e>
                        da: R_X86_64_PC32       bdi_destroy-0x4
      de:       48 8b 7b 30             mov    0x30(%rbx),%rdi
      e2:       e8 00 00 00 00          callq  e7 <destroy_fs_client+0x47>
                        e3: R_X86_64_PC32       mempool_destroy-0x4
Actions #1

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 14
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (30)
  • Translation missing: en.field_position set to 27
Actions #3

Updated by Sage Weil over 12 years ago

  • Assignee set to Alex Elder
Actions #4

Updated by Alex Elder almost 12 years ago

No progress on this. I have a vague memory that someone
else might have looked at this problem a while back (Dan?).

Maybe if we get someone tasked with sustained focus on our
build and packaging procedures this can get resolved.

Actions #5

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved

the symbols are there. the trick is for objdump to find them in the original path. do this:

sudo mkdir -p /srv/autobuild-ceph/gitbuilder.git
sudo ln -s /path/to/your/kernel/tree /srv/autobuild-ceph/gitbuilder.git/build

and objdump -rdS foo.ko will be wonderfully useful once again.

Actions

Also available in: Atom PDF