Hot-plugging of the ethernet is broken with the PHY enabled in the kernel.
kernel 2.6.36 w/ omap3_defconfig



I've tried this on several different devices (switches, laptops, etc) using a static IP address on the gumstix

Power on the Tobi with ethernet unplugged
Plug in ethernet

Or

Power on the Tobi with ethernet plugged into another device
After boot unplug and replug the device

In either case it takes several tries of unplugging and replugging, sometimes in combination with `/etc/init.d/networking restart`, before the link is reestablished.



Also, note that in dmesg the irq=-1
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
That seems odd to me.


With the PHY disabled the red light next to the ethernet blinks like crazy, but hotplug seems to work.
Since in the default configuration with the stock kernel the light doesn't blink, I assume that it isn't supposed to.

Any thoughts?

AJ ONeal