All of lore.kernel.org
 help / color / mirror / Atom feed
* Tftp problems with ARC firmware
@ 2005-10-13 19:32 Ralf Baechle
  2005-10-13 22:09 ` Florian Lohoff
  2006-02-18 15:55 ` Stephen P. Becker
  0 siblings, 2 replies; 4+ messages in thread
From: Ralf Baechle @ 2005-10-13 19:32 UTC (permalink / raw)
  To: linux-mips

I'd like to point those who you need to use these crude workarounds:

  echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
  echo 4096 32767 > /proc/sys/net/ipv4/ip_local_port_range

at a new version of tftp-hpa which solves the PMTU problem by disabling it
only for the tftp client and introduces a new -R begin:end option which
allows to limit the port number range.  The changes are about to become
available in the tftp-hpa git repository at
http://www.kernel.org/pub/scm/network/tftp/tftp-hpa.git; see also
http://www.linux-mips.org/wiki/ARC#tftp-hpa.  Please send test reports to
syslinux@zytor.com and linux-mips@linux-mips.org.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tftp problems with ARC firmware
  2005-10-13 19:32 Tftp problems with ARC firmware Ralf Baechle
@ 2005-10-13 22:09 ` Florian Lohoff
  2005-10-14 11:10   ` Ralf Baechle
  2006-02-18 15:55 ` Stephen P. Becker
  1 sibling, 1 reply; 4+ messages in thread
From: Florian Lohoff @ 2005-10-13 22:09 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

On Thu, Oct 13, 2005 at 08:32:25PM +0100, Ralf Baechle wrote:
> I'd like to point those who you need to use these crude workarounds:
> 
>   echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
>   echo 4096 32767 > /proc/sys/net/ipv4/ip_local_port_range
> 
> at a new version of tftp-hpa which solves the PMTU problem by disabling it
> only for the tftp client and introduces a new -R begin:end option which
> allows to limit the port number range.  The changes are about to become
> available in the tftp-hpa git repository at
> http://www.kernel.org/pub/scm/network/tftp/tftp-hpa.git; see also
> http://www.linux-mips.org/wiki/ARC#tftp-hpa.  Please send test reports to
> syslinux@zytor.com and linux-mips@linux-mips.org.

I made a patch against tftpd-hpa for disabling path MTU discovery - Its
in the Debian BTS: 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316616

It should already be merged upstream. User "-F" to disable PMTUd.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-171-2280134
                        Heisenberg may have been here.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tftp problems with ARC firmware
  2005-10-13 22:09 ` Florian Lohoff
@ 2005-10-14 11:10   ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2005-10-14 11:10 UTC (permalink / raw)
  To: Florian Lohoff; +Cc: linux-mips

On Fri, Oct 14, 2005 at 12:09:36AM +0200, Florian Lohoff wrote:

> >   echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
> >   echo 4096 32767 > /proc/sys/net/ipv4/ip_local_port_range
> > 
> > at a new version of tftp-hpa which solves the PMTU problem by disabling it
> > only for the tftp client and introduces a new -R begin:end option which
> > allows to limit the port number range.  The changes are about to become
> > available in the tftp-hpa git repository at
> > http://www.kernel.org/pub/scm/network/tftp/tftp-hpa.git; see also
> > http://www.linux-mips.org/wiki/ARC#tftp-hpa.  Please send test reports to
> > syslinux@zytor.com and linux-mips@linux-mips.org.
> 
> I made a patch against tftpd-hpa for disabling path MTU discovery - Its
> in the Debian BTS: 
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316616
> 
> It should already be merged upstream. User "-F" to disable PMTUd.

Never made it to HPA - HPA wrote the patches for these two bugs himself
yesterday when I mentioned the problem to him.  His patches are different
in the he disables PMTU discovery entirely - it's not useful for TFTP.
And your patch doesn't work around the other firmware bug which requires
restricting the port range.  We had to get rid of the currently recommended
workaround - it seriously restricts the IP stack; cripples is probably
the right expression for busy servers.

Patch rotting in the Debian bugtracking system seems to become a classic ;-)

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tftp problems with ARC firmware
  2005-10-13 19:32 Tftp problems with ARC firmware Ralf Baechle
  2005-10-13 22:09 ` Florian Lohoff
@ 2006-02-18 15:55 ` Stephen P. Becker
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen P. Becker @ 2006-02-18 15:55 UTC (permalink / raw)
  To: linux-mips; +Cc: syslinux

Ralf Baechle wrote:
> I'd like to point those who you need to use these crude workarounds:
> 
>   echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
>   echo 4096 32767 > /proc/sys/net/ipv4/ip_local_port_range
> 
> at a new version of tftp-hpa which solves the PMTU problem by disabling it
> only for the tftp client and introduces a new -R begin:end option which
> allows to limit the port number range.  The changes are about to become
> available in the tftp-hpa git repository at
> http://www.kernel.org/pub/scm/network/tftp/tftp-hpa.git; see also
> http://www.linux-mips.org/wiki/ARC#tftp-hpa.  Please send test reports to
> syslinux@zytor.com and linux-mips@linux-mips.org.
> 
>   Ralf
> 
> 

I just (finally) got around to testing this (version 0.42), and I still 
need to set ip_no_pmtu_disc to 1 to netboot.  Is this working for anybody?

-Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-18 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-13 19:32 Tftp problems with ARC firmware Ralf Baechle
2005-10-13 22:09 ` Florian Lohoff
2005-10-14 11:10   ` Ralf Baechle
2006-02-18 15:55 ` Stephen P. Becker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.