Skip to content

lib: net_buf: Generates lots of warnings during Bluetooth initialization  #80167

@HoZHel

Description

@HoZHel

Describe the bug

Several warnings are generated on the console during Bluetooth initialization with the message as follow:
<wrn> net_buf: Timeout discarded. No blocking in syswq.

I discovered this using the platform nrf52840dk/nrf52840 with peripheral_hr, even if the problem is not specific to this application.

Apparently this has been introduced by 88ee2be

To Reproduce

  1. west build -b nrf52840dk/nrf52840 samples/bluetooth/peripheral_hr
  2. west flash

Expected behavior
Normally, I would expect no warning for a regular Bluetooth initialization.

Impact
Annoyance and feeling that something is not right.

Logs and console output

*** Booting Zephyr OS build v3.7.0-4797-g98e0e65069cf ***
[00:00:00.250,518] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.250,640] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.250,762] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.250,915] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,068] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,190] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,312] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,464] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,586] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,708] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,861] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.251,983] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,105] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.252,136] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.252,136] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.7 Build 99
[00:00:00.252,197] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,349] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,471] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,624] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,746] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.252,929] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.253,112] <inf> bt_hci_core: Identity: F4:EC:64:8F:85:C8 (random)
[00:00:00.253,143] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1
[00:00:00.253,173] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff
Bluetooth initialized
Starting Legacy Advertising (connectable and scannable)
[00:00:00.253,295] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.253,448] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.253,601] <wrn> net_buf: Timeout discarded. No blocking in syswq
[00:00:00.253,845] <wrn> net_buf: Timeout discarded. No blocking in syswq
Advertising successfully started
Checking LED device...done.
Configuring GPIO pin...done.
Start blinking LED...

Environment:

  • OS: Windows
  • Toolchain: Zephyr SDK
  • Commit SHA: 98e0e65
  • Version used: 3.7.99

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions