Bug 706969 - Please split kernel debuginfo packages so that VDSO debuginfos are separate
Summary: Please split kernel debuginfo packages so that VDSO debuginfos are separate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-23 16:03 UTC by Denys Vlasenko
Modified: 2013-04-05 19:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-05 19:49:37 UTC
Type: ---


Attachments (Terms of Use)

Description Denys Vlasenko 2011-05-23 16:03:01 UTC
Practically every executable uses VDSO. When abrt analyses coredumps, it tries to provide all debuginfos needed for the crashed executable, and for every library it uses.

abrt goes through these steps (real example from my system):

$ eu-unstrip --core=coredump -n
0x8048000+0x7000 e2115d643e7e6a8f07da04d58ab0ad6cd38e344e@0x8048178 - - [exe]
0x80f000+0x1000 2ca8544b0ff9269420c23a0ac22da52b7894148b@0x80f210 . - linux-gate.so.1
0xc7e000+0x190000 eb23f629202ba176f8314f37214fdc95ce568115@0xc7e184 /lib/libc.so.6 - libc.so.6
0xe8d000+0x22000 2f7a7d133eecb3a65f9ca60bdbe9e8df4553fce6@0xe8d124 /lib/ld-linux.so.2 - ld-linux.so.2

Ok, so we need (among others) debuginfo for build id 2ca8544b0ff9269420c23a0ac22da52b7894148b.

Yum repository tells that:

/usr/lib/debug/.build-id/2c/a8544b0ff9269420c23a0ac22da52b7894148b is a symlink to ../../../../../lib/modules/2.6.38.6-26.rc1.fc15.i686.PAE/vdso/vdso32-sysenter.so,

/usr/lib/debug/.build-id/2c/a8544b0ff9269420c23a0ac22da52b7894148b.debug is a symlink to ../../lib/modules/2.6.38.6-26.rc1.fc15.i686.PAE/vdso/vdso32-sysenter.so.debug,

and these files are available from: kernel-PAE-debuginfo-2.6.38.6-26.rc1.fc15.i686.rpm.

Which is correct, and abrt will successfully download and use it. The problem is that this RPM is 200+ megabytes in size.

abrt caches downloaded data, but it helps only so much:
with every kernel update it will be fetching new kernel debuginfo PPM.

Is it possible to split kernel debuginfo packages so that VDSO debuginfos are in a separate debuginfo RPM from the rest?

This would reduce abrt download sizes *a lot*.

Comment 1 Chuck Ebbert 2011-05-24 13:13:49 UTC
It looks like that new package would still depend on kernel-debuginfo-common without even more work to split out the source files for the VDSOs.

Comment 2 Denys Vlasenko 2011-12-15 13:32:08 UTC
(In reply to comment #1)
> It looks like that new package would still depend on kernel-debuginfo-common
> without even more work to split out the source files for the VDSOs.

For abrt it's not a problem, since abrt does not install packages - it downloads them and unpacks by hand. Thus, abrt ignores dependencies, it wouldnt download kernel-debuginfo-common rpm.

Even if someone will properly "yum install" this new package in order to have VDSO debuginfo installed on his system, the dependent download of kernel-debuginfo-common rpm would be ~40M, whereas as currently packaged in F15, one needs to install kernel-PAE-debuginfo rpm which is ~240M. Thus, requiring "only" kernel-debuginfo-common will still be a big win.

Comment 3 Fedora End Of Life 2013-04-03 15:36:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19


Note You need to log in before you can comment on or make changes to this bug.