Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Kdump failed with be2net when using NFS as dump target:
========================================================
Scanning logical volumes
Reading all physical volumes. This may take a while...
Found volume group "vg_hpbl465cg701" using metadata type lvm2
Activating logical volumes
3 logical volume(s) in volume group "vg_hpbl465cg701" now active
Free memory/Total memory (free %): 76872 / 119672 ( 64.2356 )
mapping eth0 to eth0
be2net 0000:04:00.0: mccq poll timed out
<=============================Hang
Version-Release number of selected component (if applicable):
RHEL6.2-20110907.1+kernel-2.6.32-196+kexec-tools-2.0.0-199
How reproducible:
100%
Steps to Reproduce:
1.Setup Kdump
2.Config Kdump target as NFS
3.Trigger crash
Actual results:
Hang
Expected results:
vmcore saved
Additional info:
https://beaker.engineering.redhat.com/recipes/268566https://beaker.engineering.redhat.com/recipes/268568https://beaker.engineering.redhat.com/recipes/268288
From developer, please try if this could be a workaround.
1) boot the system
2) rmmod be2iscsi
3) touch /etc/kdump.conf ; service kdump restart
4) perform crash
Created attachment 524195[details]
Kdump with be2iscsi loaded
This is situation when kdump image is created with be2iscsi loaded -> kdump image also loads be2iscsi.
Result: Kernel hangs
Created attachment 524196[details]
Kdump without be2iscsi
This is situation when kdump image is created with be2iscsi unloaded -> kdump image does not load be2iscsi.
Result: Image successfully created
Jay, this was supposed to be fixed with the patches from here https://bugzilla.redhat.com/show_bug.cgi?id=688076 right? But it looks like the kernel in this bz 196 has the patches (688076 indicates the patches went into 195).
Yes and I had verified it works.
I am wondering if there can be anything to do with NFS because there is a kernel crash in be2iscsi and Redhat was able to save the vmcore
https://bugzilla.redhat.com/show_bug.cgi?id=738934
(In reply to comment #7)
> Jay, this was supposed to be fixed with the patches from here
> https://bugzilla.redhat.com/show_bug.cgi?id=688076 right? But it looks like the
> kernel in this bz 196 has the patches (688076 indicates the patches went into
> 195).
This is kdump issue not kexec. In kexec case be2iscsi_shutdown is called, but in kdump case not... So the patches in bug #688076 cannot fix this issue.
(In reply to comment #8)
> Yes and I had verified it works.
>
> I am wondering if there can be anything to do with NFS because there is a
> kernel crash in be2iscsi and Redhat was able to save the vmcore
>
> https://bugzilla.redhat.com/show_bug.cgi?id=738934
I don't know, but the vmcore was probably saved through different NIC...
After several testing rounds I found that be2iscsi could be loaded in kdump initrd, but it has to be loaded *BEFORE* be2net. When the be2iscsi is loaded in kdump environment it is in "crashdump mode" (according source code) and calls the function beiscsi_pci_soft_reset.
Jay, could it be possible that after this reset that the already initialized NIC part of the adapter becomes unresponsive?
This is happening because I am resetting the chip in kdump mode. So, the be2net is left hanging to resources the chip doesn't recognize.
I have reworked the code to do Function Level Reset ,so, only a particular function is reset. Am compiling it now, will try it out and update
Created attachment 525853[details]
Fix for kdump failure
This patch should fix the issue.
Now, doing function level reset instead of chip reset when in crash dump mode
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2011-1530.html