From owner-svn-src-user@FreeBSD.ORG Fri Feb 1 23:17:51 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6B014909 for ; Fri, 1 Feb 2013 23:17:51 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id D156235C for ; Fri, 1 Feb 2013 23:17:50 +0000 (UTC) Received: (qmail 49878 invoked from network); 2 Feb 2013 00:37:24 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 2 Feb 2013 00:37:24 -0000 Message-ID: <510C4D17.90407@freebsd.org> Date: Sat, 02 Feb 2013 00:17:43 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: svn commit: r246220 - user/sbruno/pxe_http_head References: <201302011859.r11IxFU0025809@svn.freebsd.org> <510C1855.40701@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sean Bruno , src-committers@freebsd.org, svn-src-user@freebsd.org X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 23:17:51 -0000 On 02.02.2013 00:09, Craig Rodrigues wrote: > On Fri, Feb 1, 2013 at 11:32 AM, Andre Oppermann > wrOn > > > While I don't want to discourage from this work the IPXE package > (formerly etherboot) already provides HTTP as well as iSCSI, FCoE > and AoE to load the kernel. It also provides a nice scripting > language where the scrips can even be loaded through HTTP. IPXE > is GPLv2 licensed though. > > -- > Andre > > > Does iPXE work with FreeBSD? It would be good to see newer alternatives > to PXE/TFTP, especially things that work over HTTP. > > Based on this thread: http://lists.freebsd.org/pipermail/freebsd-current/2013-January/039334.html > I am wondering if there are areas of the NFS root mount code that > we can clean up so it works better with things like iPXE. > > Right now there are a lot of preprocessor macros that can be enabled > in the kernel (NFS_ROOT, BOOTP*, etc.). > If this stuff could be cleaned up so that instead of compile time macros, > these features get converted to run-time behaviors that can be triggered > by kernel environment varialbes that are documented, that would be nicer IMHO. Based on the recent discussions I've started a local branch two days ago to do exactly that and chop/merge bootp_subr.c and nfs_diskless.c into the network interface, bootp/dhcp and nfs parts. All of which gets tied into vfs_mountroot.c to work the same as ufs, zfs or md root mounting. Downloading a md root image via HTTP as another option is the goal. :) -- Andre