All of lore.kernel.org
 help / color / mirror / Atom feed
* hci0: Malformed MSFT vendor event: 0x02
@ 2023-02-08  9:21 Arda Demir
  2023-02-08  9:29 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Arda Demir @ 2023-02-08  9:21 UTC (permalink / raw)
  To: gregory.greenman; +Cc: linux-wireless

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hci0: Malformed MSFT vendor event: 0x02
  2023-02-08  9:21 hci0: Malformed MSFT vendor event: 0x02 Arda Demir
@ 2023-02-08  9:29 ` Johannes Berg
  2023-02-08  9:54   ` Arda Demir
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2023-02-08  9:29 UTC (permalink / raw)
  To: Arda Demir, gregory.greenman; +Cc: linux-wireless, linux-bluetooth

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hci0: Malformed MSFT vendor event: 0x02
  2023-02-08  9:29 ` Johannes Berg
@ 2023-02-08  9:54   ` Arda Demir
  2023-02-08 10:17     ` Paul Menzel
  2023-02-08 23:43     ` Luiz Augusto von Dentz
  0 siblings, 2 replies; 6+ messages in thread
From: Arda Demir @ 2023-02-08  9:54 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-bluetooth

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 <johannes@sipsolutions.net> wrote:
>
> 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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hci0: Malformed MSFT vendor event: 0x02
  2023-02-08  9:54   ` Arda Demir
@ 2023-02-08 10:17     ` Paul Menzel
  2023-02-08 23:43     ` Luiz Augusto von Dentz
  1 sibling, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2023-02-08 10:17 UTC (permalink / raw)
  To: Arda Demir
  Cc: linux-bluetooth, Johannes Berg, Marcel Holtmann, Luiz Augusto von Dentz

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 <johannes@sipsolutions.net> wrote:
>>
>> 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?)

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hci0: Malformed MSFT vendor event: 0x02
  2023-02-08  9:54   ` Arda Demir
  2023-02-08 10:17     ` Paul Menzel
@ 2023-02-08 23:43     ` Luiz Augusto von Dentz
  2023-02-11 11:48       ` Arda Demir
  1 sibling, 1 reply; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2023-02-08 23:43 UTC (permalink / raw)
  To: Arda Demir; +Cc: Johannes Berg, linux-bluetooth

Hi Arda,

On Wed, Feb 8, 2023 at 2:00 AM Arda Demir <ddmirarda@gmail.com> 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 <johannes@sipsolutions.net> wrote:
> >
> > 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
> >



-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hci0: Malformed MSFT vendor event: 0x02
  2023-02-08 23:43     ` Luiz Augusto von Dentz
@ 2023-02-11 11:48       ` Arda Demir
  0 siblings, 0 replies; 6+ messages in thread
From: Arda Demir @ 2023-02-11 11:48 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: pmenzel, linux-bluetooth

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 <johannes@sipsolutions.net> wrote:
>
> 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
>

On Wed, Feb 8, 2023 at 2:00 AM Arda Demir <ddmirarda@gmail.com> 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 <pmenzel@molgen.mpg.de> 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
<luiz.dentz@gmail.com> wrote:
>
> Hi Arda,
>
> On Wed, Feb 8, 2023 at 2:00 AM Arda Demir <ddmirarda@gmail.com> 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.

I've created a bug report about this:
https://bugzilla.kernel.org/show_bug.cgi?id=217023

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-11 11:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08  9:21 hci0: Malformed MSFT vendor event: 0x02 Arda Demir
2023-02-08  9:29 ` Johannes Berg
2023-02-08  9:54   ` Arda Demir
2023-02-08 10:17     ` Paul Menzel
2023-02-08 23:43     ` Luiz Augusto von Dentz
2023-02-11 11:48       ` Arda Demir

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.