From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 02:52:16 2011 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 293F71065673 for ; Tue, 12 Jul 2011 02:52:16 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id DBB108FC15 for ; Tue, 12 Jul 2011 02:52:15 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id A92CE8B141F; Tue, 12 Jul 2011 04:33:49 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -100.964 X-Spam-Level: X-Spam-Status: No, score=-100.964 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.036, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id A3+cec1qHePD; Tue, 12 Jul 2011 04:33:47 +0200 (CEST) Received: from [192.168.100.35] (p54B0B064.dip.t-dialin.net [84.176.176.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id CDEAC8B141C; Tue, 12 Jul 2011 04:33:47 +0200 (CEST) Message-ID: <4E1BB046.4050307@executive-computing.de> Date: Tue, 12 Jul 2011 04:24:06 +0200 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anton Shterenlikht Subject: Re: tftp - bad checksum error? can't transfer file 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: Tue, 12 Jul 2011 02:52:16 -0000 Anton Shterenlikht schrieb: > I'm trying to troubleshoot tftpd(8). > > % grep boot /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab > % > > I'm trying to boot another node via bootp/tftp. > > I'm monitoring what's going on with tcpdump -vv. > > bootpd starts fine, and seems to read /etc/bootptab > correctly. > > But after that nothing happens, and after a few minutes > I get on the console of the host which I want to boot: > >> bootp()/bsd.rd.IP32 > Unable to execute bootp()/bsd.rd.IP32: invalid argument > [...] Last time I saw this error was with an SGI Octance 2, where the Octanes RRQ requests contained trailing garbage, which FreeBSDs tftp tried to interpret as extended options. Try disabling options_rfc and options_extra in /usr/src/libexec/tftpd/tftp-options.c, and reinstall tftpd. MfG CoCo