public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Hugo Mildenberger <Hugo.Mildenberger@namir.de>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: BT git version triggers BUG: scheduling while atomic: swapper/0/0x10000100
Date: Tue, 5 May 2009 08:29:25 +0200	[thread overview]
Message-ID: <200905050829.26036.Hugo.Mildenberger@namir.de> (raw)
In-Reply-To: <1241488613.3319.3.camel@localhost.localdomain>

Hello Marcel,

> > > > When I tried to get a mobile phone connected to asterisk via
> > > > bluetooth, the current git version of the linux bluetooth stack
> > > > triggers a kernel bug:
> > > >
> > > > 	BUG: scheduling while atomic: swapper/0/0x10000100
> > > >
> > > > This is triggered the moment when asterisk tries to pair the phone
> > > > and leaves at least the BT subsystem in an unusable state.
> > >
> > > are you running Linus' tree or bluetooth-testing.git? If your are not
> > > running bluetooth-testing.git, then please try that one since it
> > > includes a fix for it.
> >
> > I'm running bluetooth-testing.git and pulled that tree just an hour ago.
>
> does the attached patch fixes your issue?
>
> Regards
>
> Marcel

you are really fast ... and your patch actually fixed the problem. Thank you 
very much!

Rests to mention a problem which could again be linked to the bluetooth stack, 
but also to the CSR dongle (which is blacklisted in btusb.c: 0x0a12:0001), to 
Asterisk's "chan_mobile" module or even to the Nokia 6280 V6.43 firmware. 
Should I better start another thread here?


[Outbound GSM call via Asterisk and BT-adapter, wait until the other side 
hangs up]

hci_scodata_packet: hci0 SCO packet for unknown connection handle 46
hci_scodata_packet: hci0 SCO packet for unknown connection handle 46
hci_scodata_packet: hci0 SCO packet for unknown connection handle 46
hci_scodata_packet: hci0 SCO packet for unknown connection handle 46
hci_scodata_packet: hci0 SCO packet for unknown connection handle 47
hci_scodata_packet: hci0 SCO packet for unknown connection handle 47
hci_scodata_packet: hci0 SCO packet for unknown connection handle 47

[Outbound GSM call via Asterisk and BT-adapter, hang up the IP phone up before 
the other side does so]

btusb_isoc_complete: hci0 corrupted SCO packet
hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
hci_scodata_packet: hci0 SCO packet for unknown connection handle 0

[And Asterisk says: - Bluetooth Device Nokia has disconnected, reason (104)]


Best Regards

Hugo

      reply	other threads:[~2009-05-05  6:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05  1:01 BT git version triggers BUG: scheduling while atomic: swapper/0/0x10000100 Hugo Mildenberger
2009-05-05  1:12 ` Marcel Holtmann
2009-05-05  1:23   ` Hugo Mildenberger
2009-05-05  1:56     ` Marcel Holtmann
2009-05-05  6:29       ` Hugo Mildenberger [this message]

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=200905050829.26036.Hugo.Mildenberger@namir.de \
    --to=hugo.mildenberger@namir.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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