From owner-freebsd-hackers@FreeBSD.ORG Wed May 25 11:57:19 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EFD41065677 for ; Wed, 25 May 2011 11:57:19 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 01C878FC15 for ; Wed, 25 May 2011 11:57:18 +0000 (UTC) Received: by wwc33 with SMTP id 33so8045027wwc.31 for ; Wed, 25 May 2011 04:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=ynH5D6GL8An/7QsDSMCZj6tPuhLDAdQayOLO1SERWQY=; b=k5ZHwILgkkDFImHQW0spZF3cU2hd/G1Yl6CaUbgXbSQ6ttpjPZCVgJq9d3yfAtsWvn 32yGsPVw/3elBFTvkmMmXHCUVgGXoFy4PVd+ZwoLXcai3ba5DER3AVcElaOV4Q46E24i mZ4qQkbqrUUyoWIKGqxnBtJAqQr5kDJJpbndo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; b=BfW2hTz98fANm5Jx1ChtlV3QqzytJq8eZoxfRMGkxYqT00AteouMgBm5YG6ZfhJOXZ vr07pnPuO5yPJm1lUJaNbZLZPJUSXIZuP5NA3qlek4f9UNNmzIsWHkxKHFi+eollKJQH ehqKX2SKKcI3SwQQe58VACos/pHQa4Re9iqaY= Received: by 10.216.245.4 with SMTP id n4mr4497671wer.83.1306323294592; Wed, 25 May 2011 04:34:54 -0700 (PDT) Received: from DEV ([82.193.208.173]) by mx.google.com with ESMTPS id d13sm308259wbh.1.2011.05.25.04.34.43 (version=SSLv3 cipher=OTHER); Wed, 25 May 2011 04:34:52 -0700 (PDT) Message-ID: <20110525.113441.625.1@DEV> From: rank1seeker@gmail.com To: hackers@freebsd.org Date: Wed, 25 May 2011 13:34:41 +0200 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.7.0.0) Cc: Subject: Linking STAGE 2 boot, directly to the kernel (skipping loader) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 11:57:19 -0000 After I do it via /boot.config, it fails, with an error: "Invalid format", = in cases when:=0D=0A=0D=0Aa) kernel is gzip-ed=0D=0Ab) kernel has = statically compiled md root, which was gzip-ed, before being embedded = into kernel=0D=0Ac) kernel has statically compiled md root, which was = uzip-ed, before being embedded into kernel=0D=0Ad) kernel has statically = compiled md root, which wasn't compress-ed, before being embedded into = kernel=0D=0A=0D=0AIt works, only with regular kernel.=0D=0A=0D=0AIs this = a bug or what?=0D=0AI suspect size of a kernel, confuses STAGE 2 boot, in = non-a) cases.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6