Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#276476: pppd left in D state whit QOS enabled

38 views
Skip to first unread message

Ghozlane Toumi

unread,
Oct 14, 2004, 9:50:18 AM10/14/04
to
Package: kernel-image-2.6.8-1-386
Version: 2.6.8-3

Hi .

"unregister_netdevice: waiting for ppp0 to become free. Usage count = 1"

I'm having a truckload of these messages when my ppp connection dies and
I try to relaunch it.
ifconfig ppp0 hangs in D state, pppd too.

I'm using QOS (wondershaper) with cqb qdisc, and apparently, this is
the culprit.
after a quick search, it seems cqb doesn't update refcount on unload.
There is a patch that seems to solve the problem :

http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2

Thanks .

Ghozlane Toumi


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Horms

unread,
Oct 21, 2004, 4:30:21 AM10/21/04
to
reassign 276476 kernel-source-2.6.8
severity 276476 important
reassign 275059 kernel-source-2.6.8
merge 276476 275059
quit

Thanks,

This appears to be a duplicte of 275059 so I am merging it with that
bug.

On Thu, Oct 14, 2004 at 03:16:46PM +0200, Ghozlane Toumi wrote:
> Package: kernel-image-2.6.8-1-386
> Version: 2.6.8-3
>
> Hi .
>
> "unregister_netdevice: waiting for ppp0 to become free. Usage count = 1"
>
> I'm having a truckload of these messages when my ppp connection dies and
> I try to relaunch it.
> ifconfig ppp0 hangs in D state, pppd too.
>
> I'm using QOS (wondershaper) with cqb qdisc, and apparently, this is
> the culprit.
> after a quick search, it seems cqb doesn't update refcount on unload.
> There is a patch that seems to solve the problem :
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2

This patch seems to have been merged upstream.
I have attached what is upstream as cbq_memleak.patch,
can you please verify that it resolves your problem?

I also notice a few other seemingly important changes to this code have
been made recently:

http://linux.bkbits.net:8080/linux-2.4/related/net/sched/sch_cbq.c

In particular a fix for slab corruption which I have attached as
slab_corruption.patch. If you could put that into a build and test
it at the same time I would be most grateful.

Thanks

--
Horms

cbq_memleak.patch
slab_corruption.patch

Horms

unread,
Oct 21, 2004, 4:30:17 AM10/21/04
to
On Thu, Oct 21, 2004 at 05:02:10PM +0900, Horms wrote:

[snip]

> > http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2
>
> This patch seems to have been merged upstream.
> I have attached what is upstream as cbq_memleak.patch,
> can you please verify that it resolves your problem?
>
> I also notice a few other seemingly important changes to this code have
> been made recently:
>
> http://linux.bkbits.net:8080/linux-2.4/related/net/sched/sch_cbq.c
>
> In particular a fix for slab corruption which I have attached as
> slab_corruption.patch. If you could put that into a build and test
> it at the same time I would be most grateful.

Sorry, I mean
http://linux.bkbits.net:8080/linux-2.5/related/net/sched/sch_cbq.c
But the patches previously attached should be the right ones.


--
Horms

gto...@gmail.com

unread,
Nov 3, 2004, 3:10:12 PM11/3/04
to
Hi
Sorry for the delay.

On Thu, 21 Oct 2004 17:07:21 +0900, Horms <ho...@debian.org> wrote:
> > > http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2
> >
> > This patch seems to have been merged upstream.
> > I have attached what is upstream as cbq_memleak.patch,
> > can you please verify that it resolves your problem?
> >

Yes the first patch resolves the problem.
As of the second patch, I can't really say that it works, but at least
it doesn't crash my build.

Ghozlane Toumi

Horms

unread,
Nov 3, 2004, 11:10:06 PM11/3/04
to
On Wed, Nov 03, 2004 at 08:51:19PM +0100, gto...@gmail.com wrote:
> Hi
> Sorry for the delay.
>
> On Thu, 21 Oct 2004 17:07:21 +0900, Horms <ho...@debian.org> wrote:
> > > > http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2
> > >
> > > This patch seems to have been merged upstream.
> > > I have attached what is upstream as cbq_memleak.patch,
> > > can you please verify that it resolves your problem?
> > >
>
> Yes the first patch resolves the problem.
> As of the second patch, I can't really say that it works, but at least
> it doesn't crash my build.

Thanks

--
Horms

Debian Bug Tracking System

