netdev
[Top] [All Lists]

Re: acenic lockup

To: davem@xxxxxxxxxx (David S. Miller)
Subject: Re: acenic lockup
From: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Date: Wed, 7 May 2003 21:06:32 +0400 (MSD)
Cc: anton@xxxxxxxxx, jes@xxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030506.234316.68138442.davem@xxxxxxxxxx> from "David S. Miller" at May 6, 3 11:43:16 pm
Sender: netdev-bounce@xxxxxxxxxxx
Hello!

>    Its stuck there and never coming out. Alexey: I have a feeling you
>    wrote this code, is that correct? :)

Yes, I did. I am not sure about barriers, I stopped attempts
to understand this long ago. Anyway, intel does not have anything
to put here, mb() at side updating pointer looks enough.
 

There is a real ugly BUG in the driver, ace_watchdog():

        } else {
                printk(KERN_DEBUG "%s: BUG... transmitter died. Kicking it.\n",
                       dev->name);
#if 0
                netif_wake_queue(dev);
#endif
        }

(#if is from my local tree). I remember we discussed this with Dave
and he was very angry about this flaw shared by most of drivers and, seems,
did not eat this fix.

So, if you see the message, it is surely this bug.


Alexey


<Prev in Thread] Current Thread [Next in Thread>