Re: bogus packet in ei_receive of 8390.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Sun, 26 Feb 2006 10:31:44 +0800, zhuzhenhua <zzh.hust@xxxxxxxxx> 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 www.realtek.com.tw).  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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux