Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: gl@dsa-ac.de
Cc: bluez-users@lists.sourceforge.net,
	Maksim Krasnyanskiy <maxk@qualcomm.com>
Subject: [Bluez-users] Re: [2.4.30] RFCOMM race
Date: Thu, 29 Sep 2005 18:38:54 +0200	[thread overview]
Message-ID: <1128011935.30743.17.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.63.0509291329280.11341@pcgl.dsa-ac.de>

Hi Guennadi,

> I have a "buggy" user-space program (attached, careful - it IS buggy:-)), 
> communicating over rfcomm, that quite often hangs itself in the 
> uninterruptible (D) state.
> 
> Ok, the program IS buggy, but, I think, it shouldn't hang in "D" and 
> render the entire Bluetooth subsystem unusable?
> 
> How: it forks, the child tries to connect to a non-existing peer, at this 
> time the parent issues ioctl(HCIDEVDOWN); ioctl(HCIDEVUP); the DOWN wakes 
> the child up and it dows ioctl(HCIDEVDOWN) too. That's it. On the 
> USB-analyser I see an incomplete HCI Reset, interrupted by the "Read local 
> supported features" - from the UP. (screenshot attached)
> 
> The question is, of course, where (apart from the program) is the bug? I 
> have to say, that the bluletooth module is connected to an "unsupported" 
> USB controller, the driver for which I am debugging. I thought, naturally, 
> that the bug is there. But now I am not sure. Is this really the case? If 
> yes, what might it be doing wrong? Or is it rfcomm?

is it reproducible with the latest 2.6.14-rc2 kernel running on a i386
or x86_64 system?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-09-29 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 12:25 [2.4.30] RFCOMM race gl
2005-09-29 16:38 ` Marcel Holtmann [this message]
2005-09-30 12:18   ` gl

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=1128011935.30743.17.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=gl@dsa-ac.de \
    --cc=maxk@qualcomm.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