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/