From james@targetnet.com  Wed Feb 28 15:49:05 2001
Return-Path: <james@targetnet.com>
Received: from smtp-backup.targetnet.com (smtp-backup.targetnet.com [208.185.90.201])
	by hub.freebsd.org (Postfix) with ESMTP id 4A47F37B71A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Feb 2001 15:49:04 -0800 (PST)
	(envelope-from james@targetnet.com)
Received: from gw-101.tor1.targetnet.com ([149.99.36.66] helo=wrk-149.tor1.targetnet.pvt)
	by smtp-backup.targetnet.com with esmtp (Exim 3.13 #1)
	id 14YGL4-000O0v-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 28 Feb 2001 18:48:58 -0500
Received: from james by wrk-149.tor1.targetnet.pvt with local (Exim 3.16 #1)
	id 14YGL6-000K2v-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 28 Feb 2001 18:49:00 -0500
Message-Id: <E14YGL6-000K2v-00@wrk-149.tor1.targetnet.pvt>
Date: Wed, 28 Feb 2001 18:49:00 -0500
From: James FitzGibbon <james@targetnet.com>
Reply-To: james@targetnet.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: if_xl.so kld does not work with "options BRIDGE"
X-Send-Pr-Version: 3.2

>Number:         25464
>Category:       kern
>Synopsis:       if_xl.so kld does not work with "options BRIDGE"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 15:50:01 PST 2001
>Closed-Date:    Sat Mar 2 09:09:27 PST 2002
>Last-Modified:  Sat Mar 02 09:10:26 PST 2002
>Originator:     James FitzGibbon
>Release:        FreeBSD 4.2-STABLE-20010227-JPSNAP
>Organization:
Targetnet.com Inc.
>Environment:

PIII system
4x 3c905B ethernet cards
attempting to set up a two cluster bridge
kernel configured to use miibus and if_xl as modules
/etc/sysctl.conf configured for bridging

>Description:

I was attempting to build a bridge using the above configuration.  Packets
were visible on either side of the bridge, but nothing would go across the
interfaces.  'netstat -p bdg' showed nothing but the header, and ifconfig of
the interface did not show the 'PROMISC' flag.

After some hours, I went back to the start and build a new kernel based on
GENERIC with just 'options BRIDGE' added.  This worked.  After attempting to
give myself a concussion on the desk, I compared the kernel configs line for
line and could only notice that the miibus and if_xl drivers were in-kernel
in the successful config and modular in the failing config.  Making the
drivers in-kernel in my original kernel config made bridging work.

>How-To-Repeat:

Build a bridging machine with the miibus and xl drivers but do not build
them into the kernel.  Reboot and attempt to pass packets over the bridge.

>Fix:

Build the drivers into the kernel as a stopgap solution and document the
fact that this step is required.  Long term, figure out why the driver
doesn't work in this configuration.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Wed Nov 21 10:37:23 PST 2001 
State-Changed-Why:  

Does this problem still exist with more recent sources? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25464 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sat Mar 2 09:09:27 PST 2002 
State-Changed-Why:  

Feedback timeout. 

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