Re: Setting MAC address in ewrk3 driver

From: Adam Kropelin (akropel1@rochester.rr.com)
Date: Thu Nov 21 2002 - 18:29:49 EST


On Thu, Nov 21, 2002 at 07:54:17PM +0000, Neil Cafferkey wrote:
> Hi,
>
> I think I may have found a bug in the ewrk3 network driver. When I try to
> change the MAC address of a Digital DE205 NIC using "ifconfig eth0 hw
> ether XX:XX:XX:XX:XX:XX", it appears to work ("ifconfig eth0" reports the
> new address), but in fact it isn't sending or receiving packets any more.
> I'm using kernel version 2.4.10.

Try the driver from 2.4.20-rc2. There are some locking updates in the
ioctl code for setting the hw address. I'm running 2.5 (approx same
driver as 2.4.20-rc2) here and I observe that the address really does
change (i.e. I see packets on the wire with the new MAC addr) but the
kernel oopses shortly thereafter somewhere in the network stack. I'm
blaming this on 2.5 instability for the moment but will fix it if it
turns out to be ewrk3's fault.

--Adam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:38 EST