From maikel@matrix.myst.dohd.org  Tue Jan 30 09:50:33 2001
Return-Path: <maikel@matrix.myst.dohd.org>
Received: from matrix.myst.dohd.org (e194106.upc-e.chello.nl [213.93.194.106])
	by hub.freebsd.org (Postfix) with ESMTP id 71AD137B491
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Jan 2001 09:50:32 -0800 (PST)
Received: (from maikel@localhost)
	by matrix.myst.dohd.org (8.11.1/8.11.1) id f0UHoVY25152;
	Tue, 30 Jan 2001 18:50:31 +0100 (CET)
	(envelope-from maikel)
Message-Id: <200101301750.f0UHoVY25152@matrix.myst.dohd.org>
Date: Tue, 30 Jan 2001 18:50:31 +0100 (CET)
From: maikel@myst.dohd.org
Reply-To: maikel@myst.dohd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Reboot when using vlans on a xl card without an ip on NIC
X-Send-Pr-Version: 3.2

>Number:         24741
>Category:       kern
>Synopsis:       Reboot when using vlans on a xl card without an ip on NIC
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 10:00:01 PST 2001
>Closed-Date:    Thu May 31 00:05:19 PDT 2001
>Last-Modified:  Thu May 31 00:11:07 PDT 2001
>Originator:     Maikel Verheijen
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Unorganized :)
>Environment:

A regular FreeBSD 4.2-stable machine, with 2 3com xl cards on a cisco
catalyst with a trunc port.

>Description:

My machine reboots if I configure an IP number on a vlan, which vlandevice
is not configured with an ip number.
Eg:

# ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:01:02:11:ad:e4 
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
# ifconfig vlan0 vlan 120 vlandev xl0 
# ifconfig vlan0 10.10.10.2 netmask 255.255.255.0
<instant reboot>

If I run the ifconfig command on the vlan interface with ip numbers, it
will reboot the machine. It doesn't care if I combine the vlan defenition
and the ip address config, it will crash the machine as well.


>How-To-Repeat:

See above.

>Fix:

If you put an IP number on the vlandevice, it will work.



>Release-Note:
>Audit-Trail:

From: Yar Tikhiy <yar@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, maikel@myst.dyn.dohd.org
Cc:  
Subject: Re: kern/24741: Reboot when using vlans on a xl card without an ip on NIC
Date: Wed, 28 Mar 2001 12:28:50 +0400

 Does your machine just reboot, or does it panic first?
 If it panics, would you mind obtaining a kernel stack trace,
 as it's described in the FreeBSD Handbook chapter 23.1, and
 sending it as a followup to this PR?
 
 Yar
State-Changed-From-To: open->closed 
State-Changed-By: yar 
State-Changed-When: Thu May 31 00:05:19 PDT 2001 
State-Changed-Why:  
The PR seems to be related closely to i386/25478, which 
has been closed. Additionally, the originator hasn't 
provided details for two months. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24741 
>Unformatted:
