Bug 678794 - pktgen makes machine panic
Summary: pktgen makes machine panic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Neil Horman
QA Contact: Liang Zheng
URL:
Whiteboard:
: 722846 (view as bug list)
Depends On:
Blocks: 750914
TreeView+ depends on / blocked
 
Reported: 2011-02-19 18:49 UTC by Jiri Pirko
Modified: 2015-05-05 01:22 UTC (History)
5 users (show)

Fixed In Version: kernel-2.6.32-214.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 12:43:55 UTC
Target Upstream Version:


Attachments (Terms of Use)
pktgen.sh (904 bytes, text/plain)
2011-02-19 18:49 UTC, Jiri Pirko
no flags Details
trace (3.95 KB, text/plain)
2011-02-19 18:50 UTC, Jiri Pirko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1530 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux 6 kernel security, bug fix and enhancement update 2011-12-06 01:45:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.