Bug 604151 - Kdump initrd should have only firmware for the drivers packed in initrd
Kdump initrd should have only firmware for the drivers packed in initrd
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kexec-tools (Show other bugs)
6.0
All Linux
high Severity medium
: rc
: ---
Assigned To: Cong Wang
Boris Ranto
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-15 10:10 EDT by Vivek Goyal
Modified: 2013-09-29 22:17 EDT (History)
6 users (show)

See Also:
Fixed In Version: kexec-tools-2.0.0-90.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 16:00:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed patch (777 bytes, patch)
2010-06-18 05:05 EDT, Cong Wang
no flags Details | Diff

  None (edit)
Description Vivek Goyal 2010-06-15 10:10:44 EDT
Description of problem:

Currently we seem to be packing all the firmware blobs in kdump initrd by default and this led to increase in size of kdump initrd from 3.3 MB to 8 MB. If we can modify "mkdumprd" to include only firmware for the drivers packed into initrd, it can reduce the size of initrd and reduce the memory requirement for kdump kernel. 

Version-Release number of selected component (if applicable):

kexec-tools-2.0.0-75.el6.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 3 RHEL Product and Program Management 2010-06-15 10:33:11 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.
Comment 4 Cong Wang 2010-06-17 05:18:15 EDT
It seems that using udev is the only way to know which driver needs which firmware.
Comment 5 Neil Horman 2010-06-17 07:24:46 EDT
modinfo can tell you all the firmware files that a given module can request
Comment 6 Cong Wang 2010-06-18 04:47:31 EDT
(In reply to comment #5)
> modinfo can tell you all the firmware files that a given module can request    

Ah, got it. thanks.
Comment 7 Cong Wang 2010-06-18 05:05:59 EDT
Created attachment 425051 [details]
proposed patch

Please try if this patch addresses your concern.
Comment 8 Cong Wang 2010-06-22 03:04:43 EDT
On my system, this reduces kdump initrd from 9.1M to 4.4M, more than 50%!
Comment 15 releng-rhel@redhat.com 2010-11-10 16:00:17 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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