Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\]\s+Prevent\s+netpoll\s+hanging\s+when\s+link\s+is\s+down\s*$/: 68 ]

Total 68 documents matching your query.

1. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: reear <greearb@xxxxxxxxxxxxxxx>
Date: Wed, 6 Oct 2004 16:43:22 -0500
[cc:ed to netdev] Well this doesn't look unreasonable, but I haven't run into it with the NICs I've tested. Nor have I seen this reported before. Which NICs is this with? I wonder if netif_running is
/archives/netdev/2004-10/msg00225.html (9,351 bytes)

2. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Thu, 7 Oct 2004 07:53:19 +0200
Hi, Sungem. I didn't find anything strange in sungem, but it may be... Probably... I wanted to do the less modifications possible. -- Colin http://colino.net/323/ - Presenting the Mazda 323 Rouge
/archives/netdev/2004-10/msg00243.html (9,900 bytes)

3. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: mes Morris <jmorris@xxxxxxxxxx>
Date: Wed, 6 Oct 2004 23:49:12 -0700
I think this is very strange that only sungem behaves this way. I don't think netpoll is doing anything different than what would happen, f.e., when bringing an interface up using dhcp. That should c
/archives/netdev/2004-10/msg00245.html (10,554 bytes)

4. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: u <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 10:33:32 +0200
Hi, Thanks for your help. You meant zero here ? (or didn't I understand something) Btw, shouldn't gem_poll() check for gp->hw_running, too? I added a printk at the end of gem_open(), it's 1 even when
/archives/netdev/2004-10/msg00248.html (10,769 bytes)

5. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Thu, 7 Oct 2004 10:45:54 +0200
Hi, My girlfriend told me what was outputted by my infinite loop: netpoll: netif_running 1, netif_carrier_ok 0, netif_queue_stopped 0. Shouldn't sungem stop its queue when there's no carrier ? (I rea
/archives/netdev/2004-10/msg00249.html (10,110 bytes)

6. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: en Smalley <sds@xxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 16:05:32 +0200
Hi again, I looked a bit more at the code and found out a possible problem. However it doesn't fix the hang, so either it's not what I found, or there's something else. First, my newbie question: is
/archives/netdev/2004-10/msg00253.html (12,007 bytes)

7. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: reear <greearb@xxxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 11:28:46 -0700
Oh yes, it appears that netpoll doesn't support NETIF_F_LLTX locking, crap :( When a device has NETIF_F_LLTX set, it means that the driver's the caller one level up. Andi Kleen didn't fix up netpoll
/archives/netdev/2004-10/msg00258.html (14,380 bytes)

8. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: . Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 13:41:41 -0500
Colin, feeling adventurous enough to take a stab at this? It looks pretty straightforward but I'm going to be even more useless than usual for the next two weeks. -- Mathematics is the supreme nostal
/archives/netdev/2004-10/msg00259.html (16,073 bytes)

9. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Thu, 7 Oct 2004 20:43:00 +0200
It takes an own lock, not xmit_lock. It's fine to ignore it completely. In the worst case the poll will not be retried, but netpoll has no way to do that anyways I think. -Andi
/archives/netdev/2004-10/msg00260.html (11,362 bytes)

10. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: K. Johnson" <ckjohnson@xxxxxxx>
Date: Thu, 7 Oct 2004 22:00:55 +0200
Hi, I'll try :) Thanks for all the input ! -- Colin Recursion: see Recursion
/archives/netdev/2004-10/msg00264.html (10,715 bytes)

11. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: son <Robert.Olsson@xxxxxxxxxxx>
Date: Thu, 7 Oct 2004 22:44:22 +0200
Hi again, This patch should do that. It works OK for me, but I'd like it checked before sent upstream... However, it doesn't fix the hang. it looks like this hang is really coming from sungem. -- a/n
/archives/netdev/2004-10/msg00266.html (12,934 bytes)

12. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Thu, 7 Oct 2004 23:45:05 +0200
IMHO it's not needed. Taking xmit_lock is harmless even when the NETIF_F_LLTX flag is set. (or at least it was with my original patchkit. In theory it's possible someone changed their driver to take
/archives/netdev/2004-10/msg00267.html (11,778 bytes)

13. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: reear <greearb@xxxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 16:50:26 -0500
Ok, this part makes sense. But your meaning here is not entirely clear. -- Mathematics is the supreme nostalgia of our time.
/archives/netdev/2004-10/msg00269.html (12,428 bytes)

14. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Thu, 7 Oct 2004 15:07:56 -0700
If another thread on another cpu is in the dev->hard_start_xmit() routine, then it will have it's tx device lock held, and netpoll will simply get an immediate return from ->hard_start_xmit() with er
/archives/netdev/2004-10/msg00270.html (12,379 bytes)

15. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: . Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 15:08:50 -0700
Is it hanging inside of the ->hard_start_xmit() call or somewhere else? Do you have a way to determine this without adding printk()'s and thus causing recursion as you mentioned earlier? :-)
/archives/netdev/2004-10/msg00271.html (10,441 bytes)

16. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: son <Robert.Olsson@xxxxxxxxxxx>
Date: Thu, 7 Oct 2004 18:43:23 -0500
Deadlocks from recursion, presumably? We could probably throw in a max retry count, as ugly as that is.. -- Mathematics is the supreme nostalgia of our time.
/archives/netdev/2004-10/msg00273.html (13,092 bytes)

17. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: tenhek <buytenh@xxxxxxxxxxxxxx>
Date: Fri, 8 Oct 2004 01:50:22 +0200
There should not be any recursion, no. The problem is that the poll is effectively a spinlock. But when another CPU takes an long interrupt while holding the lock it could take quite a long time to
/archives/netdev/2004-10/msg00275.html (11,737 bytes)

18. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author: de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Fri, 8 Oct 2004 08:46:40 +0200
Hi, If printk() is synchronous, there could be, if there's a printk() in the codepath taken by dev->hard_start_xmit()... But I don't if it is... Second newbie question: how are the interrupts disable
/archives/netdev/2004-10/msg00277.html (12,360 bytes)

19. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Fri, 8 Oct 2004 08:54:11 +0200
Hi, I think so, but my way of discovering it may not be very good: I tested by replacing status = np->dev->hard_start_xmit(...); by status = NETDEV_TX_OK, then status = NETDEV_TX_BUSY, then status =
/archives/netdev/2004-10/msg00278.html (10,796 bytes)

20. Re: [PATCH] Prevent netpoll hanging when link is down (score: 1)
Author:
Date: Fri, 8 Oct 2004 09:06:10 +0200
Hi, Should that be completely dropped, or is it still ok ? (I think differenciating action based on hard_start_xmit status, that is, don't goto repeat undefinitely when NETDEV_TX_BUSY, could be a goo
/archives/netdev/2004-10/msg00279.html (11,808 bytes)


This search system is powered by Namazu