[BusyBox] TFTP and/or uClibc are broken

mray at 360commerce.com mray at 360commerce.com
Wed Feb 6 16:17:03 UTC 2002


Something changed between uClibc .9.8 and .9.9 which broke my sysinit script's
ability to read it's /etc/hosts.  I'm using busybox .60.2's tftp to pull down
the pieces of the diskless linux with the command "tftp -g -l usr.tar.gz -t
/tftpboot/usr.tar.gz image-server" where image-server is the name of the
machine.  /etc/hosts has the entry 192.168.0.1 image-server.  The /etc/hosts is
in an initrd that is assembled on the server.  If I switch the "tftp" call to
the IP address of the server instead of the name, the command works fine.
/etc/hosts is still on the client, it just doesn't get read anymore.  I get the
same behavior with busybox .60.2, .60.1 and yesterday's CVS.  The "sh" is hush.

On another note, part of building my diskless Linux box is pulling down large
tarballs (10+ meg) with tftp.  For some reason I get "tftp: timeout" while it's
pulling one of them down.  Always 6 timouts with busybox .60.1, 5 timeouts for
busybox .60.2 and 4 timeouts for yesterdays CVS.  The server's tcpdump shows
that a request is being made
16:23:35.384915 image-server.local.1042 > 192.168.0.5.filenet-tms: udp 251 (DF)
and when the "tftp: timeout" hits on the client I get a different number
16:23:36.389002 image-server.local.1041 > 192.168.0.5.filenet-tms: udp 251 (DF)
(note the 1041 is different from 1042)

If I replace busybox's tftp with SuSE's I get no timeouts, but I would like to
fix the problem in busybox's tftp.

The server is SuSE 7.2 on a P3-500 and the clients are Cyrix GX 300s.

TIA,
Matt





More information about the busybox mailing list