From: Berend De Schouwer <berend.de.schouwer@gmail.com>
To: netdev@vger.kernel.org
Subject: tg3 pxe weirdness
Date: Thu, 21 Sep 2017 16:23:22 +0200 [thread overview]
Message-ID: <1506003802.18177.62.camel@gmail.com> (raw)
Hi,
I've got a machine with a Broadcom bcm5762c, using the tg3 driver, that
fails to receive network packets under some very specific conditions.
It works perfectly using a 1Gbps switch. If, however, it first uses
PXE and then loads the Linux tg3 driver, and the switch is 100Mbps, it
no longer receives packets larger than ICMP.
It does do ARP and ping.
If it boots using PXE on a 1Gbps switch, boots into Linux, and then
it's plugged into 100 Mbps it also stops receiving packets.
mii-diag and dmesg confirm auto-negotiated speed and flow control, and
confirm temporary disconnect as the cables are moved.
PXE boots using UNDI, which then transfers a kernel using TFTP, which
transfers correctly. The kernel boots, loads the tg3 driver, connects
the network. Up to this point everything works. Ping will work too.
Any other network traffic fails.
Booting from a harddrive works fine. I assume the UNDI driver
somewhere breaks auto-negotiation. I've tried using mii-tool and
ethtool, but I haven't managed to make it work yet.
Is it possible to get negotiation working after PXE boot? Are there
any tg3 driver flags that might make a difference?
Berend
next reply other threads:[~2017-09-21 14:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 14:23 Berend De Schouwer [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-22 6:21 tg3 pxe weirdness Siva Reddy Kallam
2017-09-22 7:28 ` Berend De Schouwer
2017-09-22 12:56 ` Berend De Schouwer
2017-09-22 13:20 ` Berend De Schouwer
2017-09-22 15:34 ` Berend De Schouwer
2017-09-25 9:41 Siva Reddy Kallam
2017-09-27 10:05 ` Berend De Schouwer
2017-09-27 10:31 Siva Reddy Kallam
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=1506003802.18177.62.camel@gmail.com \
--to=berend.de.schouwer@gmail.com \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).