Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 1997 22:31:46 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        hackers@freebsd.org
Subject:   Anyone seen this kernel (ethernet) bug?
Message-ID:  <Pine.BSF.3.95.971208222122.21816A-100000@current1.whistle.com>

next in thread | raw e-mail | index | archive | help

The machine:
485DX4 with 2 SMC compatible ethernet cards. FreeBSD 2.2.2 (approx)

the symptom:
Ethernet header spammed over contents of kernel stack.

It would seem that the ed driver (if_ed.c) or the ethernet generic code,
has a bug, in which the contents of an incoming ethernet header are
written into the wrong kernel stack. I've been seeing this occasionally,
but this time I was able to possitively identify the memory corruption as
a 14 byte ethernet header, from a received packet. The kernel is from July
1, but looking in the CVS logs shows no related bugs as having been fixed
in the intervening 5 months. 

More info:  The bug has been seen to occur when an interface isn
ifconfig'd up while other machines are still trying to address it, after
the machine was (violently) rebooted. My first guess is that the driver
gets a packet before it's quite ready for it. Some other process gets it's
kernel stack corrupted. 

I will be looking for this tonight, but if you have any insights, or feel
the urge to beat me to it, feel free to send suggestions :) 

julian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971208222122.21816A-100000>