From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 03:09:52 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 423DA1065670 for ; Tue, 12 Jul 2011 03:09:52 +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 001858FC12 for ; Tue, 12 Jul 2011 03:09:51 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 379808B141F; Tue, 12 Jul 2011 05:09:51 +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 O7-o6QuuDzd2; Tue, 12 Jul 2011 05:09:49 +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 57A698B141C; Tue, 12 Jul 2011 05:09:49 +0200 (CEST) Message-ID: <4E1BB8B8.60804@executive-computing.de> Date: Tue, 12 Jul 2011 05:00:08 +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> <4E1BB046.4050307@executive-computing.de> In-Reply-To: <4E1BB046.4050307@executive-computing.de> 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 03:09:52 -0000 Marco Steinbach schrieb: > 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. > Here's another, probably more feasible suggestion: tftpd(8)s man page (on 8.2-STABLE) tells: -o Disable support for RFC2347 style TFTP Options. I don't remember, if that knob didn't do the trick for me, or if I just didn't see and try it. I assume the latter. MfG CoCo