netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.24 regression: reference count leak in PPPoE
@ 2008-01-20 19:53 Andi Kleen
  2008-01-20 20:01 ` Ingo Molnar
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Andi Kleen @ 2008-01-20 19:53 UTC (permalink / raw)
  To: netdev, linux-kernel


My workstation running 2.6.24-rc8 just hung during shutdown with an endless 
(or rather I didn't wait more than a few minutes) loop of 

unregister_netdev: waiting for ppp-device to become free. Usage count = 1

ppp-device was an active PPPoE device.

No more information currently.

-Andi

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
@ 2008-01-20 20:01 ` Ingo Molnar
  2008-01-20 20:58   ` Andi Kleen
                     ` (2 more replies)
  2008-01-20 20:09 ` Daniel Lezcano
                   ` (4 subsequent siblings)
  5 siblings, 3 replies; 10+ messages in thread
From: Ingo Molnar @ 2008-01-20 20:01 UTC (permalink / raw)
  To: Andi Kleen; +Cc: netdev, linux-kernel, Linus Torvalds


* Andi Kleen <ak@suse.de> wrote:

> My workstation running 2.6.24-rc8 just hung during shutdown with an 
> endless (or rather I didn't wait more than a few minutes) loop of
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count 
> = 1
> 
> ppp-device was an active PPPoE device.
> 
> No more information currently.

i've seen such problems (locked up box with endless loop of usage count 
== 1) with pppoe in the past, and it seemed to be related to dynamic 
IPs. (i saw that well before 2.6.24 - reported it once to davem)

It seems to have stopped when i stopped using ipsec and started using 
vpnc. (but no firm info - this was sporadic - happened every few months 
or so) Are you using ipsec and dynamic IPs by any chance?

	Ingo

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
  2008-01-20 20:01 ` Ingo Molnar
@ 2008-01-20 20:09 ` Daniel Lezcano
  2008-01-20 20:14 ` Frans Pop
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Daniel Lezcano @ 2008-01-20 20:09 UTC (permalink / raw)
  To: Andi Kleen; +Cc: netdev, linux-kernel

Andi Kleen wrote:
> My workstation running 2.6.24-rc8 just hung during shutdown with an endless 
> (or rather I didn't wait more than a few minutes) loop of 
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count = 1
> 
> ppp-device was an active PPPoE device.
> 
> No more information currently.
> 
> -Andi
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

I think this bug has been identified.

[Bug 9778] New: unregister_netdevice: waiting for [device] to become free

Thanks.
   -- Daniel

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
  2008-01-20 20:01 ` Ingo Molnar
  2008-01-20 20:09 ` Daniel Lezcano
@ 2008-01-20 20:14 ` Frans Pop
  2008-01-20 20:16 ` Malte Schröder
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Frans Pop @ 2008-01-20 20:14 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel, netdev

Andi Kleen wrote:
> My workstation running 2.6.24-rc8 just hung during shutdown with an
> endless (or rather I didn't wait more than a few minutes) loop of
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count = 1

Same as http://lkml.org/lkml/2008/1/20/27? See also follow-up to that.

Cheers,
FJP

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
                   ` (2 preceding siblings ...)
  2008-01-20 20:14 ` Frans Pop
@ 2008-01-20 20:16 ` Malte Schröder
  2008-01-20 22:59 ` Pavel Machek
  2008-01-21  0:07 ` David Miller
  5 siblings, 0 replies; 10+ messages in thread
From: Malte Schröder @ 2008-01-20 20:16 UTC (permalink / raw)
  To: Andi Kleen; +Cc: netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

On Sun, 20 Jan 2008 20:53:30 +0100
Andi Kleen <ak@suse.de> wrote:

