From owner-freebsd-questions@FreeBSD.ORG  Tue Sep 23 22:56:43 2003
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 15F2816A4B3
	for <freebsd-questions@freebsd.org>;
	Tue, 23 Sep 2003 22:56:43 -0700 (PDT)
Received: from web20713.mail.yahoo.com (web20713.mail.yahoo.com
	[66.163.169.154])
	by mx1.FreeBSD.org (Postfix) with SMTP id 90CDD43F85
	for <freebsd-questions@freebsd.org>;
	Tue, 23 Sep 2003 22:56:42 -0700 (PDT)
	(envelope-from ath101a@yahoo.com)
Message-ID: <20030924055642.73347.qmail@web20713.mail.yahoo.com>
Received: from [66.219.73.30] by web20713.mail.yahoo.com via HTTP;
	Tue, 23 Sep 2003 22:56:42 PDT
Date: Tue, 23 Sep 2003 22:56:42 -0700 (PDT)
From: Andrew Thomas <ath101a@yahoo.com>
To: freebsd-questions@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Multiple USB ethernet devices on one usb port (with hub)?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Sep 2003 05:56:43 -0000

I've got an older Dell Latitude (CPi) laptop that I'm trying to
setup as a router/firewall/??? machine.  I'm using 5.1-R with a
compiled kernel that I'm slowly reducing to the minimum I need.

I decided to try using usb ethernet adapters since they seemed
so easy.  However, the laptop only has one usb port.  So, I
picked up a cheap 4 port hub so I could connect my two adapters
(both netgear FA120 devices).

The boot log shows that both devices are recognized.  However,
only one gets configured properly (it gets an address and
actually works).  The other adapter can't be configured (at
boot time or on the command line).  This is whether the devices
are plugged in before booting or after.  If I try to remove
either of them after booting I usually get a kernel panic and
a reboot.

Am I trying to do something that can't be done (do I need two
physical ports on the machine for this to work)?  Is this
merely a bug in 5.1 that would be fixed if I go to 'CURRENT'?
Does anyone have any comments?  For completeness I'm appending
the relevant lines from my config.

Any help would be appreciated.

Thanks

Andy

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus
and da
# USB Ethernet, requires mii
device          axe             # ASIX Electronics USB ethernet

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com