Date: Tue, 12 Jul 2011 05:00:08 +0200 From: Marco Steinbach <coco@executive-computing.de> To: freebsd-questions@freebsd.org Cc: Anton Shterenlikht <mexas@bristol.ac.uk> Subject: Re: tftp - bad checksum error? can't transfer file Message-ID: <4E1BB8B8.60804@executive-computing.de> In-Reply-To: <4E1BB046.4050307@executive-computing.de> References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> <4E1BB046.4050307@executive-computing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E1BB8B8.60804>