From nobody@FreeBSD.org  Thu Nov 14 19:44:24 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 0311DBCC
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:44:24 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id E6BD728B1
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:44:23 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAEJiNWv065938
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Nov 2013 19:44:23 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAEJiNTs065936;
	Thu, 14 Nov 2013 19:44:23 GMT
	(envelope-from nobody)
Message-Id: <201311141944.rAEJiNTs065936@oldred.freebsd.org>
Date: Thu, 14 Nov 2013 19:44:23 GMT
From: John Jasen <jjasen@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mellenox drivers and vlan usage causes kernel panic and reboot 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183970
>Category:       kern
>Synopsis:       [ofed] [vlan] [panic] mellanox drivers and vlan usage causes kernel panic and reboot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 19:50:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Apr 20 23:30:00 UTC 2014
>Originator:     John Jasen
>Release:        9.2
>Organization:
>Environment:
FreeBSD fbsd-xge1 9.2-RELEASE FreeBSD 9.2-RELEASE #2: Thu Nov 14 11:09:49 EST 2013     root@fbsd-xge1:/usr/obj/usr/src/sys/FBSDFW  amd64
>Description:
additions to GENERIC kernel config:
<snip>
options         OFED
options         SDP
options         IPOIB_CM

device          ipoib
device          mlx4ib
device          mlxen
device          mthca
<snip>

Upon boot, when running:

ifconfig {igb0,ix0}.$vlanID create

the system kernel panics and reboots. References to vlan and mlx drivers are included in the output.

Recompiling without the above options, rebooting, and running an ifconfig vlan create does NOT crash the kernel.

>How-To-Repeat:
enable OFED drivers, per:

https://wiki.freebsd.org/InfiniBand

reboot

as root, run ifconfig ix0.22 create
<<panic>>



>Fix:
perhaps reference bug kern/181931?



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->open 
State-Changed-By: linimon 
State-Changed-When: Sun Apr 20 01:48:45 UTC 2014 
State-Changed-Why:  
reclassify and assign. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 20 01:48:45 UTC 2014 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=183970 

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/183970: [ofed] [vlan] [panic] mellanox drivers and vlan
 usage causes kernel panic and reboot
Date: Sun, 20 Apr 2014 18:23:44 -0500

 ----- Forwarded message from John Jasen <jjasen@gmail.com> -----
 
 Date: Sun, 20 Apr 2014 13:26:47 -0400
 From: John Jasen <jjasen@gmail.com>
 To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org
 Subject: Re: kern/183970: [ofed] [vlan] [panic] mellanox drivers and vlan usage causes kernel panic and reboot
 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
 
 I've not checked 9.2, but the 181931 patch has been applied to
 10-0-release, and it also fixes my problem.
 
 ----- End forwarded message -----
>Unformatted:
