Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 11:09:51 +0300
From:      "Alexey V. Panfilov" <lehis2000@mail.ru>
To:        Julian Elischer <julian@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: IPMI stops respond if boot in single user mode
Message-ID:  <5487FFCF.10802@mail.ru>
In-Reply-To: <5487B180.3000002@freebsd.org>
References:  <546F1A96.1060309@mail.ru> <5473582D.9060100@starnet.ru> <alpine.BSF.2.00.1412081207290.89836@farmermaggot.shire.sentor.se> <54858BF7.3070402@mail.ru> <5487B180.3000002@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5487FFCF.10802>