From owner-freebsd-questions@FreeBSD.ORG Tue Sep 18 12:05:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C43106566C for ; Tue, 18 Sep 2012 12:05:52 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 7492E8FC20 for ; Tue, 18 Sep 2012 12:05:52 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id 2DDCE1D155; Tue, 18 Sep 2012 14:05:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=Dv+aloO rwWp0vKlgnLVSFPI4BXU=; b=U+WErjutLfbqSNKfpOa0LUsfALs3pz7ULCynfQ4 7HAO0J+HtV+D51I7GnczgAw/CTAhevjCn2ATNECRIVkzhHEDqFvAANC4s5zdXhDz XW9aVKopWlo9trmcRe55cQ9hPiR4lFA+sJ00tc6cSXCvPWyKqZ9MOqpFj18RWlYJ skN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=Y 5HBXrHFBrKWEh65GZM9NKuaJUgWUNF1fY0qMq5CQXWPke3cd+hS66kkfTcp/HgkH xMcfwWBrweP1ee85RPYbubDgqMZnPnj7ZCfE+gXZzwhMbvCTMRDCbLuxDDBPP7aD nL3vTOs/edmlH2vHNXtMjUPF1o9k8Z1QymyUWg4rdc= Received: from [172.16.2.46] (unknown [172.16.2.46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 99D491D042; Tue, 18 Sep 2012 14:05:50 +0200 (CEST) Date: Tue, 18 Sep 2012 14:05:58 +0200 From: =?UTF-8?Q?G=C3=B6ran_L=C3=B6wkrantz?= To: jb Message-ID: <0B0A871C962DC86D0BC7FA4D@Gorans-MacBook-Pro.local> In-Reply-To: References: <84002D87687695781C9FBC88@Gorans-MacBook-Pro.local> <6F15C648AD3EC7F2C7CED391@Gorans-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-questions@freebsd.org 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 12:05:52 -0000 Well, I already tested this in rc.conf: ifconfig_em0=3D"down" and it didn't help. There is an new IPMI 2.66 vs. my running 2.64 that I will test but unless=20 someone has any other idea, it seems like I am stuck. /glz --On September 18, 2012 11:49:17 +0000 jb wrote: > G=C3=B6ran L=C3=B6wkrantz 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 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"