From owner-freebsd-questions@FreeBSD.ORG Tue Sep 18 11:49:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 725DE106564A for ; Tue, 18 Sep 2012 11:49:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3898FC0C for ; Tue, 18 Sep 2012 11:49:35 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TDwJ7-0008DJ-KR for freebsd-questions@freebsd.org; Tue, 18 Sep 2012 13:49:37 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2012 13:49:37 +0200 Received: from jb1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2012 13:49:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Tue, 18 Sep 2012 11:49:17 +0000 (UTC) Lines: 37 Message-ID: References: <84002D87687695781C9FBC88@Gorans-MacBook-Pro.local> <6F15C648AD3EC7F2C7CED391@Gorans-MacBook-Pro.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1) Subject: Re: exclude device from bus probe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2012 11:49:36 -0000 Göran Löwkrantz ismobile.com> writes: > > Thanks for the correction but getting the hint to work didn't help at all. > That removed both interfaces and thus all network connectivity. And it > still didn't work with the IPMI as the remote console still disappeared > when the probing started. The serial port worked up until beasty. Well, there is something you could try (I have not tested it myself and I am not sure if this does not apply to post-boot device discovery only): devd(8), devd.conf(5), DEVFS.RULES(5) See examples: $ cat /etc/devd.conf ... # An entry like this might be in a different file, but is included here # as an example of how to override things. Normally 'ed50' would match # the above attach/detach stuff, but the value of 100 makes it # hard wired to 1.2.3.4. attach 100 { device-name "ed50"; action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000"; }; detach 100 { device-name "ed50"; }; ... So, just thinking loudly: attach 100 { device-name "em0"; action "??? some action e.g. ifconfig $device-name down :-) ???"; }; etc. jb