unread,
Nov 9, 2004, 3:30:06 AM11/9/04
to
Your message dated Tue, 09 Nov 2004 02:47:37 -0500
with message-id <E1CRQj3-...@newraff.debian.org>
and subject line Bug#275059: fixed in kernel-source-2.6.8 2.6.8-8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Oct 2004 13:16:47 +0000
>From gto...@gmail.com Thu Oct 14 06:16:47 2004
Return-path: <gto...@gmail.com>
Received: from rproxy.gmail.com (mproxy.gmail.com) [64.233.170.195]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CI5TL-0006QH-00; Thu, 14 Oct 2004 06:16:47 -0700
Received: by mproxy.gmail.com with SMTP id 79so148191rnk
for <sub...@bugs.debian.org>; Thu, 14 Oct 2004 06:16:47 -0700 (PDT)
Received: by 10.38.74.32 with SMTP id w32mr3439501rna;
Thu, 14 Oct 2004 06:16:46 -0700 (PDT)
Received: by 10.38.83.72 with HTTP; Thu, 14 Oct 2004 06:16:46 -0700 (PDT)
Message-ID: <7bd037a004101...@mail.gmail.com>
Date: Thu, 14 Oct 2004 15:16:46 +0200
From: Ghozlane Toumi <gto...@gmail.com>
Reply-To: gtoum...@gmail.com
To: sub...@bugs.debian.org
Subject: pppd left in D state whit QOS enabled
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Delivered-To: sub...@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_01,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:

Package: kernel-image-2.6.8-1-386
Version: 2.6.8-3

Hi .

"unregister_netdevice: waiting for ppp0 to become free. Usage count = 1"

I'm having a truckload of these messages when my ppp connection dies and
I try to relaunch it.
ifconfig ppp0 hangs in D state, pppd too.

I'm using QOS (wondershaper) with cqb qdisc, and apparently, this is
the culprit.
after a quick search, it seems cqb doesn't update refcount on unload.
There is a patch that seems to solve the problem :

http://marc.theaimsgroup.com/?l=linux-kernel&m=109317866203856&w=2

Thanks .

Ghozlane Toumi

---------------------------------------
Received: (at 275059-close) by bugs.debian.org; 9 Nov 2004 07:54:24 +0000
>From ka...@ftp-master.debian.org Mon Nov 08 23:54:24 2004
Return-path: <ka...@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CRQpc-0000nP-00; Mon, 08 Nov 2004 23:54:24 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CRQj3-00058b-00; Tue, 09 Nov 2004 02:47:37 -0500
From: Andres Salomon <dili...@voxel.net>
To: 275059...@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#275059: fixed in kernel-source-2.6.8 2.6.8-8
Message-Id: <E1CRQj3-...@newraff.debian.org>
Sender: Archive Administrator <ka...@ftp-master.debian.org>
Date: Tue, 09 Nov 2004 02:47:37 -0500
Delivered-To: 275059...@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 2

Source: kernel-source-2.6.8
Source-Version: 2.6.8-8

We believe that the bug you reported is fixed in the latest version of
kernel-source-2.6.8, which is due to be installed in the Debian FTP archive:

