On Fri, 24 Mar 2006 16:49:10 +0100, Marco Berizzi wrote:
> Hello evebody.
> I get this error on linux vanilla 2.6.16
> with via_rhine module loaded  when
> I run mii-tool:

That was caused by a recent change that replaced an mdelay with msleep.

netdev_ioctl and friends (ethtool calls, too) are known to grab a spin lock
before they do much of anything, and they hang onto it until they're done.
They also call mdio_read/write, which requires millisecond delays on Rhine-I.

So on Rhine-I with a 2.6.15+ kernel, the driver ends up calling msleep
while holding a spin lock -- hence the stack dump.

I wonder if low latency for ancient Rhine-I chips is worth the trouble.

Roger
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to