From: pacman@kosh.dhis.org
To: netdev@vger.kernel.org
Subject: mv643xx pegasos breakage again
Date: Tue, 21 Sep 2010 16:06:39 -0500 (GMT+5) [thread overview]
Message-ID: <20100921210639.20777.qmail@kosh.dhis.org> (raw)
Long ago, in another thread started by me,
Lennert Buytenhek wrote:
>Also, since the mv643xx_eth phylib conversion, it appears that the
>PHY on the Pegasos board fails to initialise properly, and this can
>apparently be worked around by turning the Marvell phylib driver off.
>Are you seeing this as well?
Gabriel Paubert answered:
>At least I experienced this problem. On the Pegasos, the generic
>PHY driver works, the Marvell specific ones screws up (at least
>when connected to a 100Mb/s hub, it detects it as 1Gb).
I didn't have anything to add at the time, having never actually tried the
marvell phy driver, and I quickly forgot about the issue. But now I've put a
2.6.35 kernel on a pegasos, and the marvell phy driver is being autoloaded.
The above symptom appears. Previously, it was possible to have the offending
driver harmlessly sitting in /lib/modules and as long as it wasn't loaded,
things were OK.
The misdetected speed is only the first symptom. No packets are ever
received, even after manually setting the speed.
Also during one experiment, the kernel allowed me to rmmod marvell and then
Oopsed, which I thought was a little rude.
It's still easy to work around: just don't build that driver.
Since this "new" problem was hard for me to identify (the marvell phy driver
doesn't announce itself in the kernel log, so there was no obvious sign that
a different driver was being loaded, and I had to git bisect to figure out
what happened between 2.6.34 and 2.6.35) I figure I should at least put my
solution on the record. And volunteer for further testing in case someone is
interested in digging deeper into why pegasos doesn't like marvell.ko.
reply other threads:[~2010-09-21 21:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100921210639.20777.qmail@kosh.dhis.org \
--to=pacman@kosh.dhis.org \
--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