Bug 678794

Summary: pktgen makes machine panic
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Pirko <jpirko>
Component: kernelAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Liang Zheng <lzheng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: jpirko, kzhang, lzheng, nhorman, rkhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-214.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 12:43:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 750914    
Attachments:
Description Flags
pktgen.sh
none
trace none

Description Jiri Pirko 2011-02-19 18:49:11 UTC
Created attachment 479714 [details]
pktgen.sh

Version-Release number of selected component (if applicable):
2.6.32-71.el6.x86_64 (same with 2.6.32-71.14.1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. create kvm guest using vitr-manager and and add 3 more NICs to it (all bridged to virbr0)
2. run pktgen.sh script on bare-metal

Actual results:
panic

Expected results:
no panic

Additional info:

Comment 1 Jiri Pirko 2011-02-19 18:50:43 UTC
Created attachment 479715 [details]
trace

Comment 3 RHEL Program Management 2011-04-04 02:48:51 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Neil Horman 2011-07-18 13:46:41 UTC
I bet this has something to do with the way pktgen reuses skbs.  Jiri, I presume the mac address  00:16:e6:54:8f:6f in the pktgen script was one of the guest interfaces?  Or was it randomly selected to force a flood forward?

Comment 5 Jiri Pirko 2011-07-18 14:13:27 UTC
(In reply to comment #4)
> I bet this has something to do with the way pktgen reuses skbs.  Jiri, I
> presume the mac address  00:16:e6:54:8f:6f in the pktgen script was one of the
> guest interfaces?  Or was it randomly selected to force a flood forward?

IIRC it was mac of different host. I did not change macs manually and this is not from virt pool. 0016E6 GIGA-BYTE TECHNOLOGY - looks like my home pc.

Comment 6 Neil Horman 2011-07-18 15:12:16 UTC
ok, copy that, thanks

Comment 7 Neil Horman 2011-07-19 10:55:13 UTC
*** Bug 722846 has been marked as a duplicate of this bug. ***

Comment 8 Neil Horman 2011-07-19 20:00:53 UTC
sent upstream:
http://marc.info/?l=linux-netdev&m=131110521220493&w=2

Comment 9 Neil Horman 2011-07-25 19:52:46 UTC
sent a new patch version upstream:
http://marc.info/?l=linux-netdev&m=131162314207168&w=2

Comment 10 Neil Horman 2011-07-28 10:51:07 UTC
The upstream version has been comitted, I'll start backporting shortly.

Comment 11 Neil Horman 2011-07-28 15:06:20 UTC
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3523481

Test build

Comment 12 Neil Horman 2011-07-28 17:40:35 UTC
ugh, ABI issue.  priv_flags is all used up in RHEL6. So I need to wait for Jiri's ABI fixups for the net_device struct to get integrated so that I can create an extended flag area.

Comment 13 RHEL Program Management 2011-08-01 13:50:14 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 14 Neil Horman 2011-08-05 13:57:51 UTC
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3537827

New build with The abi changes kyle recently comitted.

Comment 15 Neil Horman 2011-08-05 14:52:00 UTC
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3537893
Odd build error, resubmitting

Comment 16 Aristeu Rozanski 2011-10-26 19:46:08 UTC
Patch(es) available on kernel-2.6.32-214.el6

Comment 21 Neil Horman 2011-11-04 12:48:13 UTC
*** Bug 747199 has been marked as a duplicate of this bug. ***

Comment 22 errata-xmlrpc 2011-12-06 12:43:55 UTC
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