From owner-freebsd-small@FreeBSD.ORG Tue May 23 11:16:19 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED4F316A420 for ; Tue, 23 May 2006 11:16:18 +0000 (UTC) (envelope-from nkoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA9F43D4C for ; Tue, 23 May 2006 11:16:16 +0000 (GMT) (envelope-from nkoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id 597A8D71DF; Tue, 23 May 2006 13:16:14 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09236-04; Tue, 23 May 2006 13:16:09 +0200 (CEST) Received: from firewall.demig (p5083C75E.dip0.t-ipconnect.de [80.131.199.94]) by server.absolute-media.de (Postfix) with ESMTP id DA89ED7172; Tue, 23 May 2006 13:16:08 +0200 (CEST) Received: from [192.168.1.72] (ws-ew-3.demig.intra [192.168.1.72]) by firewall.demig (8.13.6/8.13.6) with ESMTP id k4NBEmKm031532; Tue, 23 May 2006 13:14:48 +0200 (CEST) (envelope-from nkoch@demig.de) Message-ID: <4472EEA8.9000008@demig.de> Date: Tue, 23 May 2006 11:14:48 +0000 From: Norbert Koch User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= References: <8AB6703D-3BAB-4C2A-988D-6CC25A31C2EF@develooper.com> In-Reply-To: <8AB6703D-3BAB-4C2A-988D-6CC25A31C2EF@develooper.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: freebsd-small@freebsd.org Subject: Re: pxeboot PC Engines WRAP X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 11:16:19 -0000 Hello. After having a lot of trouble with FreeBSD's pxeboot I found that a two-stage solution works for me. I first boot an etherboot image via pxe and from there directly load the FreeBSD kernel. This is my dhcpd.conf: subnet 10.47.11.0 netmask 255.255.255.0 { range dynamic-bootp 10.47.11.60 10.47.11.99; option routers 10.47.11.1; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "eb-5.4.1-undi.zpxe"; } else { filename "kernel"; } next-server 10.47.11.1; option root-path "10.47.11.1:/usr/local/diskless_root"; } I used these options at rom-o-matic: NIC/ROM TYPE: undi:undi Format: PXE bootstrap loader format ROM image (.zpxe) BAR_PROGRESS SIZEINDICATOR ELF_IMAGE IMAGE_FREEBSD FREEBSD_KERNEL_ENV DOWNLOAD_PROTO_TFTP CONFIG_PCI The rom-o-matic options might differ depending on your hardware. The undi:undi type is hardware independant and works for me for different nics. I hope that helps, Norbert Ask Bjørn Hansen schrieb: > Hi everyone, > > I'm having trouble pxeboot'ing a PC Engines WRAP board. > > After changing the tftp server to one that supports blksize, pxeboot > loads okay, but doesn't get very far: > > PXE Loader 1.00 > > Building the boot loader arguments > Relocating the loader and the BTX > Starting the BTX loader > Consoles: serial port > BIOS drive C: is disk0 > > PXE version 2.1, real mode entry point @9a80:0680 > [and it hangs ....] > > I was using an older pxeboot before which stopped after "Building the > boot loader arguments". > > Any ideas? > > The wrap board is using Etherboot 5.3.12. I tried making that Etherboot > load a newer Etherboot (5.4.2)[1], but it has the same problem. I've > been told that it should be able to work if I load the kernel (a kernel > with the appropriate BOOTP options), but I'd much rather use pxeboot so > I can use the same kernel I'll use when the system has been transferred > to a compact flash. > > > - ask > > [1] the dhcpd.conf snippet to have Etherboot load a newer Etherboot is > as follows. It took me a while to figure out that the etherboot VCI > includes the version number. > > if substring (option vendor-class-identifier, 0, 13) = "Etherboot-5.4" { > filename "tftp://10.0.201.50/pxeboot"; > next-server 10.0.201.50; > option root-path "10.0.201.50:/usr/netboot/foo"; > } > else { > next-server 10.0.201.40; > filename "eb-5.4.2-natsemi.zpxe-nfs"; > } > > --http://askask.com/ - http://develooper.com/ > > > _______________________________________________ > freebsd-small@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-small > To unsubscribe, send any mail to "freebsd-small-unsubscribe@freebsd.org"