Netdev List
 help / color / mirror / Atom feed
* Re: panic with 2.6.37-rc1
       [not found] <AANLkTi=mEzCMCC+K6oLOjW9xfws_+_hHq8DS3hpPB1zY@mail.gmail.com>
@ 2010-11-03 22:11 ` Eric Dumazet
  2010-11-03 22:42   ` Tom Gundersen
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Dumazet @ 2010-11-03 22:11 UTC (permalink / raw)
  To: Tom Gundersen; +Cc: LKML, netdev, David Miller

Le mercredi 03 novembre 2010 à 23:02 +0100, Tom Gundersen a écrit :
> I get panic during boot both with 2.6.37-rc1 and with current head.
> 
> Here is the error message:
> <http://www.lix.polytechnique.fr/~tom/2.6.37-rc1-panic.jpg>. My
> .config is below.
> 
> Let me know if you want more info. If you want I can test patches or
> bisect (if no one has any better suggestions).
> 

Please test following patch, thanks

[PATCH] atl1 : fix panic on load

Its now illegal to call netif_stop_queue() before register_netdev()

Reported-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
 drivers/net/atlx/atl1.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index 43579b3..5336310 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -3043,7 +3043,6 @@ static int __devinit atl1_probe(struct pci_dev *pdev,
 	atl1_pcie_patch(adapter);
 	/* assume we have no link for now */
 	netif_carrier_off(netdev);
-	netif_stop_queue(netdev);
 
 	setup_timer(&adapter->phy_config_timer, atl1_phy_config,
 		    (unsigned long)adapter);

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: panic with 2.6.37-rc1
  2010-11-03 22:11 ` panic with 2.6.37-rc1 Eric Dumazet
@ 2010-11-03 22:42   ` Tom Gundersen
  2010-11-04  1:54     ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Gundersen @ 2010-11-03 22:42 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: LKML, netdev, David Miller

On Wed, Nov 3, 2010 at 11:11 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> Le mercredi 03 novembre 2010 à 23:02 +0100, Tom Gundersen a écrit :
>> I get panic during boot both with 2.6.37-rc1 and with current head.
>>
>> Here is the error message:
>> <http://www.lix.polytechnique.fr/~tom/2.6.37-rc1-panic.jpg>. My
>> .config is below.
>>
>> Let me know if you want more info. If you want I can test patches or
>> bisect (if no one has any better suggestions).
>>
>
> Please test following patch, thanks
>
> [PATCH] atl1 : fix panic on load
>
> Its now illegal to call netif_stop_queue() before register_netdev()
>
> Reported-by: Tom Gundersen <teg@jklm.no>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> ---
>  drivers/net/atlx/atl1.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
> index 43579b3..5336310 100644
> --- a/drivers/net/atlx/atl1.c
> +++ b/drivers/net/atlx/atl1.c
> @@ -3043,7 +3043,6 @@ static int __devinit atl1_probe(struct pci_dev *pdev,
>        atl1_pcie_patch(adapter);
>        /* assume we have no link for now */
>        netif_carrier_off(netdev);
> -       netif_stop_queue(netdev);
>
>        setup_timer(&adapter->phy_config_timer, atl1_phy_config,
>                    (unsigned long)adapter);
>
>

The patch solves the problem. Thanks!

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: panic with 2.6.37-rc1
  2010-11-03 22:42   ` Tom Gundersen
@ 2010-11-04  1:54     ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2010-11-04  1:54 UTC (permalink / raw)
  To: teg; +Cc: eric.dumazet, linux-kernel, netdev

From: Tom Gundersen <teg@jklm.no>
Date: Wed, 3 Nov 2010 23:42:02 +0100

> On Wed, Nov 3, 2010 at 11:11 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
>> Le mercredi 03 novembre 2010 à 23:02 +0100, Tom Gundersen a écrit :
>>> I get panic during boot both with 2.6.37-rc1 and with current head.
>>>
>>> Here is the error message:
>>> <http://www.lix.polytechnique.fr/~tom/2.6.37-rc1-panic.jpg>. My
>>> .config is below.
>>>
>>> Let me know if you want more info. If you want I can test patches or
>>> bisect (if no one has any better suggestions).
>>>
>>
>> Please test following patch, thanks
>>
>> [PATCH] atl1 : fix panic on load
>>
>> Its now illegal to call netif_stop_queue() before register_netdev()
>>
>> Reported-by: Tom Gundersen <teg@jklm.no>
>> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
 ...
> The patch solves the problem. Thanks!

Applied, thanks everyone.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-04  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTi=mEzCMCC+K6oLOjW9xfws_+_hHq8DS3hpPB1zY@mail.gmail.com>
2010-11-03 22:11 ` panic with 2.6.37-rc1 Eric Dumazet
2010-11-03 22:42   ` Tom Gundersen
2010-11-04  1:54     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox