From owner-freebsd-stable@FreeBSD.ORG Fri Oct 10 11:56:49 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 F00EE1065694 for ; Fri, 10 Oct 2008 11:56:49 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id DDBBC8FC28 for ; Fri, 10 Oct 2008 11:56:48 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id DF50E74419A; Fri, 10 Oct 2008 14:56:42 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26tIl9Vetxri; Fri, 10 Oct 2008 14:56:42 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [91.198.50.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 75B1B744172; Fri, 10 Oct 2008 14:56:42 +0300 (EEST) Message-ID: <48EF42F9.7040409@icyb.net.ua> Date: Fri, 10 Oct 2008 14:56:41 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Oliver Fromme References: <20081009180513.GA10705@icarus.home.lan> <200810092017.m99KHhdU022649@lurza.secnetix.de> In-Reply-To: <200810092017.m99KHhdU022649@lurza.secnetix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: koitsu@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG 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: Fri, 10 Oct 2008 11:56:50 -0000 on 09/10/2008 23:17 Oliver Fromme said the following: > 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. On a tangent - would running this under qemu with gdb stub enabled (qemu -s) and then connecting with remote gdb help? I am not sure about debugging symbols but raw assembly you should be able to track. -- Andriy Gapon