linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hci_scodata_packet: hci1 SCO packet for unknown connection handle 42
@ 2010-06-18 12:29 Andrei Moraru
  2010-06-18 18:49 ` Gustavo F. Padovan
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Moraru @ 2010-06-18 12:29 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

the machine is running CentOS and Asterisk 1.4.32

there are installed bluez-4.66 and asterisk module chan_mobile

The Asterisk crashes sometimes when is using FXO over the bluetooth
connection via chan_mobile

uname -a:
2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux

[root@voip ~]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)
Bus 004 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth
Dongle (HCI mode)

the /var/log/messages
Jun 18 15:14:45 voip kernel: hci_scodata_packet: hci1 SCO packet for unknown
connection handle 42
Jun 18 15:14:45 voip kernel: hci_scodata_packet: hci1 SCO packet for unknown
connection handle 42
Jun 18 15:21:05 voip kernel: hci_scodata_packet: hci0 SCO packet for unknown
connection handle 42
Jun 18 15:21:05 voip last message repeated 2 times
Jun 18 15:21:21 voip kernel: hci_scodata_packet: hci0 SCO packet for unknown
connection handle 43
Jun 18 15:21:21 voip kernel: hci_scodata_packet: hci0 SCO packet for unknown
connection handle 43
Jun 18 15:22:02 voip kernel: hci_scodata_packet: hci0 SCO packet for unknown
connection handle 42
Jun 18 15:25:16 voip last message repeated 3 times


Please suggest your opinion.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hci_scodata_packet: hci1 SCO packet for unknown connection handle 42
  2010-06-18 12:29 hci_scodata_packet: hci1 SCO packet for unknown connection handle 42 Andrei Moraru
@ 2010-06-18 18:49 ` Gustavo F. Padovan
  2010-06-22 10:24   ` Andrei Moraru
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo F. Padovan @ 2010-06-18 18:49 UTC (permalink / raw)
  To: Andrei Moraru; +Cc: linux-bluetooth

Hi Andrei,

* Andrei Moraru <andrei.moraru.n@gmail.com> [2010-06-18 15:29:41 +0300]:

> Hello,
> 
> the machine is running CentOS and Asterisk 1.4.32
> 
> there are installed bluez-4.66 and asterisk module chan_mobile
> 
> The Asterisk crashes sometimes when is using FXO over the bluetooth
> connection via chan_mobile
> 
> uname -a:
> 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux

Update your kernel to a 2.6.34 at least and see if you still have this
issue.

-- 
Gustavo F. Padovan
http://padovan.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hci_scodata_packet: hci1 SCO packet for unknown connection handle 42
  2010-06-18 18:49 ` Gustavo F. Padovan
@ 2010-06-22 10:24   ` Andrei Moraru
  2010-06-23 17:36     ` Andrei Moraru
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Moraru @ 2010-06-22 10:24 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

On Fri, Jun 18, 2010 at 9:49 PM, Gustavo F. Padovan <gustavo@padovan.org> wrote:
> Hi Andrei,
>
> * Andrei Moraru <andrei.moraru.n@gmail.com> [2010-06-18 15:29:41 +0300]:
>
>> Hello,
>>
>> the machine is running CentOS and Asterisk 1.4.32
>>
>> there are installed bluez-4.66 and asterisk module chan_mobile
>>
>> The Asterisk crashes sometimes when is using FXO over the bluetooth
>> connection via chan_mobile
>>
>> uname -a:
>> 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
>
> Update your kernel to a 2.6.34 at least and see if you still have this
> issue.
>
> --
> Gustavo F. Padovan
> http://padovan.org
>

updated the kernel version
#uname -a
Linux 2.6.34-default #2 SMP Mon Jun 21 17:55:19 EEST 2010 i686 i686
i386 GNU/Linux

for building latest kernel, i used the old config of working 2.6.18 kernel.

now, the system doesn't recognize any bluetooth adapter. The output of the
#hciconfig -a
is empty. Also:
# hcitool dev
Devices:
is empty.

The output of the lsusb:
#lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
Bluetooth Dongle (HCI mode)
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd
Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

the dbus-daemon is running:
# ps ax | grep dbus
22252 ?        Ss     0:00 dbus-daemon --system

the version of bluez is 4.66, the latest.

The problem is regarding the kernel config?

- - - - - - - - - -
Andrei Moraru

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hci_scodata_packet: hci1 SCO packet for unknown connection handle 42
  2010-06-22 10:24   ` Andrei Moraru
@ 2010-06-23 17:36     ` Andrei Moraru
  2010-06-24  9:28       ` Andrei Moraru
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Moraru @ 2010-06-23 17:36 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

On Tue, Jun 22, 2010 at 1:24 PM, Andrei Moraru
<andrei.moraru.n@gmail.com> wrote:
> On Fri, Jun 18, 2010 at 9:49 PM, Gustavo F. Padovan <gustavo@padovan.org> wrote:
>> Hi Andrei,
>>
>> * Andrei Moraru <andrei.moraru.n@gmail.com> [2010-06-18 15:29:41 +0300]:
>>
>>> Hello,
>>>
>>> the machine is running CentOS and Asterisk 1.4.32
>>>
>>> there are installed bluez-4.66 and asterisk module chan_mobile
>>>
>>> The Asterisk crashes sometimes when is using FXO over the bluetooth
>>> connection via chan_mobile
>>>
>>> uname -a:
>>> 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
>>
>> Update your kernel to a 2.6.34 at least and see if you still have this
>> issue.
>>
>> --
>> Gustavo F. Padovan
>> http://padovan.org
>>
>
> updated the kernel version
> #uname -a
> Linux 2.6.34-default #2 SMP Mon Jun 21 17:55:19 EEST 2010 i686 i686
> i386 GNU/Linux
>
> for building latest kernel, i used the old config of working 2.6.18 kernel.
>
> now, the system doesn't recognize any bluetooth adapter. The output of the
> #hciconfig -a
> is empty. Also:
> # hcitool dev
> Devices:
> is empty.
>
> The output of the lsusb:
> #lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
> Bluetooth Dongle (HCI mode)
> Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd
> Bluetooth Dongle (HCI mode)
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> the dbus-daemon is running:
> # ps ax | grep dbus
> 22252 ?        Ss     0:00 dbus-daemon --system
>
> the version of bluez is 4.66, the latest.
>
> The problem is regarding the kernel config?
>
> - - - - - - - - - -
> Andrei Moraru
>

The problem solved this way:

1) the kernel was rebuilt with HCI USB support, and the problem is
gone; the command   hciconfig -a    shows connected BT dongles;
2) also, the 2.6.3x +   kernel has compat-wireless stack  available.
I've built it, and i've rebuilt the Bluez-4.66
3) when started compat-wireless, got a lot of

Jun 23 17:16:13 voip kernel: l2cap: Unknown symbol hci_conn_check_link_mode
Jun 23 17:16:13 voip kernel: l2cap: disagrees about version of symbol
bt_sock_link

that means on my system some process used the old libbluetooth.so
with lsof | grep blue* found that process, killed it, and reloaded the
compat-wireless

Hope it will be usefull for others.

Andrei Moraru.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: hci_scodata_packet: hci1 SCO packet for unknown connection handle 42
  2010-06-23 17:36     ` Andrei Moraru
@ 2010-06-24  9:28       ` Andrei Moraru
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Moraru @ 2010-06-24  9:28 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

Hello

On Wed, Jun 23, 2010 at 8:36 PM, Andrei Moraru
<andrei.moraru.n@gmail.com> wrote:
> On Tue, Jun 22, 2010 at 1:24 PM, Andrei Moraru
> <andrei.moraru.n@gmail.com> wrote:
>> On Fri, Jun 18, 2010 at 9:49 PM, Gustavo F. Padovan <gustavo@padovan.org> wrote:
>>> Hi Andrei,
>>>
>>> * Andrei Moraru <andrei.moraru.n@gmail.com> [2010-06-18 15:29:41 +0300]:
>>>
>>>> Hello,
>>>>
>>>> the machine is running CentOS and Asterisk 1.4.32
>>>>
>>>> there are installed bluez-4.66 and asterisk module chan_mobile
>>>>
>>>> The Asterisk crashes sometimes when is using FXO over the bluetooth
>>>> connection via chan_mobile
>>>>
>>>> uname -a:
>>>> 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
>>>
>>> Update your kernel to a 2.6.34 at least and see if you still have this
>>> issue.
>>>
>>> --
>>> Gustavo F. Padovan
>>> http://padovan.org
>>>
>>
>> updated the kernel version
>> #uname -a
>> Linux 2.6.34-default #2 SMP Mon Jun 21 17:55:19 EEST 2010 i686 i686
>> i386 GNU/Linux
>>
>> for building latest kernel, i used the old config of working 2.6.18 kernel.
>>
>> now, the system doesn't recognize any bluetooth adapter. The output of the
>> #hciconfig -a
>> is empty. Also:
>> # hcitool dev
>> Devices:
>> is empty.
>>
>> The output of the lsusb:
>> #lsusb
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
>> Bluetooth Dongle (HCI mode)
>> Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd
>> Bluetooth Dongle (HCI mode)
>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>
>> the dbus-daemon is running:
>> # ps ax | grep dbus
>> 22252 ?        Ss     0:00 dbus-daemon --system
>>
>> the version of bluez is 4.66, the latest.
>>
>> The problem is regarding the kernel config?
>>
>> - - - - - - - - - -
>> Andrei Moraru
>>
>
> The problem solved this way:
>
> 1) the kernel was rebuilt with HCI USB support, and the problem is
> gone; the command   hciconfig -a    shows connected BT dongles;
> 2) also, the 2.6.3x +   kernel has compat-wireless stack  available.
> I've built it, and i've rebuilt the Bluez-4.66
> 3) when started compat-wireless, got a lot of
>
> Jun 23 17:16:13 voip kernel: l2cap: Unknown symbol hci_conn_check_link_mode
> Jun 23 17:16:13 voip kernel: l2cap: disagrees about version of symbol
> bt_sock_link
>
> that means on my system some process used the old libbluetooth.so
> with lsof | grep blue* found that process, killed it, and reloaded the
> compat-wireless
>
> Hope it will be usefull for others.
>
> Andrei Moraru.
>

the /var/log/messages are filled with

hci_scodata_packet: hci1 SCO packet for unknown connection handle 0
hci_scodata_packet: hci1 SCO packet for unknown connection handle 43
btusb_isoc_complete: hci1 corrupted SCO packet
btusb_isoc_complete: hci1 corrupted SCO packet
hci_scodata_packet: hci1 SCO packet for unknown connection handle 42



Andrei Moraru.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-24  9:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 12:29 hci_scodata_packet: hci1 SCO packet for unknown connection handle 42 Andrei Moraru
2010-06-18 18:49 ` Gustavo F. Padovan
2010-06-22 10:24   ` Andrei Moraru
2010-06-23 17:36     ` Andrei Moraru
2010-06-24  9:28       ` Andrei Moraru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).