From owner-freebsd-stable@FreeBSD.ORG Thu May 3 13:30:53 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E52E16A417 for ; Thu, 3 May 2007 13:30:53 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9CD13C457 for ; Thu, 3 May 2007 13:30:52 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate1.punkt.de with ESMTP id l43DUpn8002686 for ; Thu, 3 May 2007 15:30:51 +0200 (CEST) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id l43DUmZT043426; Thu, 3 May 2007 15:30:48 +0200 (CEST) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id l43DUmpk043425; Thu, 3 May 2007 15:30:48 +0200 (CEST) (envelope-from ry93) Date: Thu, 3 May 2007 15:30:48 +0200 From: "Patrick M. Hausen" To: Michael Proto Message-ID: <20070503133048.GA42241@hugo10.ka.punkt.de> References: <20070503082309.GG8556@hugo10.ka.punkt.de> <4639DA64.9090608@jellydonut.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4639DA64.9090608@jellydonut.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:30:53 -0000 Hello! On Thu, May 03, 2007 at 08:49:40AM -0400, Michael Proto wrote: > > Is there a way to limit the number of probed entities for > > a certain pci device class to, say, 1 in my case? > > I'd like to use bge0 for FreeBSD but the kernel should leave > > everything else that might be a bge interface alone. > > Would the following in /boot/device.hints achieve what you are after? > > hint.bge.1.disabled="1" > hint.bge.2.disabled="1" That would be the feature I am seeking. Unfortunately this had no effect. I already tried. The latest statement I was able to find via Google claimed, that for FBSD 5.2 "you cannot disable PCI devices other than completely removing the driver". I don't know if this has changed since then. According to Fujitsu Siemens support they use something called UMP, 'Universal Management Port', to send packets to the management processor via a shared Ethernet PHY. In theory the OS should be able to use the NIC at the same time as the management processor. You can use either a true shared LAN for both or 802.1q to get both interfaces into seperate broadcast domains. The problem with FreeBSD seems to be that bge_reset() which is called by bge_attach() clears the UMP configuration area. According to them Linux does not do this. Since I like a dedicated physical management interface much better, anyway, my final solution is rather simple: In the BIOS setup program disable the LAN port on that interface while keeping the setting for "Management LAN" at "Enabled". This has the desired effect: remote management works and FreeBSD doesn't see the port at all. Costs you a NIC, though ;-) Thanks, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285