[lkml]   [2004]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.8-rc4-bk1 problem: unregister_netdevice: waiting for ppp0 to become free. Usage count = 1
    Hash: SHA1

    David S. Miller wrote:
    | On Sun, 22 Aug 2004 03:13:55 +0100
    | Nuno Silva <> wrote:
    |>This problem was introduced between 2.6.8-rc2-bk11 and 2.6.8-rc4-bk1 and
    |>always happens. Right now I'm testing with with a patch from Mr.
    |>Miller -- "cacheline-align qdisc data in qdisc_create()" (attached).
    | Does that patch fix the problem?


    No, but that patch is necessary for me to use QoS at all, or the kernel

    I was refering to that patch for you to know that's not the same
    problem. Sorry for not being 100% clear.

    If you want to freeze your networking :-) you can do this:

    remove pppd (or adjust the ppp0 interface name later)
    # killall pppd

    # sleep 10

    make a fony connection to using /dev/null
    #pppd /dev/null connect /bin/true persist demand

    # sleep 1

    add a CBQ root to ppp0 (or ppp1, if you didn't killall and have another
    # tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

    ping the fony remote:
    # ping

    kill pppd
    #killall pppd

    Now check dmesg, you should get "unregister_netdevice: waiting for ppp0
    to become free. Usage count = 1"

    Another remark: In single user mode pppd died and system load is 0. In
    initlevel 3, pppd eats all my CPU... Don't know why.

    Right now I'm testing (because of that can't-burn-cdrom
    thing and other stuff) so the attached /proc/config.gz is somewhat
    non-vanilla, but this happens with 2.6.8-rc4-bk1[*] and above.

    [*] this version is "bad" and 2.6.8-rc2-bk11 is "good". Didn't test with

    As you can see in the .config I'm using the OLD POLICER.

    As always, please request more info if you need it! :-)

    Nuno Silva
    Version: GnuPG v1.2.5 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird -

    -----END PGP SIGNATURE-----
    [unhandled content-type:application/x-gzip]
     \ /
      Last update: 2005-03-22 14:05    [W:0.021 / U:36.728 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site