From owner-freebsd-questions Thu Feb 13 5:41:26 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456AA37B405 for ; Thu, 13 Feb 2003 05:41:24 -0800 (PST) Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27EE43F93 for ; Thu, 13 Feb 2003 05:41:20 -0800 (PST) (envelope-from scott.mitchell@mail.com) Received: from fishballoon.dyndns.org ([80.4.125.54]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20030213134113.KKXT4022.mta06-svc.ntlworld.com@fishballoon.dyndns.org>; Thu, 13 Feb 2003 13:41:13 +0000 Received: from tuatara.goatsucker.org (tuatara [192.168.1.6]) by fishballoon.dyndns.org (8.12.3/8.12.3) with ESMTP id h1DDerbO085215; Thu, 13 Feb 2003 13:40:53 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.12.6/8.12.6/Submit) id h1DDfta8047167; Thu, 13 Feb 2003 13:41:55 GMT (envelope-from scott) Date: Thu, 13 Feb 2003 13:41:55 +0000 From: Scott Mitchell To: a_fetisov@hotmail.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 > max 1514) Message-ID: <20030213134155.GA46354@fishballoon.dyndns.org> References: <200302120609.h1C69Hdl099820@www1.mailru.com> <20030212100423.GA33472@fishballoon.dyndns.org> <3E4A64C3.4060402@ameritech.net> <20030212164136.GB33472@fishballoon.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [cc's trimmed] On Thu, Feb 13, 2003 at 01:54:19PM +0300, a_fetisov@hotmail.com wrote: > Hi Scott! > > Because I'm not network connection on my FreeBSD system i'm download files > if_xe.c and if_xe_pccard.c from CVSWeb > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/xe/ > > Then I'm copy this files to /usr/src/sys/dev/xe > > Then run following commands: > > # cd /usr/src > > # make buildkernel KERNCONF=MYKERNEL > > i'm get foloving error: > > /usr/src/sys/dev/xe/if_xe.c: In function `xe_intr': > /usr/src/sys/dev/xe/if_xe.c:646: `M_NOWAIT' undeclared (first use in this > functi > on) > /usr/src/sys/dev/xe/if_xe.c:646: (Each undeclared identifier is reported > only on > ce > /usr/src/sys/dev/xe/if_xe.c:646: for each function it appears in.) > *** Error code 1 [...] Are you doing this on a 5.0 or 4.x machine? The M_NOWAIT flag doesn't exist in 4.x as far as I can tell. The latest RELENG_4 revision of if_xe.c uses M_DONTWAIT, but there are a lot of other differences between this and the HEAD version, so I doubt it will work anyway. The checksum problem doesn't happen in 4.x anyway, so you only need to worry about it at all if you're running 5.0. Hope that helps, 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-questions" in the body of the message