[Top] [All Lists]

Re: bogus packet in ei_receive of 8390.c

Subject: Re: bogus packet in ei_receive of 8390.c
From: Atsushi Nemoto <>
Date: Sun, 26 Feb 2006 23:05:41 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <>
>>>>> On Sun, 26 Feb 2006 10:31:44 +0800, zhuzhenhua <> said:

zzh> i use a rtl8019as ethernet card for my board, and now the driver
zzh> can boot up with nfs root, it also can run helloworld via nfs,
zzh> but if i run a big application,or something like vi, it will get
zzh> messages like that "eth0: bogus packet: status=0x0 nxpg=0x65
zzh> size=102" and i find it is in ei_receive of 8390.c caused by
zzh> uncorrect status of receive in the 8390_hdr, does someone meet
zzh> this situation?  what may cause this? hardware or uncorrect
zzh> driver?

Though I do now know what is wrong, here is some general considerations:

RTL8019AS has 8bit mode and 16bit mode.  Does your driver select right
mode (ei_status.word16) ?

And if your RTL8019AS is running in 8bit mode, PSTOP (Page Stop)
register should not exceed to 0x60 (please refer detasheet available
from  Check your driver's PSTOP value.

Also, it would be worth checking your ISA-like bus is correctly
configured.  Bus-width, clock, wait-cycles, setup/hold time, etc.

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>