amihart
Posts: 8
Joined: Tue May 30, 2017 3:51 am

Bluetooth Crashes and Can't Recover

Wed Dec 26, 2018 3:35 pm

I got a pair of Bluetooth headphones and I tried to use them with my Pi. They connect fine and audio plays through them just fine... for a short amount of time. After a few minutes of issue-less use, the task bar panel on the Pi (in Raspbian) will disappear for a few seconds, then it will come back, and the WiFi and Bluetooth will both be down. The WiFi recovers, the Bluetooth does not.

I can't get Bluetooth to work again at all until I reboot the computer completely. This makes using Bluetooth practically useless because it only works well for a few minutes before crashing.

There's some info from dmesg if this explains anything:

Code: Select all

[   14.618685] Bluetooth: Core ver 2.22
[   14.618737] NET: Registered protocol family 31
[   14.618740] Bluetooth: HCI device and connection manager initialized
[   14.618755] Bluetooth: HCI socket layer initialized
[   14.618762] Bluetooth: L2CAP socket layer initialized
[   14.618781] Bluetooth: SCO socket layer initialized
[   14.627959] Bluetooth: HCI UART driver ver 2.3
[   14.627972] Bluetooth: HCI UART protocol H4 registered
[   14.627975] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.628132] Bluetooth: HCI UART protocol Broadcom registered
[   14.907265] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.907274] Bluetooth: BNEP filters: protocol multicast
[   14.907287] Bluetooth: BNEP socket layer initialized
[   14.970709] Bluetooth: RFCOMM TTY layer initialized
[   14.970732] Bluetooth: RFCOMM socket layer initialized
[   14.970754] Bluetooth: RFCOMM ver 1.11
[   15.308325] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   16.631612] Under-voltage detected! (0x00050005)
[   20.791614] Voltage normalised (0x00000000)
[   63.603946] input: 00:14:BE:88:20:0D as /devices/virtual/input/input3
[   97.524635] Under-voltage detected! (0x00050005)
[  101.683557] Voltage normalised (0x00000000)
[  229.558435] Bluetooth: hci0 hardware error 0x00
[  233.782282] Bluetooth: hci0 command 0x1003 tx timeout
[  235.861674] Bluetooth: hci0 command 0x1001 tx timeout
[  237.941013] Bluetooth: hci0 command 0x1009 tx timeout
[  242.099949] Bluetooth: hci0 hardware error 0x00
[  244.179325] Bluetooth: hci0 command 0x1003 tx timeout
[  246.258826] Bluetooth: hci0 command 0x1001 tx timeout
[  248.338198] Bluetooth: hci0 command 0x1009 tx timeout
[  251.937790] swap_info_get: Unused swap offset entry 00007350
[  251.937801] BUG: Bad page map in process vlc  pte:0039a800 pmd:27e10835
[  251.937817] addr:71618000 vm_flags:00000075 anon_vma:  (null) mapping:b567d21c index:7d9
[  251.937842] file:swrast_dri.so fault:ext4_filemap_fault mmap:ext4_file_mmap readpage:ext4_readpage
[  251.937852] CPU: 0 PID: 1267 Comm: vlc Tainted: G         C      4.14.90-v7+ #1183
[  251.937854] Hardware name: BCM2835
[  251.937875] [<8010ff30>] (unwind_backtrace) from [<8010c174>] (show_stack+0x20/0x24)
[  251.937885] [<8010c174>] (show_stack) from [<8078b864>] (dump_stack+0xd4/0x118)
[  251.937898] [<8078b864>] (dump_stack) from [<80255b6c>] (print_bad_pte+0x150/0x1b4)
[  251.937906] [<80255b6c>] (print_bad_pte) from [<80257ee0>] (unmap_page_range+0x5a0/0x668)
[  251.937914] [<80257ee0>] (unmap_page_range) from [<80257ff4>] (unmap_single_vma+0x4c/0x54)
[  251.937920] [<80257ff4>] (unmap_single_vma) from [<802582a0>] (unmap_vmas+0x64/0x78)
[  251.937930] [<802582a0>] (unmap_vmas) from [<8025cc60>] (unmap_region+0x8c/0xc8)
[  251.937938] [<8025cc60>] (unmap_region) from [<8025f100>] (do_munmap+0x240/0x368)
[  251.937946] [<8025f100>] (do_munmap) from [<8025f864>] (vm_munmap+0x68/0x88)
[  251.937954] [<8025f864>] (vm_munmap) from [<8025f8b0>] (SyS_munmap+0x2c/0x30)
[  251.937964] [<8025f8b0>] (SyS_munmap) from [<80108000>] (ret_fast_syscall+0x0/0x28)
[  251.937970] Disabling lock debugging due to kernel taint
[  251.937975] swap_info_get: Bad swap file entry 09dc021e
[  251.937979] BUG: Bad page map in process vlc  pte:ee010f10 pmd:27e10835
[  251.937986] addr:71621000 vm_flags:00000075 anon_vma:  (null) mapping:b567d21c index:7e2
[  251.937997] file:swrast_dri.so fault:ext4_filemap_fault mmap:ext4_file_mmap readpage:ext4_readpage
[  251.938033] CPU: 0 PID: 1267 Comm: vlc Tainted: G    B    C      4.14.90-v7+ #1183
[  251.938036] Hardware name: BCM2835
[  251.938044] [<8010ff30>] (unwind_backtrace) from [<8010c174>] (show_stack+0x20/0x24)
[  251.938050] [<8010c174>] (show_stack) from [<8078b864>] (dump_stack+0xd4/0x118)
[  251.938057] [<8078b864>] (dump_stack) from [<80255b6c>] (print_bad_pte+0x150/0x1b4)
[  251.938064] [<80255b6c>] (print_bad_pte) from [<80257ee0>] (unmap_page_range+0x5a0/0x668)
[  251.938072] [<80257ee0>] (unmap_page_range) from [<80257ff4>] (unmap_single_vma+0x4c/0x54)
[  251.938078] [<80257ff4>] (unmap_single_vma) from [<802582a0>] (unmap_vmas+0x64/0x78)
[  251.938085] [<802582a0>] (unmap_vmas) from [<8025cc60>] (unmap_region+0x8c/0xc8)
[  251.938093] [<8025cc60>] (unmap_region) from [<8025f100>] (do_munmap+0x240/0x368)
[  251.938100] [<8025f100>] (do_munmap) from [<8025f864>] (vm_munmap+0x68/0x88)
[  251.938108] [<8025f864>] (vm_munmap) from [<8025f8b0>] (SyS_munmap+0x2c/0x30)
[  251.938116] [<8025f8b0>] (SyS_munmap) from [<80108000>] (ret_fast_syscall+0x0/0x28)
[  251.938119] BUG: Bad page map in process vlc  pte:ec510f1f pmd:27e10835
[  251.938126] addr:71622000 vm_flags:00000075 anon_vma:  (null) mapping:b567d21c index:7e3
[  251.938137] file:swrast_dri.so fault:ext4_filemap_fault mmap:ext4_file_mmap readpage:ext4_readpage
[  251.938158] CPU: 0 PID: 1267 Comm: vlc Tainted: G    B    C      4.14.90-v7+ #1183
[  251.938160] Hardware name: BCM2835
[  251.938167] [<8010ff30>] (unwind_backtrace) from [<8010c174>] (show_stack+0x20/0x24)
[  251.938173] [<8010c174>] (show_stack) from [<8078b864>] (dump_stack+0xd4/0x118)
[  251.938181] [<8078b864>] (dump_stack) from [<80255b6c>] (print_bad_pte+0x150/0x1b4)
[  251.938188] [<80255b6c>] (print_bad_pte) from [<80257240>] (_vm_normal_page+0x80/0xcc)
[  251.938194] [<80257240>] (_vm_normal_page) from [<80257c18>] (unmap_page_range+0x2d8/0x668)
[  251.938201] [<80257c18>] (unmap_page_range) from [<80257ff4>] (unmap_single_vma+0x4c/0x54)
[  251.938208] [<80257ff4>] (unmap_single_vma) from [<802582a0>] (unmap_vmas+0x64/0x78)
[  251.938215] [<802582a0>] (unmap_vmas) from [<8025cc60>] (unmap_region+0x8c/0xc8)
[  251.938222] [<8025cc60>] (unmap_region) from [<8025f100>] (do_munmap+0x240/0x368)
[  251.938229] [<8025f100>] (do_munmap) from [<8025f864>] (vm_munmap+0x68/0x88)
[  251.938237] [<8025f864>] (vm_munmap) from [<8025f8b0>] (SyS_munmap+0x2c/0x30)
[  251.938244] [<8025f8b0>] (SyS_munmap) from [<80108000>] (ret_fast_syscall+0x0/0x28)
[  251.938248] BUG: Bad page map in process vlc  pte:ec410f1f pmd:27e10835
[  251.938254] addr:71623000 vm_flags:00000075 anon_vma:  (null) mapping:b567d21c index:7e4
[  251.938262] file:swrast_dri.so fault:ext4_filemap_fault mmap:ext4_file_mmap readpage:ext4_readpage
[  251.938268] CPU: 0 PID: 1267 Comm: vlc Tainted: G    B    C      4.14.90-v7+ #1183
[  251.938270] Hardware name: BCM2835
[  251.938277] [<8010ff30>] (unwind_backtrace) from [<8010c174>] (show_stack+0x20/0x24)
[  251.938283] [<8010c174>] (show_stack) from [<8078b864>] (dump_stack+0xd4/0x118)
[  251.938289] [<8078b864>] (dump_stack) from [<80255b6c>] (print_bad_pte+0x150/0x1b4)
[  251.938296] [<80255b6c>] (print_bad_pte) from [<80257240>] (_vm_normal_page+0x80/0xcc)
[  251.938304] [<80257240>] (_vm_normal_page) from [<80257c18>] (unmap_page_range+0x2d8/0x668)
[  251.938310] [<80257c18>] (unmap_page_range) from [<80257ff4>] (unmap_single_vma+0x4c/0x54)
[  251.938317] [<80257ff4>] (unmap_single_vma) from [<802582a0>] (unmap_vmas+0x64/0x78)
[  251.938324] [<802582a0>] (unmap_vmas) from [<8025cc60>] (unmap_region+0x8c/0xc8)
[  251.938331] [<8025cc60>] (unmap_region) from [<8025f100>] (do_munmap+0x240/0x368)
[  251.938340] [<8025f100>] (do_munmap) from [<8025f864>] (vm_munmap+0x68/0x88)
[  251.938347] [<8025f864>] (vm_munmap) from [<8025f8b0>] (SyS_munmap+0x2c/0x30)
[  251.938354] [<8025f8b0>] (SyS_munmap) from [<80108000>] (ret_fast_syscall+0x0/0x28)
[  252.058824] BUG: Bad rss-counter state mm:b499b180 idx:0 val:4
[  252.058849] BUG: Bad rss-counter state mm:b499b180 idx:2 val:-2
[  252.337164] Bluetooth: hci0 hardware error 0x00
[  254.416602] Bluetooth: hci0 command 0x1003 tx timeout
[  256.496116] Bluetooth: hci0 command 0x1001 tx timeout
[  258.575600] Bluetooth: hci0 command 0x1009 tx timeout
[  262.574541] Bluetooth: hci0 hardware error 0x00
[  264.654082] Bluetooth: hci0 command 0x1003 tx timeout
[  266.733459] Bluetooth: hci0 command 0x1001 tx timeout
[  268.812953] Bluetooth: hci0 command 0x1009 tx timeout
[  272.811987] Bluetooth: hci0 hardware error 0x00
[  274.891431] Bluetooth: hci0 command 0x1003 tx timeout
[  276.970946] Bluetooth: hci0 command 0x1001 tx timeout
[  279.050483] Bluetooth: hci0 command 0x1009 tx timeout
[  283.049528] Bluetooth: hci0 hardware error 0x00
[  285.129067] Bluetooth: hci0 command 0x1003 tx timeout
[  287.208448] Bluetooth: hci0 command 0x1001 tx timeout
[  289.287932] Bluetooth: hci0 command 0x1009 tx timeout
[  293.286998] Bluetooth: hci0 hardware error 0x00
[  295.366455] Bluetooth: hci0 command 0x1003 tx timeout
[  297.446047] Bluetooth: hci0 command 0x1001 tx timeout
[  299.525445] Bluetooth: hci0 command 0x1009 tx timeout
[  303.524572] Bluetooth: hci0 hardware error 0x00
[  305.604067] Bluetooth: hci0 command 0x1003 tx timeout
[  307.683515] Bluetooth: hci0 command 0x1001 tx timeout
[  309.763056] Bluetooth: hci0 command 0x1009 tx timeout
[  313.762180] Bluetooth: hci0 hardware error 0x00
[  315.841640] Bluetooth: hci0 command 0x1003 tx timeout
[  317.921130] Bluetooth: hci0 command 0x1001 tx timeout
[  320.000643] Bluetooth: hci0 command 0x1009 tx timeout
[  323.999730] Bluetooth: hci0 hardware error 0x00
[  326.079211] Bluetooth: hci0 command 0x1003 tx timeout

Return to “Troubleshooting”