netdev
[Top] [All Lists]

Re: [PATCH] Prevent netpoll hanging when link is down

To: Eric Lemoine <eric.lemoine@xxxxxxxxx>
Subject: Re: [PATCH] Prevent netpoll hanging when link is down
From: Colin Leroy <colin@xxxxxxxxxx>
Date: Thu, 21 Oct 2004 18:36:10 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <5cac192f0410200848179ccc81@mail.gmail.com>
References: <20041007214505.GB31558@wotan.suse.de> <20041011162224.GL31237@waste.org> <20041011163226.GG26350@wotan.suse.de> <20041011163601.GM31237@waste.org> <20041011164315.GH26350@wotan.suse.de> <20041011165851.GN31237@waste.org> <20041011224542.5bdc93aa@jack.colino.net> <5cac192f0410181443303379e2@mail.gmail.com> <5cac192f041018145824acce5a@mail.gmail.com> <20041020161119.6e30efe5@pirandello> <5cac192f0410200848179ccc81@mail.gmail.com>
Sender: netdev-bounce@xxxxxxxxxxx
On 20 Oct 2004 at 17h10, Eric Lemoine wrote:

Hi Eric, 

> > > > > [deadlock with sungem & netconsole when no carrier]
> > > > Sorry I'm catching up on that problem... Do you have your
> > > > problem solved? If not, did you try removing all printk calls
> > > > from within gem_poll(), as suggested by Matt Mackall?
> > >
> Ok. Keep me posted. If removing the printk's indeed helps I'll cook up
> a proper fix.

Ok, it tried... It doesn't help. I tried the wild way too:

        #define printk(...) do {} while (0);

It didn't help either. I'll give a look to other net drivers, to see if
they do stuff differently, but I fear that I won't find it easily...

-- 
Colin
  "If you can't beat your computer at chess, try kickboxing."

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