Red Hat Bugzilla – Bug 217930
[RHEL3] Netdump for 8139cp driver
Last modified: 2007-11-30 17:07:10 EST
Description of problem:
Add support for netdump to the 8139cp driver. While I understand it is very
late in RHEL-3, having the ability to netdump off of this driver will allow
Fully virtualized RHEL-3 guests to dump core over the network. Given that we
don't have any other currently working solution for dumping core on fully
virtualized guests, this is the simplest way to add this functionality.
The patch that I will attach below seems to make this work on RHEL-3; I
have not extensively tested it, but it definitely works in the basic case.
Created attachment 142515 [details]
Add netpoll/netdump functionality to the 8139cp driver
Created attachment 144048 [details]
New patch to add netdump support to 8139cp
This patch is a little closer to what RHEL-4 does in cp_rx_poll.
Created attachment 147255 [details]
A new, simpler patch to enable 8139cp netdump
This is a completely new patch to enable netdump/netconsole for the 8139cp,
with lots of comments from Jeff Moyer. It is basically just a simple
poll_controller routine, along with 2 bugfixes, 1 for using spin_lock_irqsave
(so we don't enable interrupts at bad times), and one for removing a printk
that can trigger a hard hang. Both fixes are in the upstream driver.
A fix for this problem has just been committed to the RHEL3 U9
patch pool this evening (in kernel version 2.4.21-47.6.EL).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.