Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-13 Thread a_fetisov
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

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Can you help me?



Thanks, and sorry for my English.

Andrey



- Original Message -
From: Scott Mitchell [EMAIL PROTECTED]
To: northern snowfall [EMAIL PROTECTED]
Cc: Andrey A. Fetisov [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 7:41 PM
Subject: Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 
max 1514)


 On Wed, Feb 12, 2003 at 10:14:11AM -0500, northern snowfall wrote:
  
  
  This was fixed about a week ago.  You need to upgrade to the latest
  -CURRENT (you could probably get away with just pulling the latest
if_xe.c,
  though).
  
  Was the problem that the ether driver was not snipping off the 16bit
  checksum
  on full-length frames?
  Don

 Yes.  Specifically, it wasn't telling the higher layers of the stack that
 the checksum bytes were always there, but it does that now.

 Scott

 --

===
 Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
 Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
 [EMAIL PROTECTED] | 0xAA775B8B |  -- Anon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-13 Thread Scott Mitchell
[cc's trimmed]

On Thu, Feb 13, 2003 at 01:54:19PM +0300, [EMAIL PROTECTED] 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
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-12 Thread Scott Mitchell
On Wed, Feb 12, 2003 at 09:09:17AM +0300, Andrey A. Fetisov wrote:
 Hello!
 
 I'm installed FreeBSD 5.0 on Notebook Compaq Armada E700 with PCMCI network card 
Xircom.
 
 Console screen displayed following errors:
 
 xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)
 xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)
 xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)

This was fixed about a week ago.  You need to upgrade to the latest
-CURRENT (you could probably get away with just pulling the latest if_xe.c,
though).

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-12 Thread northern snowfall


This was fixed about a week ago.  You need to upgrade to the latest
-CURRENT (you could probably get away with just pulling the latest if_xe.c,
though).


Was the problem that the ether driver was not snipping off the 16bit 
checksum
on full-length frames?
Don





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-12 Thread Scott Mitchell
On Wed, Feb 12, 2003 at 10:14:11AM -0500, northern snowfall wrote:
 
 
 This was fixed about a week ago.  You need to upgrade to the latest
 -CURRENT (you could probably get away with just pulling the latest if_xe.c,
 though).
 
 Was the problem that the ether driver was not snipping off the 16bit 
 checksum
 on full-length frames?
 Don

Yes.  Specifically, it wasn't telling the higher layers of the stack that
the checksum bytes were always there, but it does that now.

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-12 Thread northern snowfall


Yes.  Specifically, it wasn't telling the higher layers of the stack that
the checksum bytes were always there, but it does that now.


Right on. That was my guess.
Don






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



xe0: discard oversize frame (ether type 800 flags 3 len 1518 max 1514)

2003-02-11 Thread Andrey A. Fetisov
Hello!

I'm installed FreeBSD 5.0 on Notebook Compaq Armada E700 with PCMCI network card 
Xircom.

Console screen displayed following errors:

xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)
xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)
xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)

I'm run following test:

1. I'm use ftp command for connect to my network FTP server. I'm can successfully 
connect and run different command. Such as ls, pwd ... 2. When I'm run get 
command on my console screen show following errors:

xe0: discard oversize frame (ether type 800 flags 3 len 1518  max 1514)

3. And I'm can't receive file from my FTP server.


# ifconfig xe0 | grep mtu
xe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500


Before 5.0 I'm use FreeBSD 4.7 with no errors. I'm removing 4.7 and install 5.0 and 
I'm 
receiving this error. Maybe this bug in xe driver on FreeBSD 5.0? Please give me any 
advice to help me resolve this issue.


I'm sorry for my English :)

Thank You!
Andrey

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message