From owner-freebsd-stable@FreeBSD.ORG Mon Feb 19 08:08:29 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5FEB16A407; Mon, 19 Feb 2007 08:08:29 +0000 (UTC) (envelope-from sam@qilin.corp.lumeta.com) Received: from qilin.corp.lumeta.com (h65-246-246-82.lumeta.com [65.246.246.82]) by mx1.freebsd.org (Postfix) with ESMTP id B76D613C478; Mon, 19 Feb 2007 08:08:29 +0000 (UTC) (envelope-from sam@qilin.corp.lumeta.com) Received: from localhost (2177 bytes) by qilin.corp.lumeta.com via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Sun, 18 Feb 2007 13:09:52 -0500 (EST) (Smail-3.2.0.114 2001-Aug-6 #1 built 2007-Jan-29) Date: Sun, 18 Feb 2007 13:09:52 -0500 From: Sam Baskinger To: Boris Samorodov Message-ID: <20070218180952.GA68403@qilin.corp.lumeta.com> References: <534626.45013.qm@web33302.mail.mud.yahoo.com> <24710373@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24710373@bsam.ru> User-Agent: Mutt/1.4.2.2i Cc: Rob , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Diskless PXEboot crashes at kernel loading. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbaskinger@lumeta.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 08:08:30 -0000 Hi all, I can't emphasise enough how useful running a TCPDUMP on the server in question is to find out what subtle thing it is that I missed. Generally speaking a quick-crash like that is a file not being found like the modules directory or something silly like that. If you dump the NFS traffic you will probably see the client asking for a file handle for file X and getting denied by the server. If you're not familiar w/ TCPDUMP, here are some handy commands: # Avoid SSH and dump everything to the screen... tcpdump -s 1500 -X udp # Write it to a file so you can open it in ethereal later... tcpdump -s 1500 -X -w nfs.dump udp # Read in the dump file and read it through less, should you not want to us # ethereal after the last step. :) tcpdump -X -r nfs.dump |less Note that if you have a slow or missing DNS entry, give these calls a -n to just get the data and not worry about the ND entries. Hope this helps! PXE boots are never kind. :) Sam Baskinger Software Engineer Lumeta - Securing the Network in the Face of Change Lumeta Corporation > > > And the crash happens. > > Note that the crash occurs for whatever option > > 1 to 6 I choose from the FreeBSD boot menu. > > > Does someone understand the crash messages? > > Not that I understand those messages but some time ago I've had a > similar case. It took me some hours to realise that I try to load > amd64 kernel to i386 diskless station...