From owner-freebsd-net@FreeBSD.ORG Wed Dec 10 08:10:03 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 2222C253; Wed, 10 Dec 2014 08:10:03 +0000 (UTC) Received: from smtp31.i.mail.ru (smtp31.i.mail.ru [94.100.177.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FF565DF; Wed, 10 Dec 2014 08:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=4Sq7qLcCKvkBH8F4V3MGdMkGH3Q6niVviRc5FBzZHQo=; b=J9TEPWcBDOGMch9GJkGsX1ohloghfVgluMqVt9aZtEdurDPtpkXUHIF6aw8ViA8YTQsdAxlEsC/++bQxNSRT1BCGq1EtWHYyJ47w7BIPejTFtzLfgasU2ndfeVB/32Xq0BF6sru8ukNLeHaDNIW9kuhqzpPKE5h5icvBQAKWojg=; Received: from [2001:67c:13e4:1000::37] (port=34688 helo=work.lehis.ru) by smtp31.i.mail.ru with esmtpa (envelope-from ) id 1XycLI-0005ze-OQ; Wed, 10 Dec 2014 11:09:52 +0300 Message-ID: <5487FFCF.10802@mail.ru> Date: Wed, 10 Dec 2014 11:09:51 +0300 From: "Alexey V. Panfilov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Julian Elischer , freebsd-net@freebsd.org Subject: Re: IPMI stops respond if boot in single user mode References: <546F1A96.1060309@mail.ru> <5473582D.9060100@starnet.ru> <54858BF7.3070402@mail.ru> <5487B180.3000002@freebsd.org> In-Reply-To: <5487B180.3000002@freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok 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 08:10:03 -0000 10.12.2014 05:35, Julian Elischer пишет: > 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, thanks for your reply. I'll remember this trick. But I can't check it now - server goes in production. -- Best regards, Alexey V. Panfilov