All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bogus packet size
@ 2002-02-01 13:49 Tom Beer
  2002-02-04 16:11 ` Tom Beer
  2002-02-04 16:47 ` Ard van Breemen
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Beer @ 2002-02-01 13:49 UTC (permalink / raw)
  To: lartc

Hi,

this may be somehow off topic, but neither
google nor other resource seems available.
I unregularly get a 

eth0: bogus packet size 59075 status=0xc7 nxpg=0x6

What does this mean?

Thanks for your help Tom


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] bogus packet size
  2002-02-01 13:49 [LARTC] bogus packet size Tom Beer
@ 2002-02-04 16:11 ` Tom Beer
  2002-02-04 16:47 ` Ard van Breemen
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Beer @ 2002-02-04 16:11 UTC (permalink / raw)
  To: lartc

Hi,

this may be somehow off topic, but neither
google nor other resource seems available.
I unregularly get a 

eth0: bogus packet size 59075 status=0xc7 nxpg=0x6

What does this mean?

Thanks for your help Tom


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] bogus packet size
  2002-02-01 13:49 [LARTC] bogus packet size Tom Beer
  2002-02-04 16:11 ` Tom Beer
@ 2002-02-04 16:47 ` Ard van Breemen
  1 sibling, 0 replies; 3+ messages in thread
From: Ard van Breemen @ 2002-02-04 16:47 UTC (permalink / raw)
  To: lartc

On Mon, Feb 04, 2002 at 05:11:38PM +0100, Tom Beer wrote:
> eth0: bogus packet size 59075 status=0xc7 nxpg=0x6
> What does this mean?
grep -r "bogus packet size" .
./drivers/net/8390.c:                           printk(KERN_DEBUG "%s: bogus packet size: %d, status=%#2x nxpg=%#2x.\n",
./drivers/net/plip.c:                   printk(KERN_WARNING "%s: bogus packet size %d.\n", dev->name, rcv->length.h);

drivers/net/8390.c:
    701         pkt_len = rx_frame.count - sizeof(struct e8390_pkt_hdr);
    702         pkt_stat = rx_frame.status;


    719         if (pkt_len < 60  ||  pkt_len > 1518)
    720         {
    721             if (ei_debug)
    722                 printk(KERN_DEBUG "%s: bogus packet size: %d, status=%#2x nxpg=%#2x.\n",
    723                        dev->name, rx_frame.count, rx_frame.status,
    724                        rx_frame.next);
    725             ei_local->stat.rx_errors++;
    726             ei_local->stat.rx_length_errors++;
    727         }
    728          else if ((pkt_stat & 0x0F) = ENRSR_RXOK) 
    729         {
    730             struct sk_buff *skb;
    731             
    732             skb = dev_alloc_skb(pkt_len+2);
    733             if (skb = NULL) 
<snip>
    756         else 
    757         {
    758             if (ei_debug)
    759                 printk(KERN_DEBUG "%s: bogus packet: status=%#2x nxpg=%#2x size=%d\n",

It is probable a some undocumented status whithout the right decoding
of the driver. Thus: you should only look at the status, not at the
packet size, which probably just is not legal because of receiving errors.

-- 
<ard@telegraafnet.nl> Telegraaf Elektronische Media  http://wwwijzer.nl
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html 
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-04 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-01 13:49 [LARTC] bogus packet size Tom Beer
2002-02-04 16:11 ` Tom Beer
2002-02-04 16:47 ` Ard van Breemen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.