From owner-freebsd-stable@FreeBSD.ORG Thu Oct 9 20:17:46 2008 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 14EDD1065687; Thu, 9 Oct 2008 20:17:46 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 84C2D8FC12; Thu, 9 Oct 2008 20:17:45 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id m99KHhjh022650; Thu, 9 Oct 2008 22:17:43 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id m99KHhdU022649; Thu, 9 Oct 2008 22:17:43 +0200 (CEST) (envelope-from olli) Date: Thu, 9 Oct 2008 22:17:43 +0200 (CEST) Message-Id: <200810092017.m99KHhdU022649@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, koitsu@FreeBSD.ORG In-Reply-To: <20081009180513.GA10705@icarus.home.lan> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 09 Oct 2008 22:17:44 +0200 (CEST) Cc: Subject: Re: 7.1 i386 PXE 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: Thu, 09 Oct 2008 20:17:46 -0000 Jeremy Chadwick wrote: > Dmitriy Kirhlarov wrote: > > I tryin update my install server. Look like 7.1 i386 pxe boot broken. > > My own release build is 7.1-i386-2008-10-05 > > > > Could somebody test this functionality and confirm or disprove my results. > > What's broken about it? What behaviour happens? Are you aware of the > mfsroot bug (see step 7 below): > > http://jdc.parodius.com/freebsd/pxeboot_serial_install.html It is a problem with memory management in the boot loader. I hit exactly the same problem during my experiments with the graphical boot loader, even without PXE and mfsroot involved. The problem is that the btx client breaks and behaves erratically when it runs out of memory. By default it can only use a part of the lower 640 KB of RAM, which isn't very much, given that the loader binary itself is already 250 KB, and the gzip decompressor requires quite some temporary memory for its dictionary. Unfortunately, debugging these things in the boot loader isn't exactly trivial. You can't just load it into gdb and single step it. If you want to boot via PXE but still use a gzipped mfs- root, a workaround is to skip loader.4th and beastie.4th, and instead boot the kernel directly from loader.rc. This should save enough memory to get you through. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd It's trivial to make fun of Microsoft products, but it takes a real man to make them work, and a God to make them do anything useful.