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:13:17 +0200 [thread overview]
Message-ID: <55DC5BDD.5040307@schmelzer.or.at> (raw)
In-Reply-To: <CAEUhbmWERRHAx8Q-1AqxrJQNNAwGE31v1ghB76A4T5XGK2Wapg@mail.gmail.com>
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"
best regards,
Hannes
On 25.08.2015 09:40, Bin Meng wrote:
> Hi Joe,
>
> On Tue, Aug 25, 2015 at 12:24 PM, Joe Hershberger
> <joe.hershberger@gmail.com> wrote:
>> Hi Bin,
>>
>> On Mon, Aug 24, 2015 at 11:05 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
>>> Hi Joe,
>>>
>>> On Tue, Aug 25, 2015 at 11:42 AM, Joe Hershberger
>>> <joe.hershberger@gmail.com> wrote:
>>>> Hi Bin,
>>>>
>>>> On Mon, Aug 24, 2015 at 9:25 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> With latest u-boot/master, TFTP is seriously broken.
>>>>>
>>>>> => tftp 100000 bzImage
>>>>> Speed: 100, full duplex
>>>>> Using pch_gbe device
>>>>> TFTP from server 10.10.0.8; our IP address is 10.10.0.100; sending
>>>>> through gateway 10.10.0.1
>>>>> Filename 'bzImage'.
>>>>> Load address: 0x100000
>>>>> Loading: T
>>>>> TFTP error: 'Unsupported option(s) requested' (8)
>>>>> Starting again
>>>> I'm guessing you are having an issue that the TFTP server you are
>>>> using for some reason does not allow a timeout as small as 10 ms. What
>>>> server are you testing against? Can you experiment and find the lowest
>>>> that it accepts? Maybe there is a compromise we can reach that still
>>>> works with most (all?) servers and also improves the behavior in a
>>>> lossy environment.
>>> I am using a CentOS server, with /etc/xinetd.d/tftp configuration below.
>>>
>>> service tftp
>>> {
>>> socket_type = dgram
>>> protocol = udp
>>> wait = yes
>>> user = root
>>> server = /usr/sbin/in.tftpd
>>> server_args = -s /tftpboot
>>> disable = no
>>> per_source = 11
>>> cps = 100 2
>>> flags = IPv4
>>> }
>>>
>>> I don't see an entry to change timeout settings.
>> I didn't mean to change the server settings; I meant can you adjust
>> the U-Boot code until your server doesn't reject the option?
>>
> I would like to revert this commit before we find a solution. Even if
> I find a proper value to get tftp work again in my network
> environment, we don't know if this commit breaks someone else's board.
> After all, this timeout value has been there for years (?), and I
> believe it is a safe value for all the boards that are actively
> maintained.
>
> [snip]
>
> Regards,
> Bin
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
next prev parent reply other threads:[~2015-08-25 12:13 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 [this message]
2015-08-25 12:19 ` Pavel Machek
2015-08-25 12:23 ` Hannes Schmelzer
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=55DC5BDD.5040307@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox