From owner-freebsd-mobile Sun Jan 26 5:13:26 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A526737B401 for ; Sun, 26 Jan 2003 05:13:24 -0800 (PST) Received: from sydney.lemis.com (sydney.lemis.com [192.109.197.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id A96D043ED8 for ; Sun, 26 Jan 2003 05:13:21 -0800 (PST) (envelope-from grog@sydney.worldwide.lemis.com) Received: from sydney.worldwide.lemis.com (smmsp@localhost [127.0.0.1]) by sydney.lemis.com (8.12.6/8.12.6) with ESMTP id h0QDCGJM001044; Sun, 26 Jan 2003 21:12:46 +0800 (WST) (envelope-from grog@sydney.worldwide.lemis.com) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.12.6/8.12.6/Submit) id h0Q8puFw002118; Sun, 26 Jan 2003 16:51:56 +0800 (WST) Date: Sun, 26 Jan 2003 16:51:55 +0800 From: Greg Lehey To: Kevin Oberman Cc: Joerg Wunsch , "M. Warner Losh" , mobile@freebsd.org Subject: Re: How to make an Intel EtherExpress known to xe(4)? Message-ID: <20030126085155.GD1982@sydney.worldwide.lemis.com> References: <20030125235520.A97813@uriah.heep.sax.de> <20030125230756.BC4195D06@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030125230756.BC4195D06@ptavv.es.net> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday, 25 January 2003 at 15:07:56 -0800, Kevin Oberman wrote: >> Date: Sat, 25 Jan 2003 23:55:20 +0100 >> From: Joerg Wunsch >> Sender: owner-freebsd-mobile@FreeBSD.ORG >> >> As M. Warner Losh wrote: >> >>> : In addition to make it known to the files in /sys/dev/xe/, >>> : what else needs to be done to handle this card? >>> >>> Index: if_xe_pccard.c >> ... >>> Should be all that's needed, unless it has a modem built-in. >> >> Yep, thanks, it is all to make it known: >> >> xe0: at port 0x100-0x10f irq 11 function 0 config 1 on pccard0 >> xe0: Intel CE3, bonding version 0x45, 100Mbps capable >> xe0: DingoID = 0x444b, RevisionID = 0x1, VendorID = 0 >> xe0: Ethernet address 00:a0:c9:bc:b5:ef >> >> However, when trying to use it i get: >> >> xe0: discard oversize frame (ether type 800 flags 3 len 1518 > max 1514) >> >> This didn't happen with that card under 4.x. I might look >> into the differences... The connection is not usable that >> way, it seems all packets are thrown away as being oversized. >> >> Maybe as a workaround just assume it's a full-sized packet, >> and only discard the `oversized' bytes? If this was in >> error, the higher protocol layers will throw the packet >> away anyway. > > This is typical of receiving 802.1q tagged frames, but I have been > getting this error on my current system with a Xircom RE-100 card and > I am reasonably sure that i am not getting any tagged frames where > it's located. I suspect a bug in the driver, but have not had time to > look at it to this point. (Like, maybe, it is counting the FCS bytes > as part of the frame, which would make a full sized frame 1500 bytes > of data plus 6 bytes source, 6 bytes destination, 2 bytes of protocol > information, and 4 bytes of FCS for a total of (1500+6+6+2+4=1518). Yes, I reported a similar problem with a Xircom card (the thick red one with the RJ-45 connector, if that's enough to identify it; sorry, I don't have net connectivity at the moment) a while back. I've confirmed that the packets leave the source with length 1514 and at the destination with reported 1518 bytes. That doesn't happen when the receiving end is running release 4. > This is only conjecture until someone looks at the driver. Indeed. I don't see me having time in the near future. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message