kernel-doc-2.6.8_2.6.8-8_all.deb
to pool/main/k/kernel-source-2.6.8/kernel-doc-2.6.8_2.6.8-8_all.deb
kernel-patch-debian-2.6.8_2.6.8-8_all.deb
to pool/main/k/kernel-source-2.6.8/kernel-patch-debian-2.6.8_2.6.8-8_all.deb
kernel-source-2.6.8_2.6.8-8.diff.gz
to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-8.diff.gz
kernel-source-2.6.8_2.6.8-8.dsc
to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-8.dsc
kernel-source-2.6.8_2.6.8-8_all.deb
to pool/main/k/kernel-source-2.6.8/kernel-source-2.6.8_2.6.8-8_all.deb
kernel-tree-2.6.8_2.6.8-8_all.deb
to pool/main/k/kernel-source-2.6.8/kernel-tree-2.6.8_2.6.8-8_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 275...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andres Salomon <dili...@voxel.net> (supplier of updated kernel-source-2.6.8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpm...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 09 Nov 2004 01:28:16 -0500
Source: kernel-source-2.6.8
Binary: kernel-source-2.6.8 kernel-doc-2.6.8 kernel-tree-2.6.8 kernel-patch-debian-2.6.8
Architecture: source all
Version: 2.6.8-8
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian...@lists.debian.org>
Changed-By: Andres Salomon <dili...@voxel.net>
Description:
kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
kernel-tree-2.6.8 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 254645 254645 275059 275302 275485 276134 276359 276476 278508 279174 279605
Changes:
kernel-source-2.6.8 (2.6.8-8) unstable; urgency=medium
.
* Add workaround for broken Happy Meal ethernet controllers.
(closes: #275485) (Joshua Kwan)
.
* Fix goof in dm-io.c that led to uncaught errors on ENOMEM (Joshua Kwan)
using Nigel Cunningham's patch on LKML.
.
* Include a couple fixes for the mem= & max_addr= boot params on ia64.
(dann frazier)
.
* Resolved grammatical error in README.Debian
(closes: Bug#276359) (Simon Horman)
.
* Security: fix race conditions in linux terminal subsystem (CAN-2004-0814)
(dann frazier)
.
* Fix a couple ia64 argument order problems discovered by David Mosberger's
sparse runs (dann frazier)
.
* Ext3 direct io assert fix, update stale journal (Andres Salomon).
.
* Revert aic7xxx-pcitable patch (closes: #275302) (Andres Salomon).
.
* Another reiserfs xattr fix; this one keeps inodes from being marked
dirty if it hasn't been hashed (Andres Salomon).
.
* Reiserfs's write() return values should be signed, not unsigned
(Andres Salomon).
.
* Added work-around to allow usb storage device to access
a Konica-Minolta DiMAGE A2 camera. (closes: Bug#276134) (Simon Horman)
.
* Fix memory leak in packet scheduler.
(closes: Bug#276476) (closes: Bug#275059) (Simon Horman)
.
* Fix slab corruption on packet scheduler. (Simon Horman)
.
* NFS localhost mount netfilter fix (closes: #254645) (Andres Salomon).
.
* Correctly detect VIA 8233A sound card (closes: #254645) (Simon Horman)
.
* Update aic7xxx/aic79xx to current mainline versions (Christoph Hellwig).
.
* Drop aic79xx-nohw; superceded by aic7xxx-update (Andres Salomon).
.
* Fix smbfs overrun/leak (Andres Salomon).
.
* VIA8231 support for parallel port driver (closes: #279174) (Simon Horman)
.
* [ACPI] reserve EBDA for Dell BIOS that neglects to.
(Possible fix for: Bug#277298) (Simon Horman)
.
* Changed recomends libqt3-dev to libqt3-mt-dev as the former is debricated.
(closes: #279605) (Simon Horman)
.
* Via Velocity Driver update from 2.6.9
(closes: Bug#278508) (Simon Horman)
.
* Allow more SCSI ioctls.
(Possible fix for: Bug#277083) (Simon Horman)
.
* [ia64] fix a bug that causes HP systems to run out of DMA mapping resources
under heavy load (dann frazier)
.
* Backport of vmscan fixes from upstream. (Simon Horman)
.
* Fixes to cope with hardware with broken GetMaxLUN responses (Simon Horman).
(Possible fix for: Bug#279889)
Files:
1de5a1cfb20517b7e694dac2a42d3334 1645 devel optional kernel-source-2.6.8_2.6.8-8.dsc
3990a1c068b0e4277abf856cace6a980 700850 devel optional kernel-source-2.6.8_2.6.8-8.diff.gz
160e6121b1818d60664523a79f88666e 647268 devel optional kernel-patch-debian-2.6.8_2.6.8-8_all.deb
eb805798bcbbad481d86a2cef6c4283c 34883090 devel optional kernel-source-2.6.8_2.6.8-8_all.deb
f77cdb7f504e239e30cd3722e55249f7 22226 devel optional kernel-tree-2.6.8_2.6.8-8_all.deb
8f7294dc08bb3c7ce694e93fa11b70a9 6182182 doc optional kernel-doc-2.6.8_2.6.8-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQZByDqOILr94RG8mAQLBUQ/+O41wnTSfgbDRshFXMjijCEcQJ/4Y5fmH
2s2OacmFk3LuE2u85+zc7jAm8Zbu/icVIk9UhWWE0m6hY1eUhCXO+ZyJpCcsDqiC
DGkebXIoQbPb7JSlEiynvmKAvh174cHYHPe8Hud3T57Bd0oKRPTzsR5ztdUemxXI
/4YJ0FWfUPZxVTzTFE6d885CEEY0cdD33ISivubViETphk084OBgnTLJhO0PAnjC
6oZ8SPJ0O7u1CP9+lbCgF8PhyFOW8xXcSVq8g/ju7oQJxmtuu7h34wmpEdGIHtBI
R4aw4BnE35TkkzkyUdQfrZLFTcETVAj6Atbl+XESdHnqeALP19Ih2BukL9CjDFY0
rN+AH3w3PRyvI5xa/PyMAJto3hAIwaNRMxvzmGGFWVXP0xDq9Vam5t6Ia/vbqVfj
47+xPKctZM3TsIPNf6WafOW5FLq7PnXxtRKTjgaJWngp9kDnhXVQbfNBIf5DRKJd
m/0fHl2TtvNW+ccfFJXv2ilPKrKc2vIcPZR3J5ln8QMaNf9pDboNiLSbyIxC7339
cN9Ixy2qgbBk3ZYn5mHQbwTFfKfguYLfLbQBFP1+EIyr4T/PGMN2BygyhRUa4F0Y
949/o7/5e+MQqbSQehvO5J2y8kx+UWaRbWT6QR9G5yMWhHVmb8ZCB6z+Gbsd4P77
JtTYgQ/PM4A=
=j4rZ
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org

0 new messages