From owner-freebsd-questions@FreeBSD.ORG Mon Feb 6 16:11:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691CC106564A for ; Mon, 6 Feb 2012 16:11:02 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id EFFEB8FC12 for ; Mon, 6 Feb 2012 16:11:01 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so6890416wib.13 for ; Mon, 06 Feb 2012 08:11:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OTeEWsrquBqvDM0PvJDiRGmxNXHj58kxDTwrHwAi+g0=; b=fBacZh7Sy0Nujq+Nr28mdh/hxC9cTH60zpu0gHETnkSem1/udCsTxSA1lsRb+d/iwF XTX+5puvrr0VuORIKl+hWDV2j+aRBpNyWvbujUpHfnkd4gdsZdWMbutj4EaF7WbxMo5z 1wFaSf3ZUj5yyKU3J22ikhjMOGbIQlmsP1gxU= MIME-Version: 1.0 Received: by 10.180.102.35 with SMTP id fl3mr10731518wib.22.1328544660738; Mon, 06 Feb 2012 08:11:00 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.227.143.140 with HTTP; Mon, 6 Feb 2012 08:11:00 -0800 (PST) In-Reply-To: <4F2FF7D3.2030707@locolomo.org> References: <4F2FF7D3.2030707@locolomo.org> Date: Mon, 6 Feb 2012 11:11:00 -0500 X-Google-Sender-Auth: 7Aq1w-Gpt5koZTiwebF2vX57vBw Message-ID: From: Rick Miller To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: pxeboot.bs and vlan tagging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 16:11:02 -0000 See my responses inline... On Mon, Feb 6, 2012 at 10:54 AM, Erik N=F8rgaard wr= ote: > On 06/02/2012 16:35, Rick Miller wrote: > >> We are PXE booting into FreeBSD 8.2-RELEASE to perform system builds. >> The pxeboot.bs file was recompiled with TFTP support. =A08.2-RELEASE >> builds were working fine until we attempted a build on bare metal in >> an environment that utilizes vlan tagging. =A0When the system loaded the >> pxeboot.bs file it prompted that a disk containing the mfsroot.gz be >> inserted. > > > Hi, a few questions: > > 1) do you use tftp or nfs? if you built pxeboot with tftp, did you also > build the kernel with tftp? pxeboot.bs was compiled with TFTP enabled. We made 3 modifications to the kernel not related to tftp. One change was to the NIC source code to improve small packet performance, we compiled a custom kernel that disabled FLOWTABLE and enabled ROUTETABLES. TFTP is the intent for PXE, we did not want to rely on NFS. For the remainder of the install, we've written code into sysinstall to support pure HTTP installs. > 2) do you fetch the kernel successfully? > > When using tftp, The kernel and kernel modules are fetched before the mem= ory > file system, so do pxeboot fetch the kernel but not the mfsroot? > > The reason for these questions is that your problem may be with the kerne= l > and kernel modules and not pxeboot. Just to be sure. I see what you are saying. We will have to look at the packet captures to make that determination. >> I have a couple of questions that I am hoping I can use to glean a >> proper solution: >> >> 1) Does the 8.2-RELEASE pxeboot.bs source code support use of vlan >> tagging? >> 2) Can I get vlan tagging support with newer 8.2 code? >> 3) Will the 9.0-RELEASE code have better support for vlan tagging and >> can I use it to build an 8.2-RELEASE system? > > > I did a grep in the source and it seems there is a kernel module for vlan > tagging, if you load the kernel succesfully it may be a question of getti= ng > that module loaded as well, or rebuild the kernel. But I can't give a bet= ter > answer. > > My best guess is not to rely on vlan tagging unless you can configure tha= t > on the hardware. Or, normally there is a default vlan that corresponds to= no > tag. If you can configure that for pxe and use tagging for the other > networks. Thanks for this information, it has given me some other things to think about and could potentially lead to a proper solution. --=20 Take care Rick Miller