From owner-freebsd-questions@FreeBSD.ORG Mon Feb 6 16:45:08 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 876501065670 for ; Mon, 6 Feb 2012 16:45:08 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 928D38FC13 for ; Mon, 6 Feb 2012 16:45:07 +0000 (UTC) Received: from gamma.lan.locolomo.org (gamma.lan.locolomo.org [192.168.0.33]) by mail.locolomo.org (Postfix) with ESMTPSA id 77D461C0841; Mon, 6 Feb 2012 17:45:06 +0100 (CET) Message-ID: <4F300391.2020002@locolomo.org> Date: Mon, 06 Feb 2012 17:45:05 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Rick Miller References: <4F2FF7D3.2030707@locolomo.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:45:08 -0000 On 06/02/2012 17:33, Rick Miller wrote: >>> 2) do you fetch the kernel successfully? >>> >>> When using tftp, The kernel and kernel modules are fetched before the memory >>> 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 kernel >>> 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. > > The target system loads pxeboot.bs and consequently requests the > following files: > > /boot/boot.4th (which it does not find) > /boot/loader.rc > /boot/loader.4th > /boot/support.4th > /boot/defaults/loader.conf > /boot/device.hints > /boot/loader.conf > > It is at this point where the failure occurs. The contents of loader.conf are: > > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > > Does this seem consistent with what you were theorizing that it's the > kernel that has the problem with vlan tagging and not pxeboot.bs? See the other mail, the way pxeboot works IIRC, is that first the pxeboot is fetched using tftp, the pxeboot is given the next server and will fetch the kernel, modules and other files from /boot/ on that server, (path respective to the root of the tftp dir). The kernel loads and will then fetch the mfsroot file. As mentioned, by default this is done using nfs, and nfs is assumed if the kernel supports nfs, even if it only fetches one file. This I understand has to be this way since the network configuration set with dhcp does not specify the protocol. So, if your kernel supports nfs it will not use tftp and hence fail. The details are somewhat distant to me, it's been some time since I messsed arround with this. hope this helps. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157