Bug 203753 - Bluetooth: hci0: advertising data len corrected
Summary: Bluetooth: hci0: advertising data len corrected
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-29 13:35 UTC by El jinete sin cabeza
Modified: 2022-09-21 12:57 UTC (History)
12 users (show)

See Also:
Kernel Version: Ubuntu 5.1.5-050105-generic
Tree: Mainline
Regression: No


Attachments
dmesg_5.1.5-050105-generic.txt (69.26 KB, text/plain)
2019-05-29 13:35 UTC, El jinete sin cabeza
Details
$ sudo lspci -vvnn (22.65 KB, text/plain)
2019-05-29 13:42 UTC, El jinete sin cabeza
Details

Description El jinete sin cabeza 2019-05-29 13:35:17 UTC
Created attachment 283003 [details]
dmesg_5.1.5-050105-generic.txt

dmesg:
[ 2716.718645] Bluetooth: hci0: advertising data len corrected
Comment 1 El jinete sin cabeza 2019-05-29 13:42:56 UTC
Created attachment 283005 [details]
$ sudo lspci -vvnn
Comment 2 Andras Tim 2020-11-06 17:19:03 UTC
This problem is affected me also on Ubuntu 20.20 with
Linux tia 4.15.0-122-generic #124~16.04.1-Ubuntu SMP Thu Oct 15 16:08:36 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Comment 3 sheepdestroyer 2020-12-09 03:27:06 UTC
Same problem on Fedora 33

kernel   5.9.11-200.fc33.x86_64
bluez    5.55-2.fc34.x86_64

Thinkpad X230 with integrated Broadcom Bluetooth :
Device 010: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]


Kernel log flooded by 

kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: bt_err_ratelimited: 6 callbacks suppressed              
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: bt_err_ratelimited: 1 callbacks suppressed              
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
kernel: Bluetooth: hci0: advertising data len corrected 20 -> 19
...
Comment 4 Andras Tim 2020-12-09 12:47:08 UTC
(In reply to Andras Tim from comment #2)
> This problem is affected me also on Ubuntu 20.20 with
> Linux tia 4.15.0-122-generic #124~16.04.1-Ubuntu SMP Thu Oct 15 16:08:36 UTC
> 2020 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately, I copied wrong kernel version. The affected is:

[kernel]
Linux server 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[bluez]
5.53-0ubuntu3

[dongle]
Bus 001 Device 014: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode
Comment 5 Pavel Mukhataev 2021-02-17 17:25:40 UTC
Observe the same issue on raspberry pi 4b (2G)

lsb_release -d: Raspbian GNU/Linux 10 (buster)
uname -a: Linux raspberrypi 5.10.16-v7l+ #1402 SMP Tue Feb 16 14:12:18 GMT 2021 armv7l GNU/Linux
bluetoothd -v: 5.50
hciconfig hci0: 
Type: Primary  Bus: UART
ACL MTU: 1021:8  SCO MTU: 64:1
UP RUNNING 
RX bytes:8883 acl:74 sco:0 events:473 errors:0
TX bytes:4783 acl:74 sco:0 commands:251 errors:0

dmesg:
[   14.925896] Bluetooth: HCI device and connection manager initialized
[   14.925926] Bluetooth: HCI socket layer initialized
[   14.925948] Bluetooth: L2CAP socket layer initialized
[   14.925984] Bluetooth: SCO socket layer initialized
[   14.938333] Bluetooth: HCI UART driver ver 2.3
[   14.938356] Bluetooth: HCI UART protocol H4 registered
[   14.938471] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.938792] Bluetooth: HCI UART protocol Broadcom registered
[   15.121724] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.121733] Bluetooth: BNEP filters: protocol multicast
[   15.121746] Bluetooth: BNEP socket layer initialized
[ 4080.572228] Bluetooth: hci0: advertising data len corrected 28 -> 27
Comment 6 Priit O. 2021-02-26 22:45:08 UTC
uname -a : Linux Zen 5.10.15-1-MANJARO #1 SMP PREEMPT Wed Feb 10 10:42:47 UTC 2021 x86_64 GNU/Linux

