From owner-freebsd-stable@FreeBSD.ORG Mon Dec 3 15:41:49 2007 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 8889A16A474 for ; Mon, 3 Dec 2007 15:41:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7C86B13C4D3 for ; Mon, 3 Dec 2007 15:41:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 365131CC07B; Mon, 3 Dec 2007 07:41:49 -0800 (PST) Date: Mon, 3 Dec 2007 07:41:49 -0800 From: Jeremy Chadwick To: Balgansuren Batsukh Message-ID: <20071203154149.GA56769@eos.sc1.parodius.com> References: <004d01c8214d$b5a02970$c801000a@balgaa> <4732E7D9.4040804@wlink.com.np> <001001c835b0$f2f29700$c801000a@balgaa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001001c835b0$f2f29700$c801000a@balgaa> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD-6.2, 7.0-BETA1 on X60 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: Mon, 03 Dec 2007 15:41:49 -0000 On Mon, Dec 03, 2007 at 09:31:55PM +0800, Balgansuren Batsukh wrote: > Hello All, > > I tried to install FreeBSD on X60 using PXE boot, but unsuccessfully finish > my attempt. > > When it start PXE boot it get IP address from DHCP, download PXE boot file > from TFTP server, > then trying to load kernel image from TFTP server. > > After 10-20 minutes it give me error message "can't load kernel", I tried > many times load boot/kernel/kernel, but same result. > > I guess PXE boot read much longer time to load kernel file and suddenly > give me error message. > > I followed instruction on http://www.hack.org/mc/freebsd-x60.html > > I made X60---->LAN switch---->TFTP/DHCP/NFS server and even tried > X60---cross-over cable---->TFTP/DHCP/NFS server. > > Is there any suggestion? First, there's a manpage for all this: diskless(8). I've tried this before myself (on all sorts of different hardware), and I've never gotten it to work on RELENG_6 or RELENG_7 -- I reach the same point and receive the same error you do. It appears to me that that an NFS server is *absolutely* necessary for all of this to work; TFTP by itself doesn't suffice, it appears. I've tried setting LOADER_TFTP_SUPPORT=yes in make.conf (forcing the entire process to avoid using NFS), but believe it or not, a part of the booting process still continues to use NFS-related code (or at least the debugging messages state it's trying to do NFS). I was able to get some pxeboot-related debugging output (to see the aforementioned) by setting PXE_DEBUG=true in make.conf (see src/sys/boot/i386/libi386/pxe.c for details on that). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |