Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 22:27:22 +0100
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        randal@mailrelay.hits.net, Dave Tweten <tweten@nas.nasa.gov>, mobile@FreeBSD.ORG
Subject:   Re: Xircom Watchdog Time-out Bug
Message-ID:  <20010516222722.38753@localhost>
In-Reply-To: <3AFD13D0.15883.1D4F00@localhost>; from Randal Masutani on Sat, May 12, 2001 at 10:43:28AM -1000
References:  <200105080410.f484AN070438@gilmore.nas.nasa.gov> <3AFD13D0.15883.1D4F00@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 12, 2001 at 10:43:28AM -1000, Randal Masutani wrote:
> Dave,
> 
> I have been having the same problem on my VAIO F560 with the Xircom CE3
> card.  I have turned on XE_DEBUG in the driver to see whats going on.  I
> appears to have a problem with Autonegotiation.  The driver is not
> detecting the PHY chip correctly? It tries at least 6 times before it
> detects it and then autonegotiation works okay and then DHCP will get
> done.
> 
> Anyone who understands the Autonegotiation process or more on MII PHY
> process?

This has been the biggest issue with the xe driver for a long time now.  I
wrote the PHY-handling code to do the same thing as the Linux driver it was 
ported from, which seemed to match fairly well with the docs I had
available.  However, it's always had trouble with autonegotiation in some
configurations, although I've never worked out what the defining features
of those configurations are :-(

I might have done more about it, except that the driver works for me on
all-but-one of the hubs/switches I've ever plugged it into, from the cheapo 
Linksys on my desk here to the monster racks of Cisco kit at work, and I no 
longer have access to the one that didn't work.

So, have you tried connecting to a different autonegotiating hub/switch, if 
you have access to such a beast?  How about inserting the card after boot,
and manually ifconfig-ing it to force a particular media type?  Do you
still get bad behaviour in those cases?

You may be right that the PHY isn't being detected correctly -- the Xircom
docs hint at several different PHYs having been used in the CE3 and
RealPort products, but I'm not sure there's a reliable way to tell exactly
what you've got...

If anyone can point me to some straightforward docs on how make a MII PHY
do its autonegotiation thing (they're all supposed to support a common
interface, right?), I'd be very happy!

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010516222722.38753>