From owner-freebsd-net@FreeBSD.ORG Tue Nov 25 08:57:13 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28AED124 for ; Tue, 25 Nov 2014 08:57:13 +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 906DE763 for ; Tue, 25 Nov 2014 08:57:12 +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=kR+I5y3SJ3J3yonAhTicjCkJ9QgVG6J4oIy5GKmyb0Y=; b=CuKSlOuJ/H08RG5Q2tp8GBC/pEW6HKinfiNoZMzJsPFGemasAKcuZhyHQn0xW1JoDI80w5UgCh5V7TS3QBNFyZALcpRA2FpJhlnK/agLYil4OcnJ9h6eUgqUVS9sb/iG20ltUBVZ7HWP36reClAcLom22XeYVRpKLPdR2Nq1/Ao=; Received: from [2001:67c:13e4:1000::37] (port=17728 helo=work.lehis.ru) by smtp31.i.mail.ru with esmtpa (envelope-from ) id 1XtBvo-0004ob-LD; Tue, 25 Nov 2014 11:57:08 +0300 Message-ID: <54744463.3090102@mail.ru> Date: Tue, 25 Nov 2014 11:57:07 +0300 From: "Alexey V. Panfilov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: IPMI stops respond if boot in single user mode References: <546F1A96.1060309@mail.ru> <54735857.2010209@mail.ru> In-Reply-To: <54735857.2010209@mail.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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: Tue, 25 Nov 2014 08:57:13 -0000 24.11.2014 19:09, Alexey V. Panfilov wrote: > 21.11.2014 13:57, Alexey V. Panfilov wrote: >> Hi, >> >> My IBM System x3250 M5 has IPMI. It shares onboard NIC Broadcom BCM5719. >> I'm setup it and IPMI works perfectly. >> But when server boots in single user mode IPMI's IP becomes unreachable. >> It occures when bge0 init. >> >> Any hints? >> >> Thanks. >> >> >> Details are: >> >> FreeBSD 10.1-STABLE (r274690) amd64 >> >> /boot/loader.conf >> hw.bge.allow_asf=1 >> >> >> bge0: > 0x5719001> mem >> 0x82a50000-0x82a5ffff,0x82a40000-0x82a4ffff,0x82a30000-0x82a3ffff irq 16 >> at device 0.0 on pci6 >> bge0: APE FW version: NCSI v1.2.33.0 >> bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E >> miibus0: on bge0 >> brgphy0: PHY 1 on miibus0 >> brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, >> 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow >> bge0: Using defaults for TSO: 65518/35/2048 >> bge0: Ethernet address: 6c:ae:8b:5b:74:98 >> >> >> bge0@pci0:6:0:0: class=0x020000 card=0x04911014 chip=0x165714e4 >> rev=0x01 hdr=0x00 >> vendor = 'Broadcom Corporation' >> device = 'NetXtreme BCM5719 Gigabit Ethernet PCIe' >> class = network >> subclass = ethernet >> bar [10] = type Prefetchable Memory, range 64, base 0x82a50000, >> size 65536, enabled >> bar [18] = type Prefetchable Memory, range 64, base 0x82a40000, >> size 65536, enabled >> bar [20] = type Prefetchable Memory, range 64, base 0x82a30000, >> size 65536, enabled >> cap 01[48] = powerspec 3 supports D0 D3 current D0 >> cap 03[50] = VPD >> cap 05[58] = MSI supports 8 messages, 64 bit enabled with 1 message >> cap 11[a0] = MSI-X supports 17 messages >> Table in map 0x20[0x0], PBA in map 0x20[0x1000] >> cap 10[ac] = PCI-Express 2 endpoint max data 128(256) FLR link x2(x4) >> speed 5.0(5.0) ASPM disabled(L0s/L1) >> ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected >> ecap 0003[13c] = Serial 1 00006cae8b5b7498 >> ecap 0004[150] = Power Budgeting 1 >> ecap 0002[160] = VC 1 max VC0 >> >> > > When it boots in single-user mode and manually run: > > #ifconfig bge0 up > > then ipmi become accessable. > > How it can be fixed automatically after system is boot in single-user mode? > > man 8 loader says that it can be done by add line to /boot/loader.conf: init_script="/boot/ifup.sh" #cat /boot/ifup.sh #!/bin/sh /sbin/ifconfig bge0 up It doesn't remove the root of trouble, but it's better than nothing. -- Best regards, Alexey V. Panfilov