From owner-freebsd-mobile Wed May 16 14:26:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id BBE6937B423 for ; Wed, 16 May 2001 14:26:31 -0700 (PDT) (envelope-from scott.mitchell@mail.com) Received: from lungfish.ntlworld.com ([62.253.146.161]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010516212628.BPMO285.mta06-svc.ntlworld.com@lungfish.ntlworld.com>; Wed, 16 May 2001 22:26:28 +0100 Received: (from scott@localhost) by lungfish.ntlworld.com (8.8.8/8.8.8) id WAA01497; Wed, 16 May 2001 22:27:23 +0100 (BST) (envelope-from scott) Message-ID: <20010516222722.38753@localhost> Date: Wed, 16 May 2001 22:27:22 +0100 From: Scott Mitchell To: randal@mailrelay.hits.net, Dave Tweten , mobile@FreeBSD.ORG Subject: Re: Xircom Watchdog Time-out Bug References: <200105080410.f484AN070438@gilmore.nas.nasa.gov> <3AFD13D0.15883.1D4F00@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3AFD13D0.15883.1D4F00@localhost>; from Randal Masutani on Sat, May 12, 2001 at 10:43:28AM -1000 X-Operating-System: FreeBSD 2.2.6-RELEASE i386 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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