Bug 217932

Summary: [RHEL4] Netdump for 8139cp driver
Product: Red Hat Enterprise Linux 4 Reporter: Chris Lalancette <clalance>
Component: kernelAssignee: Chris Lalancette <clalance>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bcleary, ddutile, jbaron, lwang, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0304 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-08 04:20:16 UTC Type: ---
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: 211071    
Attachments:
Description Flags
Preliminary patch to add netdump support to 8139cp driver
none
Second try for 8139cp netpoll patch
none
Second try for 8139cp netpoll patch none

Description Chris Lalancette 2006-11-30 20:11:44 UTC
+++ This bug was initially created as a clone of Bug #217930 +++

Description of problem:
Add support for netdump to the 8139cp driver.  Having the ability to netdump off
of this driver will allow fully virtualized RHEL-4 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.
     I currently have a patch that seems to enable netdump functionality (at
least, service netdump starts), and can dump the dmesg over the network, but
does not work for dumping the memory pages.  Work is in progress.

Comment 1 Daniel Riek 2007-01-03 19:42:36 UTC
I agree that this is imporant for completeness of our Virt solution and we are
doing it for 3.9... Is there any chance to get this done by the freeze date
2007-01-08?

Comment 2 Chris Lalancette 2007-01-03 19:55:21 UTC
It's possible that we can get this done, although it has been very
un-cooperative so far.  I'll do some more work on it this week and see if I can
get it working before the deadline.

Chris Lalancette

Comment 3 Chris Lalancette 2007-01-04 21:03:41 UTC
Created attachment 144841 [details]
Preliminary patch to add netdump support to 8139cp driver

This is my preliminary patch to get 8139cp netdump running for RHEL-4.	I'm
still testing it, but it looks good so far.

Comment 4 Chris Lalancette 2007-01-04 21:15:17 UTC
By the way, the upstream commit that fixed the original problem I was having is
here:

http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d15e9c4d9a75702b30e00cdf95c71c88e3f3f51e

That, combined with my modifications, seems to make it work.

Comment 5 Chris Lalancette 2007-01-08 14:52:02 UTC
Created attachment 145057 [details]
Second try for 8139cp netpoll patch

Comment 6 Chris Lalancette 2007-01-08 14:52:06 UTC
Created attachment 145058 [details]
Second try for 8139cp netpoll patch

Comment 8 Jason Baron 2007-01-10 19:19:57 UTC
committed in stream U5 build 42.40. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/


Comment 11 Chris Lalancette 2007-01-15 15:49:16 UTC
Don Domingo,
     We probably want to change this release note to be something like:

<quote> 
8139cp networking driver now supports netdump - this enables fully virtualized
RHEL-4 Xen guests to netdump
</quote>

Chris Lalancette

Comment 13 Jay Turner 2007-01-18 20:42:02 UTC
QE ack for RHEL4.5.

Comment 16 Red Hat Bugzilla 2007-05-08 04:20:16 UTC
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.

http://rhn.redhat.com/errata/RHBA-2007-0304.html