netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martyn Welch <martyn.welch@collabora.com>
To: netdev@vger.kernel.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Gabriel Hojda <ghojda@yo2urs.ro>,
	Markus Reichl <m.reichl@fivetechno.de>,
	Steve Glendinning <steve.glendinning@shawell.net>,
	UNGLinuxDriver@microchip.com,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	stable@kernel.org
Subject: Issues with smsc95xx driver since a049a30fc27c
Date: Fri, 17 Dec 2021 15:45:08 +0000	[thread overview]
Message-ID: <199eebbd6b97f52b9119c9fa4fd8504f8a34de18.camel@collabora.com> (raw)

I've had some reports of the smsc95xx driver failing to work for the
ODROID-X2 and ODROID-U3 since a049a30fc27c was merged (also backported
to 5.15.y stable branch, which I believe is what those affected by this
are using).

Since then we have performed a number of tests, here's what we've found
so far:

ODROID-U3 (built-in LAN9730):

 - No errors reported from smsc95xx driver, however networking broken
   (can not perform DHCP via NetworkManager, Fedora user space).

 - Networking starts working if device forced into promiscuous mode
   (Gabriel noticed this whilst running tcpdump)


ODROID-X2 (built in LAN9514):

 - Networking not brought up (Using Debian Buster and Bullseye with
traditional `/etc/network/interfaces` approach).

 - As with Odroid-u3, works when running in promiscuous mode.


OrangePi Zero with LAN9500A EVK:

 - Network works fine. Interface can be taken up and down, cable
   unplugged and replugged, network continues to work (Debian based
   user space).


Raspberry Pi 1 rev 2 (built-in LAN9512):

 - Network works fine. (Raspberry OS user space)


Raspberry Pi 2 (built-in LAN9514):

 - Booting with DHCP performed by kernel, appears to be working:

    https://lava.collabora.co.uk/scheduler/job/5240174

 - Tested in LAVA (traditional `/etc/network/interfaces` approach),
   networking appears to be working:

    https://lava.collabora.co.uk/scheduler/job/5247952

 - It has been noted that U-Boot uses this device during boot, which
   may be having an impact, however the driver appears to be resetting
   the chip at device bind. Have not been able to replicate this on the
   ODROID-X2 (U-boot environment there doesn't have the network
   driver). This is interesting as the Raspberry Pi 2 and ODROID-X2
   appear to have the same device, yet ones working and the other
   isn't.

Not sure how to approach this now, I've yet to find a device I have
access to that is impacted by this issue.

Martyn

             reply	other threads:[~2021-12-17 15:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 15:45 Martyn Welch [this message]
2021-12-18 16:45 ` Issues with smsc95xx driver since a049a30fc27c Andrew Lunn
2021-12-18 17:23   ` Gabriel Hojda
2021-12-18 18:22     ` Andrew Lunn
2021-12-18 18:32       ` Andrew Lunn
2021-12-18 20:33         ` Gabriel Hojda
2021-12-20 10:37           ` Markus Reichl
     [not found]         ` <c95954ec12dfcf8877c1bf92047c0268@yo2urs.ro>
2021-12-20  8:53           ` Andrew Lunn
2021-12-20 20:04             ` Gabriel Hojda
2021-12-20 21:28             ` Gabriel Hojda

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=199eebbd6b97f52b9119c9fa4fd8504f8a34de18.camel@collabora.com \
    --to=martyn.welch@collabora.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=davem@davemloft.net \
    --cc=ghojda@yo2urs.ro \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=m.reichl@fivetechno.de \
    --cc=m.szyprowski@samsung.com \
    --cc=netdev@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=steve.glendinning@shawell.net \
    /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).