From owner-freebsd-net@FreeBSD.ORG Wed Dec 10 02:35:55 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FC9BF06 for ; Wed, 10 Dec 2014 02:35:55 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5037BEE for ; Wed, 10 Dec 2014 02:35:54 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-239-104.lns20.per1.internode.on.net [121.45.239.104]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id sBA2Zn9a082952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 9 Dec 2014 18:35:52 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <5487B180.3000002@freebsd.org> Date: Wed, 10 Dec 2014 10:35:44 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "Alexey V. Panfilov" , freebsd-net@freebsd.org Subject: Re: [maybe spam] Re: IPMI stops respond if boot in single user mode References: <546F1A96.1060309@mail.ru> <5473582D.9060100@starnet.ru> <54858BF7.3070402@mail.ru> In-Reply-To: <54858BF7.3070402@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2014 02:35:55 -0000 On 12/8/14, 7:31 PM, Alexey V. Panfilov wrote: > 08.12.2014 14:11, elof2@sentor.se wrote: >> (Late response) >> >> I don't have an IBM-server, but isn't it equipped with a dedicated >> ILO/IPMI NIC? >> If so, the solution is rather to use that dedicated NIC instead of >> letting ILO/IPMI reuse the NIC for the OS. >> >> /Elof >> > No, there are only two ethernet ports and one of them is shared with > IPMI (IBM calls it "IMM"). > IMI "shares" the NIC, by which I mean, it uses a backdoor in the chip to access it. After the driver is loaded, the chip gets reset, but not re-enabled until networking is enabled, so the backdoor is shut but not re-opened. In single user mode the first has happenned, but the second has not. My suggestion is: compile the kernel without the driver. load the driver from /etc/rc using the following variable in rc.conf. kld_list (str) A list of kernel modules to load right after the local disks are mounted. Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disk. In single user mode the NIC should still be set up from the BIOS Only once you go to multi-user mode should it load the driver and reset the chip, and it should do both operations very close to each other. so you may not even notice. My experience tells me this should work, but I have not tried it.. let me know how it works out! julian