From owner-freebsd-bugs Wed Feb 28 15:50: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD90D37B71D for ; Wed, 28 Feb 2001 15:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1SNo1S51742; Wed, 28 Feb 2001 15:50:01 -0800 (PST) (envelope-from gnats) Received: from smtp-backup.targetnet.com (smtp-backup.targetnet.com [208.185.90.201]) by hub.freebsd.org (Postfix) with ESMTP id 4A47F37B71A for ; 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: Date: Wed, 28 Feb 2001 18:49:00 -0500 From: James FitzGibbon Reply-To: james@targetnet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/25464: if_xl.so kld does not work with "options BRIDGE" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 28 15:50:01 PST 2001 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message