All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)
Date: Tue, 25 Aug 2015 14:23:48 +0200	[thread overview]
Message-ID: <55DC5E54.90109@schmelzer.or.at> (raw)
In-Reply-To: <20150825121935.GA17346@amd>

Hi Pavel,

this works for me.

many thanks.
I will looking for some patch coming soon.

best regards,
Hannes


On 25.08.2015 14:19, Pavel Machek wrote:
> On Tue 2015-08-25 14:13:17, Hannes Schmelzer wrote:
>> Hi,
>>
>> i've same problem.
>>
>> Running tftp-hpa on Linux Mint 17.
>>
>> cat /etc/default/tftpd-hpa
>> # /etc/default/tftpd-hpa
>> RUN_DAEMON="yes"
>> TFTP_USERNAME="tftp"
>> TFTP_DIRECTORY="/tftpboot/tseries"
>> TFTP_ADDRESS="0.0.0.0:69"
>> TFTP_OPTIONS="-l -s"
> Yes. Please try patch I mailed half an hour ago... it should fix
> that. (Actually here it is again, without changelog).
>
> Sorry for the trouble,
> 								Pavel
>
>
> Date: Tue, 25 Aug 2015 13:44:25 +0200
> From: Pavel Machek <pavel@denx.de>
> To: Bin Meng <bmeng.cn@gmail.com>
> Cc: Joe Hershberger <joe.hershberger@ni.com>, Tom Rini
> <trini@konsulko.com>, U-Boot Mailing
> List <u-boot@lists.denx.de>
> Subject: [PATCH] Change default tftp timeout to be	rfc-compliant
> 	
>
> diff --git a/net/tftp.c b/net/tftp.c
> index 18ce84c..e919638 100644
> --- a/net/tftp.c
> +++ b/net/tftp.c
> @@ -18,8 +18,9 @@
>   
>   /* Well known TFTP port # */
>   #define WELL_KNOWN_PORT	69
> -/* Millisecs to timeout for lost pkt */
> -#define TIMEOUT		100UL
> +/* Millisecs to timeout for lost pkt. Anything below 1000msec is against RFC, and
> +   some servers will refuse it. */
> +#define TIMEOUT		1000UL
>   #ifndef	CONFIG_NET_RETRY_COUNT
>   /* # of timeouts before giving up */
>   # define TIMEOUT_COUNT	1000
>

  reply	other threads:[~2015-08-25 12:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25  2:25 [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8) Bin Meng
2015-08-25  3:42 ` Joe Hershberger
2015-08-25  4:05   ` Bin Meng
2015-08-25  4:24     ` Joe Hershberger
2015-08-25  7:40       ` Bin Meng
2015-08-25 12:13         ` Hannes Schmelzer
2015-08-25 12:19           ` Pavel Machek
2015-08-25 12:23             ` Hannes Schmelzer [this message]
2015-09-10 22:26             ` Alexey Brodkin
2015-09-10 22:46               ` Joe Hershberger
2015-09-10 22:51               ` Simon Glass
2015-08-25  7:12 ` Pavel Machek
2015-08-25  8:58   ` Bin Meng
2015-08-25  9:22     ` Bin Meng
2015-08-25 11:28     ` Pavel Machek
2015-08-25 11:44     ` [U-Boot] [PATCH] Change default tftp timeout to be rfc-compliant Pavel Machek
2015-08-25 13:03       ` Bin Meng
2015-08-25 14:32         ` Pavel Machek
2015-08-25 14:49           ` Tom Rini
2015-08-25 15:33             ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55DC5E54.90109@schmelzer.or.at \
    --to=hannes@schmelzer.or.at \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.