> 
> My workstation running 2.6.24-rc8 just hung during shutdown with an endless 
> (or rather I didn't wait more than a few minutes) loop of 
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count = 1
> 
> ppp-device was an active PPPoE device.
> 
> No more information currently.

Now that you mention it, this happened to me too this morning. My
system stops the ppp interface (pppoe) and starts it again (my provider
shuts down the link every 24 hours, I want that to happen during the
night, so I do a ifdown ppp0).




-- 
---------------------------------------
Malte Schröder
MalteSch@gmx.de
ICQ# 68121508
---------------------------------------


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 20:01 ` Ingo Molnar
@ 2008-01-20 20:58   ` Andi Kleen
  2008-01-21  0:08   ` David Miller
  2008-01-21  0:33   ` nigel
  2 siblings, 0 replies; 10+ messages in thread
From: Andi Kleen @ 2008-01-20 20:58 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: netdev, linux-kernel, Linus Torvalds


> It seems to have stopped when i stopped using ipsec and started using
> vpnc.

Kernel ipsec was active yes. However I normally don't see it although
it is often active, that was the first time I think

(except long ago) 

> (but no firm info - this was sporadic - happened every few months 
> or so) Are you using ipsec and dynamic IPs by any chance?

and the ISP uses dynamic IPs.

-Andi

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
                   ` (3 preceding siblings ...)
  2008-01-20 20:16 ` Malte Schröder
@ 2008-01-20 22:59 ` Pavel Machek
  2008-01-21  0:07 ` David Miller
  5 siblings, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2008-01-20 22:59 UTC (permalink / raw)
  To: Andi Kleen; +Cc: netdev, linux-kernel

Hi!

> My workstation running 2.6.24-rc8 just hung during shutdown with an endless 
> (or rather I didn't wait more than a few minutes) loop of 
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count = 1
> 
> ppp-device was an active PPPoE device.
> 
> No more information currently.

Actually, I'm getting something similar:

usb 2-2: USB disconnect, address 23
PM: Removing info for No Bus:usbdev2.23_ep83
usb0: unregister 'cdc_ether' usb-0000:00:1d.0-2, CDC Ethernet Device
PM: Removing info for No Bus:usb0
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
unregister_netdevice: waiting for usb0 to become free. Usage count = 1
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.23_ep81
PM: Removing info for No Bus:usbdev2.23_ep02

The unregister_netdevice made it onto console, that means pretty
severe log level. Happened while playing with openmoko connected with
USB cable.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
                   ` (4 preceding siblings ...)
  2008-01-20 22:59 ` Pavel Machek
@ 2008-01-21  0:07 ` David Miller
  5 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2008-01-21  0:07 UTC (permalink / raw)
  To: ak; +Cc: netdev, linux-kernel

From: Andi Kleen <ak@suse.de>
Date: Sun, 20 Jan 2008 20:53:30 +0100

> 
> My workstation running 2.6.24-rc8 just hung during shutdown with an endless 
> (or rather I didn't wait more than a few minutes) loop of 
> 
> unregister_netdev: waiting for ppp-device to become free. Usage count = 1
> 
> ppp-device was an active PPPoE device.
> 
> No more information currently.

http://bugzilla.kernel.org/show_bug.cgi?id=9778

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 20:01 ` Ingo Molnar
  2008-01-20 20:58   ` Andi Kleen
@ 2008-01-21  0:08   ` David Miller
  2008-01-21  0:33   ` nigel
  2 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2008-01-21  0:08 UTC (permalink / raw)
  To: mingo; +Cc: ak, netdev, linux-kernel, torvalds

From: Ingo Molnar <mingo@elte.hu>
Date: Sun, 20 Jan 2008 21:01:09 +0100

> 
> * Andi Kleen <ak@suse.de> wrote:
> 
> > My workstation running 2.6.24-rc8 just hung during shutdown with an 
> > endless (or rather I didn't wait more than a few minutes) loop of
> > 
> > unregister_netdev: waiting for ppp-device to become free. Usage count 
> > = 1
> > 
> > ppp-device was an active PPPoE device.
> > 
> > No more information currently.
> 
> i've seen such problems (locked up box with endless loop of usage count 
> == 1) with pppoe in the past, and it seemed to be related to dynamic 
> IPs. (i saw that well before 2.6.24 - reported it once to davem)

No, this is a different bug Andi is seeing and it was
recently introduced:

	http://bugzilla.kernel.org/show_bug.cgi?id=9778

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

* Re: 2.6.24 regression: reference count leak in PPPoE
  2008-01-20 20:01 ` Ingo Molnar
  2008-01-20 20:58   ` Andi Kleen
  2008-01-21  0:08   ` David Miller
@ 2008-01-21  0:33   ` nigel
  2 siblings, 0 replies; 10+ messages in thread
From: nigel @ 2008-01-21  0:33 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Andi Kleen, netdev, linux-kernel, Linus Torvalds

Hi.

Quoting Ingo Molnar <mingo@elte.hu>:

>
> * Andi Kleen <ak@suse.de> wrote:
>
>> My workstation running 2.6.24-rc8 just hung during shutdown with an
>> endless (or rather I didn't wait more than a few minutes) loop of
>>
>> unregister_netdev: waiting for ppp-device to become free. Usage count
>> = 1
>>
>> ppp-device was an active PPPoE device.
>>
>> No more information currently.
>
> i've seen such problems (locked up box with endless loop of usage count
> == 1) with pppoe in the past, and it seemed to be related to dynamic
> IPs. (i saw that well before 2.6.24 - reported it once to davem)
>
> It seems to have stopped when i stopped using ipsec and started using
> vpnc. (but no firm info - this was sporadic - happened every few months
> or so) Are you using ipsec and dynamic IPs by any chance?

This isn't PPPoE specific. It has also been seen with e1000, madwifi  
and an intel based card. It was introduced by a Jan 10 commit post rc7  
(sorry, don't have the details right now - my laptop died yesterday).  
A bugzilla has already been opened.

Nigel

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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

end of thread, other threads:[~2008-01-21  0:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-20 19:53 2.6.24 regression: reference count leak in PPPoE Andi Kleen
2008-01-20 20:01 ` Ingo Molnar
2008-01-20 20:58   ` Andi Kleen
2008-01-21  0:08   ` David Miller
2008-01-21  0:33   ` nigel
2008-01-20 20:09 ` Daniel Lezcano
2008-01-20 20:14 ` Frans Pop
2008-01-20 20:16 ` Malte Schröder
2008-01-20 22:59 ` Pavel Machek
2008-01-21  0:07 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).