From tim@robbins.dropbear.id.au  Wed Jun 11 02:49:29 2003
Return-Path: <tim@robbins.dropbear.id.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C401637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jun 2003 02:49:29 -0700 (PDT)
Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 341E943F85
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jun 2003 02:49:29 -0700 (PDT)
	(envelope-from tim@robbins.dropbear.id.au)
Received: from dilbert.robbins.dropbear.id.au (210.50.201.106) by smtp02.syd.iprimus.net.au (7.0.015)
        id 3EDD520900133246 for FreeBSD-gnats-submit@freebsd.org; Wed, 11 Jun 2003 19:49:27 +1000
Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000)
	id 27753C911; Wed, 11 Jun 2003 19:42:57 +1000 (EST)
Message-Id: <20030611094257.27753C911@dilbert.robbins.dropbear.id.au>
Date: Wed, 11 Jun 2003 19:42:57 +1000 (EST)
From: Tim Robbins <tim@robbins.dropbear.id.au>
Reply-To: Tim Robbins <tim@robbins.dropbear.id.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Easily reproduceable mac_lomac panic
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53195
>Category:       kern
>Synopsis:       Easily reproduceable mac_lomac panic
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 02:50:19 PDT 2003
>Closed-Date:    Sun May 02 14:58:27 PDT 2004
>Last-Modified:  Sun May 02 14:58:27 PDT 2004
>Originator:     Tim Robbins
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD 5.1-RELEASE i386

>Description:

panic: mac_lomac_dominate_element: a->mle_type invalid

>How-To-Repeat:

1. Compile kernel with "options MAC".
2. From the bootloader, "load mac_lomac", "boot"
3. Log in as root, run "ifconfig lnc0 maclabel lomac/equal" (replace lnc0 with
   appropriate network interface name)
4. Trying to log in with SSH causes the panic mentioned above.

>Fix:

Not known.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Oct 11 01:12:53 PDT 2003 
Responsible-Changed-Why:  
Assign to trustebsd developer 

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

From: Tim Robbins <tjr@freebsd.org>
To: rwatson@freebsd.org
Cc: bug-followup@freebsd.org
Subject: Re: kern/53195
Date: Fri, 7 Nov 2003 22:51:29 +1100

 It doesn't seem to panic anymore, but the output of ifconfig doesn't
 look quite right:
 
 # ifconfig lnc0 maclabel lomac/equal
 # ifconfig lnc0
 lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
         ether 00:0c:29:05:68:b3
         maclabel lomac/equal(low-high-
 
 BTW, lomac is not listed in /etc/mac.conf by default.
 
 
 Tim

From: Robert Watson <rwatson@freebsd.org>
To: Tim Robbins <tjr@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/53195
Date: Sat, 8 Nov 2003 12:48:31 -0500 (EST)

 On Fri, 7 Nov 2003, Tim Robbins wrote:
 
 > It doesn't seem to panic anymore, but the output of ifconfig doesn't
 > look quite right:
 > 
 > # ifconfig lnc0 maclabel lomac/equal
 > # ifconfig lnc0
 > lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 >         inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
 >         ether 00:0c:29:05:68:b3
 >         maclabel lomac/equal(low-high-
 > 
 > BTW, lomac is not listed in /etc/mac.conf by default.
 
 I think the earlier fixes I merged may have handled this panic.  However,
 I've merged a fix to the syntax above: it should read
 "lomac/equal(low-high)" with a closing paren, not dash.  I've also merged
 the Makefile to install the lomac label settings per your comments out of
 band.  I'll add the lomac label type to the default mac.conf.
 
 Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
 robert@fledge.watson.org      Network Associates Laboratories
 
 
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Sun May 2 14:57:13 PDT 2004 
State-Changed-Why:  

Problems appear to be resolved, with no further notes from submitter. 
Closing the PR, but can re-open it if needed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=53195 
>Unformatted:
