From owner-freebsd-stable@FreeBSD.ORG Wed Mar 14 22:44:49 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A401106564A for ; Wed, 14 Mar 2012 22:44:49 +0000 (UTC) (envelope-from paulguyot@ieee.org) Received: from flapjack.semiocast.net (flapjack.semiocast.net [88.191.124.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8EDDC8FC16 for ; Wed, 14 Mar 2012 22:44:48 +0000 (UTC) Received: from coriander.lan (gob75-1-87-88-126-146.dsl.sta.abo.bbox.fr [87.88.126.146]) by flapjack.semiocast.net (Postfix) with ESMTPSA id 60154BC for ; Wed, 14 Mar 2012 22:44:39 +0000 (UTC) From: Paul Guyot Content-Type: multipart/signed; boundary=Apple-Mail-30--876923716; protocol="application/pkcs7-signature"; micalg=sha1 Date: Wed, 14 Mar 2012 23:44:37 +0100 Message-Id: <8D3993D8-074E-45E6-8AF7-DB51369F33BD@ieee.org> To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Changes brought to bce(4) disabling ipmi access during boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 22:44:49 -0000 --Apple-Mail-30--876923716 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, Changes brought to bce(4) prevents booting a R410 Dell server with = GELI-encrypted root ZFS partition requiring a passphrase, something that = was possible with 9-RELEASE. Using a binary search, the bug comes from the following revision: Updating collection src-all/cvs Edit src/sys/dev/bce/if_bce.c Add delta 1.89.2.4 2012.01.09.19.07.14 yongari Edit src/sys/dev/bce/if_bcereg.h Add delta 1.35.2.3 2012.01.09.19.07.14 yongari Shutting down connection to server RELEASE as well as STABLE with date=3D2012.01.09.19.00.00 boot properly. The boot fails with date=3D2012.01.09.19.08.00 For more details: the box is configured to boot from a plain ZFS pool = that contains the kernel (zboot) and then to request passphrase for a = GELI-encrypted ZFS pool containing everything else (including = /etc/rc.d), in a way similar to what is described here: = http://www.keltia.net/howtos/freebsd-dedibox The passphrase should be entered from the virtual console (KVM) = simulated by the ipmi controller (through Dell's "iDRAC6"). On RELEASE, the boot works properly and can be followed from the KVM = console, where the passphrase can be entered. On STABLE, the KVM gets = disconnected. Besides, the ipmi is down, and the box is eventually = bricked: since plugging a real console is not an option, the only way to = get access to the server is to reboot it electrically (and to configure = the PXE to perform a netboot in order to switch the kernel). I believe the ipmi controller uses the main ethernet port to simulate a = physical console and the change in the bce driver disables the ethernet = port. Since the box waits from the passphrase to configure the network, = the box gets unreachable. Paul --=20 Semiocast http://semiocast.com/ +33.183627948 - 20 rue Lacaze, 75014 Paris --Apple-Mail-30--876923716--