#12736 NORM -: XO-4 bluetooth hang using serial gps device
Zarro Boogs per Child
bugtracker at laptop.org
Fri Aug 9 13:26:15 EDT 2013
#12736: XO-4 bluetooth hang using serial gps device
--------------------+-------------------------------------------------------
Reporter: pgf | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Software Build 13.2.0-13
Keywords: | Next_action: never set
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
--------------------+-------------------------------------------------------
i'm running 13.2.0-12.
after installing gnome-bluetooth, i'm able to pair with a BT mouse just
fine. suspend/resume work correctly, and the BT mouse will even wake the
system.
i have a bluetooth GPS unit (identifies as iBT-GPS) which also connects
and works fine, via rfcomm. gpsd will talk to it via /dev/rfcomm0 (which
must be added to /etc/sysconfig/gpsd, in front of the /dev/ttyUSB0 entry).
the presence of this pairing does two things:
- idle suspend is prevented, in that the system is continually woken
immediately after suspending.
- attempting a dark suspend (i.e., lid or power button) causes the
system to lock up. power LED remains on. enabling no_console_suspend
gives:
{{{
[ 192.688725] PM: Syncing filesystems ... done.
[ 192.695644] Freezing user space processes ... (elapsed 0.01 seconds)
done.
[ 192.716531] Freezing remaining freezable tasks ... (elapsed 0.01
seconds) done.
[ 192.854064] mmp3_usb_phy_deinit_internal: Deinit usb phy!!!
[ 192.854092] mmc2: dropping power over suspend
[ 192.864022] mmc1: dropping power over suspend
[ 192.870597] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[ 192.884588] Unable to handle kernel paging request at virtual address
00100104
[ 192.891780] pgd = ecf98000
[ 192.894485] [00100104] *pgd=2cf6b831, *pte=00000000, *ppte=00000000
[ 192.894519] Internal error: Oops: 817 [#1] PREEMPT ARM
[ 192.900742] Modules linked in: hidp rfcomm bnep fuse mousedev xt_tcpudp
iptable_filter ip_tables x_tables btmrvl_sdio btmrvl mwifiex_sdio mwifiex
joydev bluetooth uinput psmouse mmp_camera videobuf2_dma_sg
videobuf2_vmalloc videobuf2_memops videobuf2_core zforce syscopyarea
sysfillrect sysimgblt fb_sys_fops ov7670 [last unloaded: udlfb]
[ 192.905831] CPU: 0 Not tainted
(3.5.7_xo4-20130705.0203.olpc.e77de3d #1)
[ 192.935400] PC is at l2cap_chan_destroy+0x38/0xa0 [bluetooth]
[ 192.942462] LR is at l2cap_sock_kill+0x78/0xc4 [bluetooth]
[ 192.953630] pc : [<bf08eba4>] lr : [<bf0953fc>] psr: 60000013
[ 192.953630] sp : ecbddb78 ip : ecbddb90 fp : ecbddb8c
[ 192.953630] r10: ec82534c r9 : 00000067 r8 : ec825344
[ 192.965009] r7 : ec9a7000 r6 : ec825188 r5 : ec8252c0 r4 : ec507000
[ 192.976658] r3 : ecbdc000 r2 : 00200200 r1 : 00100100 r0 : ec507000
[ 192.976658] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM
Segment user
[ 192.990201] Control: 10c5387d Table: 2cf98059 DAC: 00000015
[ 192.990201] Process rtcwake (pid: 1348, stack limit = 0xecbdc2f8)
[ 192.995896] Stack: (0xecbddb78 to 0xecbde000)
[ 193.001936] db60:
00000000 ec46c200
[ 193.014362] db80: ecbddba4 ecbddb90 bf0953fc bf08eb78 00000001 ec507000
ecbddbb4 ecbddba8
[ 193.014362] dba0: bf095528 bf095390 ecbddbf4 ecbddbb8 bf08a7cc bf09551c
00100088 da3b3558
[ 193.030577] dbc0: ec5071d4 ec50700c c00f79b8 ec9a7000 00000016 eca78470
00000009 c026aa9c
[ 193.030577] dbe0: c066fe34 c0558188 ecbddc0c ecbddbf8 bf093480 bf08a700
ec9a7000 eca78470
[ 193.046800] dc00: ecbddc2c ecbddc10 bf0794a4 bf093434 eca78000 eca78008
eca78424 00000000
[ 193.046800] dc20: ecbddc54 ecbddc30 bf0746b8 bf079430 00020000 eca78000
eca78000 eca78000
[ 193.054916] dc40: 00000000 c026aa9c ecbddc7c ecbddc58 bf076b90 bf0744e0
ecbddc7c ecbddc68
[ 193.071147] dc60: bf0ffe5c ec93c6c0 eca78000 bf108244 ecbddc94 ecbddc80
bf0fe0ec bf076ae0
[ 193.071147] dc80: ec8b1380 ec3c2200 ecbddcac ecbddc98 bf106bd4 bf0fe0ac
bf106b54 ec3c2208
[ 193.079262] dca0: ecbddccc ecbddcb0 c03041fc bf106b60 c03041b4 ec3c2208
bf108244 c0677e70
[ 193.095485] dcc0: ecbddce4 ecbddcd0 c0268d0c c03041c0 ec3c223c ec3c2208
ecbddcfc ecbddce8
[ 193.103602] dce0: c0268d78 c0268c8c ec3c2208 ec0ed9ac ecbddd1c ecbddd00
c0268794 c0268d58
[ 193.111717] dd00: 00000002 ec3c2208 ec3be000 ec3c5808 ecbddd3c ecbddd20
c0266330 c0268698
[ 193.111717] dd20: 00000001 ec3c2208 ec3be000 000000a5 ecbddd54 ecbddd40
c0304644 c026621c
[ 193.119833] dd40: 00000003 00000001 ecbddd74 ecbddd58 c03036d0 c0304624
ec3be000 00000000
[ 193.127948] dd60: 00000001 ec0c4408 ecbddd94 ecbddd78 c02fc86c c0303690
00000297 ec3be240
[ 193.136055] dd80: ec3cde50 00000001 ecbdddb4 ecbddd98 c0311cb0 c02fc758
c03142e4 ec0c4408
[ 193.152278] dda0: ec3cde50 ec3be240 ecbdddd4 ecbdddb8 c031430c c0311c34
00000000 00000000
[ 193.152278] ddc0: 00000002 ec0c4408 ecbddde4 ecbdddd8 c026aad8 c03142f0
ecbdde1c ecbddde8
[ 193.168491] dde0: c026fea4 c026aaa8 ec0c4408 00000000 00000000 00000000
ec0c4408 00000002
[ 193.168491] de00: ec0c443c ec0c4408 c066fe08 00000002 ecbdde44 ecbdde20
c02700d8 c026fe5c
[ 193.176599] de20: c066f9dc 000c445c ecbdde44 ec0c445c 00000003 00000000
ecbdde7c ecbdde48
[ 193.192822] de40: c027178c c026feec dd38cad9 0000002c dd38cad9 0000002c
00000002 ec991000
[ 193.200938] de60: 00000003 c053075e c04815c0 c0462d78 ecbdde94 ecbdde80
c0271b34 c02716dc
[ 193.200938] de80: c06ec5c8 00000000 ecbddebc ecbdde98 c005b0c8 c0271ad4
00000000 00000000
[ 193.217170] dea0: 00000003 ec991000 00000004 c053075e ecbdded4 ecbddec0
c005b454 c005b028
[ 193.217170] dec0: 00000003 00000003 ecbddefc ecbdded8 c005a400 c005b364
ec01c648 ecd96f40
[ 193.225284] dee0: ecd96f58 ecbddf78 00000004 ec016240 ecbddf0c ecbddf00
c01e4e30 c005a360
[ 193.241507] df00: ecbddf3c ecbddf10 c0144a98 c01e4e20 ecbddf78 00000004
ec7cebc0 b6f65000
[ 193.249615] df20: ecbddf78 00000004 ecbdc000 00020000 ecbddf6c ecbddf40
c00e301c c0144994
[ 193.249615] df40: c00c3860 c004bccc 00000022 00000000 00000000 ec7cebc0
b6f65000 00000004
[ 193.265846] df60: ecbddfa4 ecbddf70 c00e32b0 c00e2f6c c00cf734 00000000
00000000 00000000
[ 193.273953] df80: 00001000 00000004 b6f65000 00017230 00000004 c000ef28
00000000 ecbddfa8
[ 193.273953] dfa0: c000ecc0 c00e3274 00000004 b6f65000 00000004 b6f65000
00000004 00000000
[ 193.282069] dfc0: 00000004 b6f65000 00017230 00000004 00000004 00000004
b6f65000 00000000
[ 193.290184] dfe0: 00000000 be8b6b4c b6e37b04 b6e9379c 60000010 00000004
00000000 00000000
[ 193.298291] [<bf08eba4>] (l2cap_chan_destroy+0x38/0xa0 [bluetooth])
from [<bf0953fc>] (l2cap_sock_kill+0x78/0xc4 [bluetooth])
[ 193.306480] [<bf0953fc>] (l2cap_sock_kill+0x78/0xc4 [bluetooth]) from
[<bf095528>] (l2cap_sock_close_cb+0x18/0x1c [bluetooth])
[ 193.329121] [<bf095528>] (l2cap_sock_close_cb+0x18/0x1c [bluetooth])
from [<bf08a7cc>] (l2cap_conn_del+0xd8/0x194 [bluetooth])
[ 193.340484] [<bf08a7cc>] (l2cap_conn_del+0xd8/0x194 [bluetooth]) from
[<bf093480>] (l2cap_disconn_cfm+0x58/0x68 [bluetooth])
[ 193.340484] [<bf093480>] (l2cap_disconn_cfm+0x58/0x68 [bluetooth]) from
[<bf0794a4>] (hci_conn_hash_flush+0x80/0xdc [bluetooth])
[ 193.351666] [<bf0794a4>] (hci_conn_hash_flush+0x80/0xdc [bluetooth])
from [<bf0746b8>] (hci_dev_do_close+0x1e4/0x360 [bluetooth])
[ 193.363177] [<bf0746b8>] (hci_dev_do_close+0x1e4/0x360 [bluetooth])
from [<bf076b90>] (hci_unregister_dev+0xbc/0x1b4 [bluetooth])
[ 193.374774] [<bf076b90>] (hci_unregister_dev+0xbc/0x1b4 [bluetooth])
from [<bf0fe0ec>] (btmrvl_remove_card+0x4c/0x84 [btmrvl])
[ 193.386359] [<bf0fe0ec>] (btmrvl_remove_card+0x4c/0x84 [btmrvl]) from
[<bf106bd4>] (btmrvl_sdio_remove+0x80/0x98 [btmrvl_sdio])
[ 193.397670] [<bf106bd4>] (btmrvl_sdio_remove+0x80/0x98 [btmrvl_sdio])
from [<c03041fc>] (sdio_bus_remove+0x48/0x100)
[ 193.409076] [<c03041fc>] (sdio_bus_remove+0x48/0x100) from [<c0268d0c>]
(__device_release_driver+0x8c/0xcc)
[ 193.419517] [<c0268d0c>] (__device_release_driver+0x8c/0xcc) from
[<c0268d78>] (device_release_driver+0x2c/0x38)
[ 193.429179] [<c0268d78>] (device_release_driver+0x2c/0x38) from
[<c0268794>] (bus_remove_device+0x108/0x124)
[ 193.439275] [<c0268794>] (bus_remove_device+0x108/0x124) from
[<c0266330>] (device_del+0x120/0x184)
[ 193.449028] [<c0266330>] (device_del+0x120/0x184) from [<c0304644>]
(sdio_remove_func+0x2c/0x38)
[ 193.458007] [<c0304644>] (sdio_remove_func+0x2c/0x38) from [<c03036d0>]
(mmc_sdio_remove+0x4c/0x7c)
[ 193.475702] [<c03036d0>] (mmc_sdio_remove+0x4c/0x7c) from [<c02fc86c>]
(mmc_suspend_host+0x120/0x1e8)
[ 193.475702] [<c02fc86c>] (mmc_suspend_host+0x120/0x1e8) from
[<c0311cb0>] (sdhci_suspend_host+0x88/0x138)
[ 193.494356] [<c0311cb0>] (sdhci_suspend_host+0x88/0x138) from
[<c031430c>] (sdhci_pxav3_suspend+0x28/0x128)
[ 193.494356] [<c031430c>] (sdhci_pxav3_suspend+0x28/0x128) from
[<c026aad8>] (platform_pm_suspend+0x3c/0x64)
[ 193.504022] [<c026aad8>] (platform_pm_suspend+0x3c/0x64) from
[<c026fea4>] (dpm_run_callback+0x54/0x90)
[ 193.513690] [<c026fea4>] (dpm_run_callback+0x54/0x90) from [<c02700d8>]
(__device_suspend+0x1f8/0x2bc)
[ 193.523009] [<c02700d8>] (__device_suspend+0x1f8/0x2bc) from
[<c027178c>] (dpm_suspend+0xbc/0x230)
[ 193.532244] [<c027178c>] (dpm_suspend+0xbc/0x230) from [<c0271b34>]
(dpm_suspend_start+0x6c/0x74)
[ 193.549947] [<c0271b34>] (dpm_suspend_start+0x6c/0x74) from
[<c005b0c8>] (suspend_devices_and_enter+0xac/0x33c)
[ 193.549947] [<c005b0c8>] (suspend_devices_and_enter+0xac/0x33c) from
[<c005b454>] (pm_suspend+0xfc/0x218)
[ 193.569454] [<c005b454>] (pm_suspend+0xfc/0x218) from [<c005a400>]
(state_store+0xac/0xc8)
[ 193.569454] [<c005a400>] (state_store+0xac/0xc8) from [<c01e4e30>]
(kobj_attr_store+0x1c/0x28)
[ 193.586206] [<c01e4e30>] (kobj_attr_store+0x1c/0x28) from [<c0144a98>]
(sysfs_write_file+0x110/0x158)
[ 193.595357] [<c0144a98>] (sysfs_write_file+0x110/0x158) from
[<c00e301c>] (vfs_write+0xbc/0x148)
[ 193.604072] [<c00e301c>] (vfs_write+0xbc/0x148) from [<c00e32b0>]
(sys_write+0x48/0x7c)
[ 193.612017] [<c00e32b0>] (sys_write+0x48/0x7c) from [<c000ecc0>]
(ret_fast_syscall+0x0/0x30)
[ 193.612017] Code: e2822001 e5832004 e59021c8 e59011c4 (e5812004)
[ 193.626456] ---[ end trace d6e87e5981a25a62 ]---
[ 193.631058] note: rtcwake[1348] exited with preempt_count 1
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/12736>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list