$ dmesg -W
[106376.949553] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106378.833756] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106379.909741] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106380.195521] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106380.346552] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106380.528606] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106380.685527] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106380.843539] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106381.118745] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106381.449509] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106382.544736] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106382.978739] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106385.310497] bt_err_ratelimited: 4 callbacks suppressed
[106385.310499] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106385.800722] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106387.169452] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106387.810468] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106388.250687] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106388.739449] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106389.175451] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106389.948625] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106390.103438] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106390.441649] Bluetooth: hci0: advertising data len corrected 31 -> 16
[106390.599420] Bluetooth: hci0: advertising data len corrected 31 -> 16

it just continiously spams this, several messages in a second.
Comment 7 sheepdestroyer 2021-04-23 17:44:17 UTC
fedora 33 
Kernel 5.11.16-200.fc33.x86_64
bluez-5.58-1.fc33

Thinkpad X230 with integrated Broadcom Bluetooth :
Device 010: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]


still flooded by :
Bluetooth: hci0: advertising data len corrected 20 -> 19 
Bluetooth: hci0: advertising data len corrected 20 -> 19 

bt_err_ratelimited: 2 callbacks suppressed               

Bluetooth: hci0: advertising data len corrected 20 -> 19
Comment 8 Szymon Janc 2021-05-21 08:15:00 UTC
This is now fixed in bluetooth-next and commit was marked with cc:stable
Comment 9 Max 2021-06-28 10:47:16 UTC
Fedora 34:

jun 28 12:07:56 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:07:56 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:07:57 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:07:57 tomato bluetoothd[1167]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to 18:CE:B2:47:EB:B5: Connection refused (111)
jun 28 12:07:57 tomato bluetoothd[1167]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 18:CE:B2:47:EB:B5: Connection refused (111)
jun 28 12:07:58 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:07:58 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:07:59 tomato bluetoothd[1167]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 18:CE:B2:47:EB:B5: Connection refused (111)
jun 28 12:08:00 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:01 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:02 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:02 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:04 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:05 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:06 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:06 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:07 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:09 tomato bluetoothd[1167]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
jun 28 12:08:15 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:15 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:16 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:16 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:17 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
jun 28 12:08:18 tomato kernel: Bluetooth: hci0: advertising data len corrected 28 -> 12
Comment 10 Pablo AB 2021-12-04 00:35:17 UTC
Ubuntu 20.04.3 LTS, kernel 5.4.0-91-generic, bluez 5.53-0ubuntu3.4

It happens to me *only* with Sony WH-1000XM4 (LE_WH-1000XM4). Tested with journalctl -xef -p warning on one terminal and bt-device -l on other. All the other BT devices doesn't produce this.
Comment 11 Diego Rodriguez 2022-09-21 12:57:46 UTC
(In reply to Pablo AB from comment #10)
> Ubuntu 20.04.3 LTS, kernel 5.4.0-91-generic, bluez 5.53-0ubuntu3.4
> 
> It happens to me *only* with Sony WH-1000XM4 (LE_WH-1000XM4). Tested with
> journalctl -xef -p warning on one terminal and bt-device -l on other. All
> the other BT devices doesn't produce this.

Hello i have the same problem in my Ubuntu-Budgie 20.04.5 LTS with kernel 5.4.0-126-generic.

I just bought a dongle SABRENT Cle Bluetooth 4.0 USB pour PC [Classe 2 v4.0 à Basse consommation] (BT-UB40) (https://www.amazon.fr/Sabrent-Adaptateur-Bluetooth-V4-0-Classe-technologie/dp/B06XHY5VXF), in the description they say "Plug and Play" in Linux, the dongle was immediately recognized and i see all the devices around me ... but when i try to connect to my Soundcore Motion+, in the devices list i see the device is connected and immediately disconnected, when i execute the journalctl -xef -p warning i have these 2 lines:

> bluetoothd[1038]: a2dp-sink profile connect failed for 7C:96:D2:AD:4E:AC: Protocol not available
> bluetoothd[1038]: a2dp-source profile connect failed for 7C:96:D2:AD:4E:AC: Protocol not available

So after a little search in google i find and try this:

+ sudo apt-get install pulseaudio-module-bluetooth
+ sudo killall pulseaudio
+ pulseaudio --start    
+ sudo systemctl restart bluetooth

Is much better if you restart your PC, because after "pulseaudio --start" my audio stopped :p
When i got back into my Ubuntu (restart) everything work great.

I hope that can help you.

Note You need to log in before you can comment on or make changes to this bug.