From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 13 08:25:15 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34B591E2 for ; Fri, 13 Jun 2014 08:25:15 +0000 (UTC) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE0B82F55 for ; Fri, 13 Jun 2014 08:25:14 +0000 (UTC) Received: from th-04.cs.huji.ac.il ([132.65.80.125]) by kabab.cs.huji.ac.il with esmtp id 1WvMnN-0001UG-UX; Fri, 13 Jun 2014 11:25:09 +0300 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: iPXE booting latest PCengines alu board From: Daniel Braniss In-Reply-To: <5399C6A0.9010506@sentex.net> Date: Fri, 13 Jun 2014 11:24:57 +0300 Message-Id: References: <9D14C4BD-8A13-43FC-ACDA-0315A58CEBC6@cs.huji.ac.il> <5399C6A0.9010506@sentex.net> To: Mike Tancsa X-Mailer: Apple Mail (2.1878.2) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 08:25:15 -0000 On Jun 12, 2014, at 6:26 PM, Mike Tancsa wrote: > On 6/12/2014 10:38 AM, Daniel Braniss wrote: >> Hi all, >> while I try to learn about iPXE, I am wondering if someone already >> managed to boot FreeBSD via the network, else it=92s going to be an >> interesting weekend :-) >=20 > If you mean http://www.pcengines.ch/apu.htm, just make sure you are = booting a relatively recent FreeBSD version (newer than April I think). = Otherwise, it boots just fine like any other bit of hardware over the = network. no, it does not :-(, the bios has iPXE not PXE - notice the little i) after hitting ^B i managed some progress: iPXE> kernel tftp://132.65.116.7/tftpboot/freebsd/pxeboot-9.3 tftp://132.65.116.7/tftpboot/freebsd/pxeboot-9.3... ok iPXE> boot PXE Loader 1.00 Building the boot loader arguments Relocating the loader and the BTX Starting the BTX loader pxe_open: server addr: 132.65.60.52 pxe_open: server path: /vol/binary/bsd/amd64/7.0 pxe_open: gateway ip: 132.65.80.1 Loading /boot/defaults/loader.conf=20 /boot/kernel/kernel text=3D0x798197 data=3D0xf5fe8+0x7c998 = syms=3D[0x8+0xb2a10+0x8+0x98f34] /boot/kernel/zfs.ko size 0xf5a28 at 0xc57000 /boot/kernel/ispfw.ko size 0xbe288 at 0xd4d000 / ??????????????????????????????????????????? ? ? ? ? , , ? ? /( )` ? Welcome to FreeBSD! ? \ \___ / | ? ? /- _ `-/ ' ? ? (/\/ \ \ /\ ? 1. Boot FreeBSD [default] ? / / | ` \ ? 2. Boot FreeBSD with ACPI enabled ? O O ) / | ? 3. Boot FreeBSD in Safe Mode ? `-^--'`< ' ? 4. Boot FreeBSD in single user mode ? (_.) _ ) / ? 5. Boot FreeBSD with verbose logging ? `.___/` / = =20 ? 6. Escape to loader prompt ? `-----' / ? 7. Reboot ? <----. __ / __ \ ? ? <----|=3D=3D=3D=3DO)))=3D=3D= ) \) /=3D=3D=3D=3D| ? ? <----' `--' `.__,' \ ? ? | | ? ? \ / = /\ ? Select option, [Enter] for default ? ______( (_ / = \______/ ? or [Space] to pause timer 8 ? ,' ,-----' | ??????????????????????????????????????????? `--{__________)=20 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RC1 #41: Sun Dec 30 15:19:13 IST 2007 danny@sunfire:/r+d/obj/sunfire/r+d/7.0/src/sys/HUJI Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD G-T40E Processor (1000.00-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x500f20 Stepping =3D 0 = Features=3D0x178bfbff Features2=3D0x802209> AMD Features=3D0x2e500800,RDTSCP,LM> AMD = Features2=3D0x35ff,,,Prefetch,,= ,> Cores per package: 2 usable memory =3D 4246466560 (4049 MB) avail memory =3D 4093575168 (3903 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs =85 kbd0 at atkbd0 atkbd: unable to get the current command byte value. atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to get the current command byte value. ppc0: cannot reserve I/O port range and here it hung. ok, so this is a very old kernel, which got selected by default, (just shows how old the default is :-), but when I set it to boot 9.3-BETA2 via the latest pxeboot it hangs just after initialising the BTX. I have since managed to boot it via a local disk, the same kernel BTW, so at least that is ok. thanks, danny PS: I left the original ip=92s - hopefully the firewall is working ok = :-)