Bug 212399

Summary: Marvell ethernet lost promisc state
Product: [Fedora] Fedora Reporter: Bruno A. Crespo <bruno>
Component: kernelAssignee: Andy Gospodarek <agospoda>
Status: CLOSED UPSTREAM QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 5CC: davej, linville, peterm, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-08 23:15:01 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:
Attachments:
Description Flags
proposed patch
none
netdev patch none

Description Bruno A. Crespo 2006-10-26 17:46:18 UTC
Description of problem:

After a link down / link up cicle the ethernet card loses the promisc state, 
ifconfig shows PROMISC, but the programs doesn't receive packets.  Unset and 
reset the promisc state solves the problem.

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

uname -a:
Linux servidor.fuenlabrada.calvoymunar.com 2.6.17-1.2187_FC5 #1 Mon Sep 11 
01:17:06 EDT 2006 i686 athlon i386 GNU/Linux

Ethernet card:
Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
How reproducible:


Steps to Reproduce:
1. start tcpdump
2. disconnect and connect the ethernet cable
3. start a rpl client in the network
4. tcpdump doesn't show the packets
5. restart tcpdump and it sees the packets
  
Actual results:

Loses promisc status.

Expected results:

Maintains promisc status
Additional info:

Comment 1 Andy Gospodarek 2006-11-28 17:30:27 UTC
Created attachment 142309 [details]
proposed patch

I will probably push this patch upstream since it should resolve your issue.  

I would like to test it out first, but don't have access to any hardware today.
 Would a test-build be helpful or would you like to try this patch yourself? 
If you would like a test-build let me know what ARCH you would like and I can
put one together.

Comment 2 Bruno A. Crespo 2006-11-28 19:16:32 UTC
The machine that has the problem is a production server, please, give me two 
or three days to schedule a reboot.  Thanks.

Comment 3 Andy Gospodarek 2006-11-30 17:07:41 UTC
I posted the patch from Comment #1 to netdev since it seemed fine to me.

Comment 4 Andy Gospodarek 2006-12-20 21:21:54 UTC
Created attachment 144141 [details]
netdev patch

This patch was proposed and accepted upstream as a result of the patch I
posted.

Comment 5 Andy Gospodarek 2007-02-01 19:43:24 UTC
Were you able to build a test kernel with the patch from Comment #4 and verify
that it resolved your issue?

Comment 6 Andy Gospodarek 2007-03-08 23:15:01 UTC
This fix should be in 2.6.20.