Bug 1958587
Summary: | the kdump initramfs includes unnecessary NIC drivers for SSH/NFS dumping target | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Coiby <coxu> | |
Component: | kexec-tools | Assignee: | Coiby <coxu> | |
Status: | CLOSED ERRATA | QA Contact: | xiaoying yan <yiyan> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.4 | CC: | cye, ruyang | |
Target Milestone: | beta | Keywords: | Triaged | |
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | kexec-tools-2.0.26-6.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2120186 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-14 15:47:10 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: | 2148318 | |||
Bug Blocks: |
Description
Coiby
2021-05-09 00:06:31 UTC
Hi Coiby, I've noticed this issue before, so I opened a PR to dracut to add a `--hostonly-nic` option: https://github.com/dracutdevs/dracut/pull/957 It's merged, however kexec-tools part also needs a patch. Basically `mkdumprd` have know which NIC is actually needed by kdump, and pass that to dracut with this `--hostonly-nic` argument. And, we also need to detect network changes that will change the NIC that have access to the dump target, and rebuild the initramfs if it doesn't contain the NIC driver needed. Can you help try if this argument works as expected? We may put some effort into this if it helps a lot. (In reply to Kairui Song from comment #1) > Hi Coiby, > > I've noticed this issue before, so I opened a PR to dracut to add a > `--hostonly-nic` option: > https://github.com/dracutdevs/dracut/pull/957 > Thanks for the work! > It's merged, however kexec-tools part also needs a patch. Basically > `mkdumprd` have know which NIC is actually needed by kdump, and pass that to > dracut with this `--hostonly-nic` argument. > > And, we also need to detect network changes that will change the NIC that > have access to the dump target, and rebuild the initramfs if it doesn't > contain the NIC driver needed. > > Can you help try if this argument works as expected? We may put some effort > into this if it helps a lot. Sure, I'll finish the kexec-tools part. Note when a driver manage multiple NICs, memory resources are still allocated for the the inactive NICS as shown in https://bugzilla.redhat.com/show_bug.cgi?id=1936277. If we could fix this situation, https://bugzilla.redhat.com/show_bug.cgi?id=1962421 could be resolved automatically. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (kexec-tools bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7080 |