Bug 1232206

Summary: sizeof - kernel core/modules x 10
Product: [Fedora] Fedora Reporter: poma <pomidorabelisima>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, awilliam, fche, gansalmon, itamar, jakub, jan.kratochvil, jistone, jonathan, kernel-maint, kparal, madhu.chinakonda, mchehab, me, mjw, mjw, pbrobinson, roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: elfutils-0.163-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1232288 (view as bug list) Environment:
Last Closed: 2015-06-19 05:20:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1232288    

Description poma 2015-06-16 09:45:37 UTC
# du -hs /lib/modules/4.0.5-300.fc22.i686/ | awk '{print $1}'
42M

kernel-core-4.0.5-300.fc22.i686.rpm  ......  18M
kernel-modules-4.0.5-300.fc22.i686.rpm  ...  17M

https://kojipkgs.fedoraproject.org/packages/kernel/4.0.5/300.fc22/i686/
~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~

# du -hs /lib/modules/4.1.0-0.rc7.git0.1.fc23.x86_64/ | awk '{print $1}'
53M

kernel-core-4.1.0-0.rc7.git0.1.fc23.x86_64.rpm  ......  19M
kernel-modules-4.1.0-0.rc7.git0.1.fc23.x86_64.rpm  ...  18M

https://kojipkgs.fedoraproject.org/packages/kernel/4.1.0/0.rc7.git0.1.fc23/x86_64/
~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~ ~~ ~ ~~ ~~~

# du -hs /lib/modules/4.1.0-0.rc7.git1.1.fc23.x86_64/ | awk '{print $1}'
439M

kernel-core-4.1.0-0.rc7.git1.1.fc23.x86_64.rpm  ......  177M
kernel-modules-4.1.0-0.rc7.git1.1.fc23.x86_64.rpm  ...  218M

http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/Packages/k/
~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~ ~~ ~ ~~ ~~~ ~~~~

# du -hs /lib/modules/4.1.0-0.rc8.git0.1.fc23.x86_64/ | awk '{print $1}'
438M

kernel-core-4.1.0-0.rc8.git0.1.fc23.x86_64.rpm  ......  176M
kernel-modules-4.1.0-0.rc8.git0.1.fc23.x86_64.rpm  ...  218M

https://kojipkgs.fedoraproject.org/packages/kernel/4.1.0/0.rc8.git0.1.fc23/x86_64/
~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~ ~~~~~~~ ~~~~~~ ~~~~~ ~~~~ ~~~ ~~ ~ ~~ ~~~


218 ÷ 18 = 12.111111111
439 ÷ 53 = 8.283018868

> = 4.1.0-0.rc7.git1.1 cca. 10 x sizeof
~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~


Rawhide local build is OK:

kernel-modules-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm  ...  18M
kernel-core-4.1.0-0.rc8.git0.500.fc23.x86_64.rpm  ......  20M


$ du -hs /lib/modules/4.1.0-0.rc8.git0.500.fc23.x86_64/ | awk '{print $1}'
53M

$ rpm -qf /bin/eu-strip 
elfutils-0.162-1.fc23.x86_64

$ rpm -qf /usr/bin/strip
binutils-2.25-10.fc23.x86_64

Comment 1 Josh Boyer 2015-06-16 11:03:52 UTC
Josh Stone believes this is a regression in elf-utils:

https://lists.fedoraproject.org/pipermail/kernel/2015-June/005886.html

Comment 2 Mark Wielaard 2015-06-16 12:27:08 UTC
Josh is right. I added a patch and am building elfutils-0.162-2 right now for rawhide. I'll cancel to update for f22. I like have an upstream release with this fix in and will upload that later this week.

Comment 3 Adam Williamson 2015-06-16 16:35:03 UTC
The elfutils build is done, it'd be good if we could get a kernel package rebuild soon so we can see the impact on the nightly image sizes for 0617.

Comment 4 poma 2015-06-19 05:20:15 UTC
$ du -h Fedora-Live-Xfce-x86_64-rawhide-20150618.iso | awk '{print $1}'
886M

$ rpm -q dracut elfutils
dracut-043-1.fc23.x86_64
elfutils-0.162-2.fc23.x86_64

$ du -hs /lib/modules/4.1.0-0.rc8.git0.2.fc23.x86_64/ | awk '{print $1}'
53M


kernel-core-4.1.0-0.rc8.git0.2.fc23.x86_64.rpm  ......  19M
kernel-modules-4.1.0-0.rc8.git0.2.fc23.x86_64.rpm  ...  18M

https://kojipkgs.fedoraproject.org/packages/kernel/4.1.0/0.rc8.git0.2.fc23/x86_64/


Thanks guys.

Comment 5 Fedora Update System 2015-06-19 14:53:48 UTC
elfutils-0.163-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/elfutils-0.163-1.fc22

Comment 6 Fedora Update System 2015-06-30 20:11:08 UTC
elfutils-0.163-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-07-08 15:06:41 UTC
elfutils-0.163-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/elfutils-0.163-1.fc21

Comment 8 Fedora Update System 2015-07-29 01:35:21 UTC
elfutils-0.163-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.