From: Marcel Holtmann <marcel@holtmann.org>
To: wim delvaux <wim.delvaux@adaptiveplanet.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Re: bnep module use count ...
Date: Sun, 07 Mar 2004 03:40:14 +0100 [thread overview]
Message-ID: <1078627214.2807.31.camel@pegasus> (raw)
In-Reply-To: <200403070334.32315.wim.delvaux@adaptiveplanet.com>
Hi Wim,
> I have a theory about this module use count.
>
> What is my setup.
>
> When I insert the usb dongle, hci/sdp and pand --listen is started wating for
> a connection.
>
> Then I activate the connection on my Ipaq and notice in syslog that the
> connection is request.
>
> Pand will then create a bnep module in the kernel. This will trigger a
> hotplug event causing ifup to be executed on bnep0.
>
> So far so good.
>
> Now I disconnect my Ipaq. (either by pand -k and kill or whatever).
> This event does not get detected by anybody.
>
> The Ipaq when it comes back will request a new session and a new handle to
> bnep0 is created in the kernel (causing refcount to increase beyond the real
> use count).
>
> Once this occurs the module is no longer unloadable and actually causes the
> system to hang when the usb dongle is removed !!!! A reboot is then
> needed ;-((((((
>
> WHat you think of this scenario ?
this can be possible, but I can't tell you anything without more
information. Last time I check the reference counting it was working
perfect for all upper L2CAP modules. Maybe there is a problem in the
BNEP module or in the network layer.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-03-07 2:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-07 2:34 bnep module use count wim delvaux
2004-03-07 2:40 ` Marcel Holtmann [this message]
2004-03-07 3:00 ` wim delvaux
2004-03-07 3:03 ` [Bluez-users] " Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1078627214.2807.31.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=wim.delvaux@adaptiveplanet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox