Bluetooth device scan failed on Origen Jelly Bean.

Bug #1032714 reported by Botao on 2012-08-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

On Samsung Origen board with Linaro Jelly Bean build:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=5

Bluetooth can be enabled, but can't find any other Bluetooth device. Please refer to the logcat output below although there is no any serial console output during the device searching:

D/LocalBluetoothManager( 2943): setting foreground activity to non-null context
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
D/dalvikvm( 2943): GC_CONCURRENT freed 297K, 11% free 5971K/6663K, paused 16ms+9ms, total 77ms
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
E/BluetoothService.cpp( 2532): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
I/dalvikvm( 2532): Jit: resizing JitTable from 4096 to 8192
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
D/dalvikvm( 2943): GC_CONCURRENT freed 428K, 12% free 5978K/6791K, paused 14ms+9ms, total 96ms
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
E/BluetoothService.cpp( 2532): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
D/BluetoothEventLoop( 2532): Property Changed: Discovering : true
D/dalvikvm( 2943): GC_CONCURRENT freed 431K, 12% free 5977K/6791K, paused 5ms+9ms, total 67ms
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_STARTED
D/BluetoothEventLoop( 2532): Property Changed: Discovering : false
E/BluetoothService.cpp( 2532): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/dalvikvm( 2532): GC_CONCURRENT freed 465K, 14% free 8156K/9479K, paused 7ms+13ms, total 115ms
V/BluetoothDiscoveryReceiver( 2943): Received: android.bluetooth.adapter.action.DISCOVERY_FINISHED

Also, when turn off the Bluetooth, it crashes, and shows:

Unfortunately, the process com.android.phone has been stopped.

########################################################
This issue is observed on following images:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=5

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=18

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=25

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=33

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob-12.08-release/#build=1

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=47

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=7

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=12

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob-12.09-release/#build=3

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=26

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=31

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=37

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob-12.10-release/#build=1

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=57

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=67

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=126

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=141

Botao (botao-sun) wrote :
Botao (botao-sun) wrote :

For Samsung Origen board, observed on Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=25

It can not find any other Bluetooth device; and can not be discovered by other Bluetooth device either.

Botao (botao-sun) wrote :

For Samsung Origen board, observed on Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=33

Also, when turn off the Bluetooth, it crashes, and shows:

Unfortunately, the process com.android.phone has been stopped.

Botao (botao-sun) wrote :

Observed same behaviour as comment #2 & #3 on Origen Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob-12.08-release/#build=1

Botao (botao-sun) wrote :

Same behaviour observed as comment #2 & #3 on Samsung Origen board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=47

Botao (botao-sun) wrote :

Also observed on Linaro Jelly Bean tracking build for Samsung Origen board:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=7

Same behaviour observed as comment #2 & #3.

Botao (botao-sun) on 2012-09-18
description: updated
Botao (botao-sun) on 2012-09-25
description: updated
Botao (botao-sun) on 2012-10-04
description: updated
Botao (botao-sun) on 2012-10-08
description: updated
Botao (botao-sun) on 2012-10-16
description: updated
Botao (botao-sun) on 2012-10-22
description: updated
description: updated
description: updated
Soumya Basak (soumya-basak) wrote :

observed with origen android jb builds
https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=75
bluetooth device scan failed.

please referred to the attach log details.

Botao (botao-sun) wrote :

On Samsung Origen board with Linaro Android Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=89

Bluetooth can't be enabled at all.

Soumya Basak (soumya-basak) wrote :

Also observed with origen android jellybean 4.2 builds

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=98

enabling bluetooth is failed from settings.

Soumya Basak (soumya-basak) wrote :

observed on Samsung origen Linaro android jb 4.2.1 release build 12.12

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob-12.12-release/

BT cannot be enable from settings. when trying to enable BT, the log message is getting on console
log details:
root@android:/ #
root@android:/ # [ 4306.835000] ------------[ cut here ]------------
[ 4306.835000] WARNING: at /mnt/jenkins/workspace/linaro-android_origen-jb-gcc47-samsunglt-tracking-blob-12.12-release/build/kernel/mm/vmalloc.
c:1487 ath6kl_core_cleanup+0x7c/0xa0 [ath6kl]()
[ 4306.855000] Trying to vfree() nonexistent vm area (cc320000)
[ 4306.860000] Modules linked in: ath6kl(-) gator
[ 4306.865000] [<c00155ac>] (unwind_backtrace+0x0/0xf8) from [<c00249f0>] (warn_slowpath_common+0x4c/0x64)
[ 4306.875000] [<c00249f0>] (warn_slowpath_common+0x4c/0x64) from [<c0024a9c>] (warn_slowpath_fmt+0x30/0x40)
[ 4306.885000] [<c0024a9c>] (warn_slowpath_fmt+0x30/0x40) from [<bf02b6c8>] (ath6kl_core_cleanup+0x7c/0xa0 [ath6kl])
[ 4306.895000] [<bf02b6c8>] (ath6kl_core_cleanup+0x7c/0xa0 [ath6kl]) from [<bf02bd44>] (ath6kl_sdio_remove+0x2c/0x48 [ath6kl])
[ 4306.905000] [<bf02bd44>] (ath6kl_sdio_remove+0x2c/0x48 [ath6kl]) from [<c02c3d68>] (sdio_bus_remove+0x30/0xf8)
[ 4306.915000] [<c02c3d68>] (sdio_bus_remove+0x30/0xf8) from [<c028b93c>] (__device_release_driver+0x70/0xc8)
[ 4306.925000] [<c028b93c>] (__device_release_driver+0x70/0xc8) from [<c028c0f4>] (driver_detach+0xac/0xb0)
[ 4306.935000] [<c028c0f4>] (driver_detach+0xac/0xb0) from [<c028b76c>] (bus_remove_driver+0x7c/0xc0)
[ 4306.940000] [<c028b76c>] (bus_remove_driver+0x7c/0xc0) from [<bf02d4e8>] (ath6kl_sdio_exit+0xc/0x2c [ath6kl])
[ 4306.950000] [<bf02d4e8>] (ath6kl_sdio_exit+0xc/0x2c [ath6kl]) from [<c00749e4>] (sys_delete_module+0x11c/0x204)
[ 4306.960000] [<c00749e4>] (sys_delete_module+0x11c/0x204) from [<c000e300>] (ret_fast_syscall+0x0/0x30)
[ 4306.970000] ---[ end trace d3afb690bd69a301 ]---
[ 4307.315000] mmc2: card 0001 removed

description: updated
Soumya Basak (soumya-basak) wrote :

observed with the Samsung origen Linaro android builds:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-tracking-blob/#build=132

BT can't be enabled from UI.

description: updated
Soumya Basak (soumya-basak) wrote :

also observed with origen board with linaro android 4.2.1 release builds:

https://android-build.linaro.org/builds/~linaro-android/origen-linaro-13.01-release/#build=2

bluetooth cannot be turn on from UI.

Soumya Basak (soumya-basak) wrote :

observed with origen android jellybean 4.2.2 release builds:
https://android-build.linaro.org/builds/~linaro-android/origen-linaro-13.02-release/#build=2
enabling BT from settings FAIL.

Milosz Wasilewski (mwasilew) wrote :

Origen is not supported anymore.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers