Re: hci0: Malformed MSFT vendor event: 0x02

5 messages, 4 authors, 2023-02-11 · open the first message on its own page

Re: hci0: Malformed MSFT vendor event: 0x02

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2023-02-08 09:31:21

On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
You've reached the Wi-Fi team here though - adding the BT list.
I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
That's generic from net/bluetooth/hci_event.c, not related to the device
(apart from the fact that the device might be broken if it's sending
this?)

johannes

Re: hci0: Malformed MSFT vendor event: 0x02

From: Arda Demir <hidden>
Date: 2023-02-08 09:55:16

I don't think the device is broken since bluetooth + wi-fi is fully
functional and i also read on arch linux forum people get the same
message on tty with the same hardware. (AX200)

https://bbs.archlinux.org/viewtopic.php?id=276815

On Wed, Feb 8, 2023 at 12:29 PM Johannes Berg [off-list ref] wrote:
On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
quoted
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
You've reached the Wi-Fi team here though - adding the BT list.
quoted
I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
That's generic from net/bluetooth/hci_event.c, not related to the device
(apart from the fact that the device might be broken if it's sending
this?)

johannes

Re: hci0: Malformed MSFT vendor event: 0x02

From: Paul Menzel <hidden>
Date: 2023-02-08 10:19:10

Dear Arda,


Please use interleaved style when replying.

Am 08.02.23 um 10:54 schrieb Arda Demir:
I don't think the device is broken since bluetooth + wi-fi is fully
functional and i also read on arch linux forum people get the same
message on tty with the same hardware. (AX200)

https://bbs.archlinux.org/viewtopic.php?id=276815

On Wed, Feb 8, 2023 at 12:29 PM Johannes Berg [off-list ref] wrote:
quoted
On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
quoted
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
You've reached the Wi-Fi team here though - adding the BT list.
quoted
I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
That's generic from net/bluetooth/hci_event.c, not related to the device
(apart from the fact that the device might be broken if it's sending
this?)
The message seems to originate from `net/bluetooth/msft.c`:
static void *msft_skb_pull(struct hci_dev *hdev, struct sk_buff *skb,
                           u8 ev, size_t len)
{
        void *data;

        data = skb_pull_data(skb, len);
        if (!data)
                bt_dev_err(hdev, "Malformed MSFT vendor event: 0x%02x", ev);

        return data;
}
I recommend to create a bug report at the Linux kernel Bugzilla [1], where you attach the output of `dmesg`.

Additionally, I suggest to not load the Bluetooth modules like btusb during startup, and only later load it with `btmon` running.

Please reply with the bug report number/URL, if you created the bug report.


Kind regards,

Paul


[1]: https://bugzilla.kernel.org/

Re: hci0: Malformed MSFT vendor event: 0x02

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2023-02-08 23:44:00

Hi Arda,

On Wed, Feb 8, 2023 at 2:00 AM Arda Demir [off-list ref] wrote:
I don't think the device is broken since bluetooth + wi-fi is fully
functional and i also read on arch linux forum people get the same
message on tty with the same hardware. (AX200)

https://bbs.archlinux.org/viewtopic.php?id=276815
I suspect it is some vendor event other than MSFT that we are trying
to parse as MSFT, this normally can be ignored silently when not
understood, but I will check internally what we can do about it.
On Wed, Feb 8, 2023 at 12:29 PM Johannes Berg [off-list ref] wrote:
quoted
On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
quoted
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
You've reached the Wi-Fi team here though - adding the BT list.
quoted
I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
That's generic from net/bluetooth/hci_event.c, not related to the device
(apart from the fact that the device might be broken if it's sending
this?)

johannes


-- 
Luiz Augusto von Dentz

Re: hci0: Malformed MSFT vendor event: 0x02

From: Arda Demir <hidden>
Date: 2023-02-11 11:48:24

On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
On Wed, Feb 8, 2023 at 12:29 PM Johannes Berg [off-list ref] wrote:
On Wed, 2023-02-08 at 12:21 +0300, Arda Demir wrote:
quoted
Hello,

First of all, my bluetooth adapter is;
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
You've reached the Wi-Fi team here though - adding the BT list.
quoted
I see the following message everytime when i boot the pc on tty.

"Bluetooth: hci0: Malformed MSFT vendor event: 0x02"

But bluetooth works well. If it is not critical it shouldn't print on
tty, right?
That's generic from net/bluetooth/hci_event.c, not related to the device
(apart from the fact that the device might be broken if it's sending
this?)

johannes
On Wed, Feb 8, 2023 at 2:00 AM Arda Demir [off-list ref] wrote:
I don't think the device is broken since bluetooth + wi-fi is fully
functional and i also read on arch linux forum people get the same
message on tty with the same hardware. (AX200)

https://bbs.archlinux.org/viewtopic.php?id=276815
On Wed, Feb 8, 2023 at 1:17 PM Paul Menzel [off-list ref] wrote:
The message seems to originate from `net/bluetooth/msft.c`:

...
static void *msft_skb_pull(struct hci_dev *hdev, struct sk_buff *skb,
                            u8 ev, size_t len)
{
         void *data;

         data = skb_pull_data(skb, len);
         if (!data)
                 bt_dev_err(hdev, "Malformed MSFT vendor event: 0x%02x",
ev);

         return data;
}
I recommend to create a bug report at the Linux kernel Bugzilla [1],
where you attach the output of `dmesg`.

Additionally, I suggest to not load the Bluetooth modules like btusb
during startup, and only later load it with `btmon` running.

Please reply with the bug report number/URL, if you created the bug report.


Kind regards,

Paul


[1]: https://bugzilla.kernel.org/
On Thu, Feb 9, 2023 at 2:43 AM Luiz Augusto von Dentz
[off-list ref] wrote:
Hi Arda,

On Wed, Feb 8, 2023 at 2:00 AM Arda Demir [off-list ref] wrote:
quoted
I don't think the device is broken since bluetooth + wi-fi is fully
functional and i also read on arch linux forum people get the same
message on tty with the same hardware. (AX200)

https://bbs.archlinux.org/viewtopic.php?id=276815
I suspect it is some vendor event other than MSFT that we are trying
to parse as MSFT, this normally can be ignored silently when not
understood, but I will check internally what we can do about it.
I've created a bug report about this:
https://bugzilla.kernel.org/show_bug.cgi?id=217023
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help