Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3100083pxm; Mon, 28 Feb 2022 12:01:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcjadT0+BpzzsG1YRShhSUiHdxaxcQJjdiy92wCz95re46HSM2TqNpvzCTsw0/jsk5Q+gE X-Received: by 2002:a17:90b:216:b0:1bc:5d68:e7aa with SMTP id fy22-20020a17090b021600b001bc5d68e7aamr18421059pjb.57.1646078479797; Mon, 28 Feb 2022 12:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646078479; cv=none; d=google.com; s=arc-20160816; b=sb3SbaV1a6xnk1IGibI/qnyJHgmnwCaf3rXYso4fzZTavM1twuQl3irQxdu9riePj/ CwtN7xacL2RRksjdqotGikCu2dvrsMmjWBOBm66vkoJCCMBRkJKwdonU3G3g7nKkdmHr rmgHCl+6wogqrt0X3Zfm6LgRXNbVPuZ1t0IiP/QM3+navy7Nsu7zSMniHRTZtInMnvqI BQffWBNbv8Z8Y89dx5IWhpgQ/AhnAjoTcVCzfjQp2HYNW+66QUHg0r7hRFhqtfZBguVq APvlY8XQQddTkqbZhZMIDLb5s+o+PKhfBEy0ajmmbYAXY1vUZLYuU8hPEJe+7NioPoGt uwbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=l2q/0pyj+sfm6Gq2v5gVMTqm56iQeKWJZRiQr3qaMtA=; b=dOV5cFRyIUbBpbzEBn2YwasFA4lVJ4H3znXdZPkYGZj/82RrTQRxTNf3kntY/0zCBp FfPknhBFxmsGKQN/yNoY1TB2biNxsPzkNWe1HQnQ2wx3sXdQqlBlvo3f2daH/CSYiNhV J7VLpIp3UGtCzLD5FlV9WtMR0PhrgW+rvjqbtGpCo734cyp9yf1qGHHP7eB7eQfhUM/G CaRY0+ptMN6KCctCXntO1Lzj4gyxSKWNgQItjsLUTjADyuCeNNb0601JdR8SN79+s7sj /bPlB4ewO/5S83HXQB+2u9c8Xsd8a6sTYhyT/2qVHja2HUWXw8UhJpW+yYCbagZ6Jtl9 yxmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AD+QdBsN; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i8-20020a63b308000000b00362c6ae8763si11020569pgf.30.2022.02.28.12.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 12:01:19 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AD+QdBsN; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E299FE0E0; Mon, 28 Feb 2022 11:30:22 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232060AbiB1Sx7 (ORCPT + 99 others); Mon, 28 Feb 2022 13:53:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233209AbiB1Sx5 (ORCPT ); Mon, 28 Feb 2022 13:53:57 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16E67140A1 for ; Mon, 28 Feb 2022 10:53:15 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id d21so22442451yba.11 for ; Mon, 28 Feb 2022 10:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=l2q/0pyj+sfm6Gq2v5gVMTqm56iQeKWJZRiQr3qaMtA=; b=AD+QdBsNze5dak//MTPvQpvghofbr3ImMNDPFoq2u+/rxvFtyOiOT3K3yowW5yBkGZ OkUrTAMbnfYeIFjQRXO/62ZK4yHTrD5pDzTPryXSmuN43g5hCoS6vkDbWJNCGOfJS6pS zf2wkLErqlbg3yYtWGwdsK720E992YXGaTM3nAYLCwjkysGkv+aW84MsvgcyAGDNdNto yC/BnW2CkSEQv0+LRtcGfoQ5Bxb/qbKbTNP8/v4YXM74Md7qTvmroTKJ60TtsXsLtbSD dPIUs/B3rMzUp3QaB6lzNnh6gc+bSOGugBYB6dSIPyLLu3HhPeZRVPLOwvhq3AAiI2eb autA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=l2q/0pyj+sfm6Gq2v5gVMTqm56iQeKWJZRiQr3qaMtA=; b=lMx4VebsG3DrqYPcxzhnC1uNQO9N7tXdlarNZ8g+/Ea3LA2RnE6NQJ0bHgO55H7K8L +YKhbi2Z1LTdEcKo7g1xr1ZX6TBvQ93WFYO1RkvTUlVRrj68S5z+xKnbIUkcDjyisNl4 sIZsKG5repXaYmekexcp3kIdZiYGSgz7z14lyNc48LeGtWy/JJJ6qnybeZ96mBC+bh/P dZAzSZtzA1zBoLWNlK+7YQYWz41yrafHUFm8hV8YnbJRMWa9+c5pRNof6j6W6gmAVtnJ BCoc8k9eS76+YYAPPInWBDKUiUaWCkr6kr7F2Wxvk6I6vfmOTH/1oZylnoxSmPQX8d2V GvYg== X-Gm-Message-State: AOAM530eQUsdklBCzKxU9E3WiBFYVo9RO3azH9kieQXjZl06W4maV4ih XqPi695U0PfQX3ZlImkE6ZIQUwWq+t4r6vjq28M= X-Received: by 2002:a25:d803:0:b0:614:b201:a798 with SMTP id p3-20020a25d803000000b00614b201a798mr20280222ybg.612.1646074394912; Mon, 28 Feb 2022 10:53:14 -0800 (PST) MIME-Version: 1.0 References: <31367223b2e310521493b257244c188f3c22a619.camel@redhat.com> <0838aa454b7b127fab1b2a945180304088251b13.camel@redhat.com> In-Reply-To: From: Luiz Augusto von Dentz Date: Mon, 28 Feb 2022 10:53:04 -0800 Message-ID: Subject: Re: Since commit e8907f76544ffe225ab95d70f7313267b1d0c76d bluetooth scanning stopped working on my system To: Maxim Levitsky Cc: Paul Menzel , Luiz Augusto von Dentz , Marcel Holtmann , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Maxim, On Mon, Feb 28, 2022 at 4:08 AM Maxim Levitsky wrote: > > On Fri, 2022-02-25 at 14:27 -0800, Luiz Augusto von Dentz wrote: > > Hi Maxim, > > > > On Thu, Feb 24, 2022 at 8:29 AM Maxim Levitsky wr= ote: > > > On Thu, 2022-02-24 at 16:43 +0100, Paul Menzel wrote: > > > > Dear Maxim, > > > > > > > > > > > > Am 24.02.22 um 14:01 schrieb Maxim Levitsky: > > > > > On Tue, 2022-02-22 at 10:35 -0800, Luiz Augusto von Dentz wrote: > > > > > > On Mon, Feb 21, 2022 at 7:14 PM Maxim Levitsky wrote: > > > > > > > Today I updated to a new kernel and I am bisecting few > > > > > > > regressions: > > > > > > > > [=E2=80=A6] > > > > > > > > > I do notice that even on 5.16 kernel, I am not able to use the HS= F > > > > > or whatever low quality bi-directional bluetooh protocol is calle= d > > > > > for my headset. Used to work, I don't know what broke it, likely = not > > > > > related to this. > > > > > > > > > > I also updated bluez to 5.6 by installing fedora 33 package, and > > > > > initially it seems to work, but after reboot, the issue shows up > > > > > again. Looks like sometimes the scan does work. So far I wasn't a= ble > > > > > to make it work even once since then. Reloading btusb doesn't hel= p. > > > > > Can't install newer package due to deps on glib sadly. I might be > > > > > able to compile it from source, but that will take some time to > > > > > figure out how the components of the bluez stack are connected > > > > > together. > > > > > > > > > > For the reference I have 'Intel Corp. AX200 Bluetooth' and I have > > > > > the same device on my AMD laptop and both have USB ID 8087:0029 M= y > > > > > AMD laptop has Fedora 34 though. > > > > > > > > Sorry, I lost track, if it=E2=80=99s still about one regression, yo= u > > > > successfully bisected or not. > > > yes, I sucessfully bisected the regression. 1 commit before mentioned= commit > > > the bluetooth works for me, and not after it, with same .config and e= verything else. > > > > > > > > > > Anyway, passing through the USB Bluetooth device to QEMU helped me = [1], > > > > and might help you to overcome the dependency problems. (My steps > > > > actually worked, but turned out the Linux kernel commit I tested wi= th > > > > had another regression not making the Bluetooth controller initiali= ze.) > > > First thing I tried, but alas it worked for me in fedora 34 VM I trie= d to test with > > > (with the same 5.17-rc5 kernel, albeet with different .config, more t= ailored for a VM). > > > > Give it a try with: > > > > https://patchwork.kernel.org/project/bluetooth/patch/20220224232950.562= 04-1-brian.gix@intel.com/ > > It does fix the issue! I can now see scan results in the GNOME bluetooth = window. > > However I get oops on attempt to reboot my system: > > [ 82.337829] CPU: 3 PID: 1841 Comm: bluetoothd Tainted: P O = 5.17.0-rc5.unstable #4 206ccbbb843ff077f6623bff67370ced7692b32a > [ 82.338507] Hardware name: Gigabyte Technology Co., Ltd. TRX40 DESIGNA= RE/TRX40 DESIGNARE, BIOS F5a 10/20/2021 > [ 82.339052] RIP: 0010:hci_sock_get_channel+0x6/0x40 [bluetooth] > [ 82.339467] Code: 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 0= 0 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 55 <= 0f> b7 87 52 03 00 00 48 89 e5 5d c3 66 66 2e 0f 1f > 84 00 00 00 00 > [ 82.340466] RSP: 0018:ffffc90003ef3bd8 EFLAGS: 00010212 > [ 82.340779] RAX: 0000000000000000 RBX: ffff8881021e8bf8 RCX: 000000000= 0000001 > [ 82.341162] RDX: ffff8881021e8000 RSI: 0000000000000005 RDI: 707401150= 00e0e7c > [ 82.341572] RBP: ffffc90003ef3c08 R08: 0000000000000005 R09: 000000000= 0000001 > [ 82.341996] R10: ffffffffa0f1d598 R11: 0000000000000001 R12: ffff88811= 2633c00 > [ 82.342401] R13: 0000000000000003 R14: 0000000000000005 R15: ffff88810= 21e8010 > [ 82.342827] FS: 00007f11d1aefc00(0000) GS:ffff8897ee0c0000(0000) knlG= S:0000000000000000 > [ 82.343276] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 82.343636] CR2: 0000559199c81430 CR3: 0000000135cf3000 CR4: 000000000= 0350ee0 > [ 82.344061] Call Trace: > [ 82.344230] > [ 82.344376] ? mgmt_pending_find+0x33/0x80 [bluetooth 6d0716e174185388= 977fcac3dab934dbbf4db47d] > [ 82.344887] set_powered+0x5f/0x1c0 [bluetooth 6d0716e174185388977fcac= 3dab934dbbf4db47d] > [ 82.345358] hci_sock_sendmsg+0x8da/0xa00 [bluetooth 6d0716e1741853889= 77fcac3dab934dbbf4db47d] > [ 82.345853] sock_sendmsg+0x3a/0x80 > [ 82.346089] sock_write_iter+0x93/0x100 > [ 82.346314] do_iter_readv_writev+0x14a/0x1c0 > [ 82.346573] do_iter_write+0x88/0x1c0 > [ 82.346814] vfs_writev+0xae/0x180 > [ 82.347017] ? __seccomp_filter+0x2ec/0x3c0 > [ 82.347263] ? wake_up_q+0xc0/0xc0 > [ 82.347499] do_writev+0xe5/0x140 > [ 82.347699] __x64_sys_writev+0x1c/0x40 > [ 82.347923] do_syscall_64+0x35/0x80 > [ 82.348166] entry_SYSCALL_64_after_hwframe+0x44/0xae > [ 82.348457] RIP: 0033:0x7f11d1ee1477 > [ 82.348685] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1= f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 14 00 00 00 0f 05 <= 48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c > 48 89 74 24 10 > [ 82.349682] RSP: 002b:00007ffe34263108 EFLAGS: 00000246 ORIG_RAX: 0000= 000000000014 > [ 82.350111] RAX: ffffffffffffffda RBX: 00007ffe34263130 RCX: 00007f11d= 1ee1477 > [ 82.350499] RDX: 0000000000000001 RSI: 00007ffe34263130 RDI: 000000000= 0000008 > [ 82.350909] RBP: 0000000000000008 R08: 0000562c1d1f5610 R09: 000000000= 0000000 > [ 82.351313] R10: 0000000000000020 R11: 0000000000000246 R12: 0000562c1= d1db7b0 > [ 82.351697] R13: 0000000000000000 R14: 0000562c1d1f5990 R15: 0000562c1= d1f6ac0 > [ 82.352113] > [ 82.352258] Modules linked in: xt_state xt_conntrack ip6table_filter i= p6_tables tun pmbus pmbus_core ee1004 jc42 wmi_bmof nvidia_uvm(PO) iwlmvm u= vcvideo snd_hda_codec_hdmi mac80211 snd_hda_intel > kvm_amd videobuf2_vmalloc libarc4 nvidia(PO) videobuf2_memops snd_intel_d= spcfg videobuf2_v4l2 kvm snd_usb_audio btusb videobuf2_common snd_hda_codec= btrtl snd_usbmidi_lib iwlwifi btbcm snd_hwdep > snd_hda_core btintel irqbypass videodev snd_rawmidi xpad joydev input_led= s mc ff_memless bluetooth pcspkr snd_pcm i2c_nvidia_gpu cfg80211 i2c_piix4 = zenpower bfq rtc_cmos tpm_crb wmi tpm_tis > tpm_tis_core acpi_cpufreq sch_fq_codel binfmt_misc fuse ext4 mbcache jbd2= dm_crypt sd_mod uas usb_storage hid_generic usbhid amdgpu drm_ttm_helper t= tm gpu_sched drm_kms_helper cfbfillrect syscopyarea > cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea cec rc_core ahci = drm libahci drm_panel_orientation_quirks libata igb xhci_pci i2c_algo_bit c= cp nvme xhci_hcd nvme_core t10_pi dm_mirror > dm_region_hash dm_log > [ 82.352304] thunderbolt vendor_reset(O) nbd usbmon it87 hwmon_vid i2c= _dev i2c_core autofs4 > [ 82.357257] ---[ end trace 0000000000000000 ]--- > [ 82.367400] RIP: 0010:hci_sock_get_channel+0x6/0x40 [bluetooth] > [ 82.367752] Code: 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00 0= 0 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 55 <= 0f> b7 87 52 03 00 00 48 89 e5 5d c3 66 66 2e 0f 1f > 84 00 00 00 00 > [ 82.368753] RSP: 0018:ffffc90003ef3bd8 EFLAGS: 00010212 > [ 82.369063] RAX: 0000000000000000 RBX: ffff8881021e8bf8 RCX: 000000000= 0000001 > [ 82.369451] RDX: ffff8881021e8000 RSI: 0000000000000005 RDI: 707401150= 00e0e7c > [ 82.369853] RBP: ffffc90003ef3c08 R08: 0000000000000005 R09: 000000000= 0000001 > [ 82.370236] R10: ffffffffa0f1d598 R11: 0000000000000001 R12: ffff88811= 2633c00 > [ 82.370661] R13: 0000000000000003 R14: 0000000000000005 R15: ffff88810= 21e8010 > [ 82.371064] FS: 00007f11d1aefc00(0000) GS:ffff8897ee0c0000(0000) knlG= S:0000000000000000 > [ 82.371514] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 82.371849] CR2: 0000559199c81430 CR3: 0000000135cf3000 CR4: 000000000= 0350ee0 > [ 82.377469] nfsd: last server has exited, flushing export cache > [ 82.944148] traps: gsettings-helpe[6327] trap int3 ip:7ff04777e937 sp:= 7ffc87f7cd50 error:0 in libglib-2.0.so.0.6400.6[7ff047741000+86000] > ...killed. > [ 91.604592] Bluetooth: hci0: failed to disable LE scan: status 0x1f > > > > That was when I was opening GNOME bluetooth window. > Later I rebooted without touching bluetooth and got this: > > > [ +10.357883] general protection fault, probably for non-canonical addres= s 0xdead000000000108: 0000 [#1] SMP > [ +0.000622] CPU: 45 PID: 1543 Comm: kworker/u129:1 Tainted: P = O 5.17.0-rc5.unstable #4 206ccbbb843ff077f6623bff67370ced7692b32a > [ +0.000784] Hardware name: Gigabyte Technology Co., Ltd. TRX40 DESIGNAR= E/TRX40 DESIGNARE, BIOS F5a 10/20/2021 > [ +0.000754] Workqueue: hci0 hci_cmd_sync_work [bluetooth] > [ +0.000446] RIP: 0010:mgmt_pending_remove+0xd/0x40 [bluetooth] > [ +0.000419] Code: 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 66= 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 48 8b 47 08 48 8b 17 55 <4= 8> 89 42 08 48 89 10 48 89 e5 48 b8 00 01 00 00 00 > 00 ad de 48 89 > [ +0.001156] RSP: 0018:ffffc90003bb7df8 EFLAGS: 00010282 > [ +0.000370] RAX: dead000000000122 RBX: ffff888106c51c00 RCX: 0000000000= 003e6a > [ +0.000465] RDX: dead000000000100 RSI: ffff888107107b00 RDI: ffff88813a= 9192a0 > [ +0.000479] RBP: ffffc90003bb7e40 R08: 16d7f151a20cad7d R09: 0000000000= 000006 > [ +0.000488] R10: 0000000000000300 R11: ffffffff82a06460 R12: ffff88813a= 9192a0 > [ +0.000450] R13: ffff888106c51c00 R14: ffff88813e7a8000 R15: 0000000000= 000005 > [ +0.000488] FS: 0000000000000000(0000) GS:ffff8897eeb40000(0000) knlGS= :0000000000000000 > [ +0.000526] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ +0.000388] CR2: 00007ff88d530000 CR3: 00000001795b4000 CR4: 0000000000= 350ee0 > [ +0.000461] Call Trace: > [ +0.000188] > [ +0.000160] ? mgmt_set_powered_complete+0x85/0x180 [bluetooth 6d0716e1= 74185388977fcac3dab934dbbf4db47d] > [ +0.000633] ? set_discoverable_sync+0x80/0x80 [bluetooth 6d0716e174185= 388977fcac3dab934dbbf4db47d] > [ +0.000619] hci_cmd_sync_work+0xae/0x100 [bluetooth 6d0716e17418538897= 7fcac3dab934dbbf4db47d] > [ +0.000581] ? set_powered+0x1c0/0x1c0 [bluetooth 6d0716e174185388977fc= ac3dab934dbbf4db47d] > [ +0.000547] process_one_work+0x1e4/0x380 > [ +0.003080] worker_thread+0x50/0x400 > [ +0.006538] ? rescuer_thread+0x380/0x380 > [ +0.007163] kthread+0xcd/0x100 > [ +0.005639] ? kthread_complete_and_exit+0x40/0x40 > [ +0.008561] ret_from_fork+0x1f/0x30 > [ +0.006391] > [ +0.000001] Modules linked in: xt_state xt_conntrack ip6table_filter ip= 6_tables tun pmbus pmbus_core ee1004 jc42 wmi_bmof snd_hda_codec_hdmi iwlmv= m uvcvideo nvidia_uvm(PO) snd_hda_intel > videobuf2_vmalloc mac80211 snd_usb_audio videobuf2_memops kvm_amd snd_int= el_dspcfg libarc4 videobuf2_v4l2 snd_hd> > [ +0.003984] thunderbolt vendor_reset(O) nbd usbmon it87 hwmon_vid i2c_= dev i2c_core autofs4 > [ +0.169523] ---[ end trace 0000000000000000 ]--- > [ +0.018131] RIP: 0010:mgmt_pending_remove+0xd/0x40 [bluetooth] > [ +0.010460] Code: 00 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 66= 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 48 8b 47 08 48 8b 17 55 <4= 8> 89 42 08 48 89 10 48 89 e5 48 b8 00 01 00 00 00 > 00 ad de 48 89 > [ +0.033495] RSP: 0018:ffffc90003bb7df8 EFLAGS: 00010282 > [ +0.000003] RAX: dead000000000122 RBX: ffff888106c51c00 RCX: 0000000000= 003e6a > [ +0.000001] RDX: dead000000000100 RSI: ffff888107107b00 RDI: ffff88813a= 9192a0 > [ +0.000001] RBP: ffffc90003bb7e40 R08: 16d7f151a20cad7d R09: 0000000000= 000006 > [ +0.000001] R10: 0000000000000300 R11: ffffffff82a06460 R12: ffff88813a= 9192a0 > [ +0.000001] R13: ffff888106c51c00 R14: ffff88813e7a8000 R15: 0000000000= 000005 > [ +0.073048] FS: 0000000000000000(0000) GS:ffff8897eeb40000(0000) knlGS= :0000000000000000 > [ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ +0.000001] CR2: 00007ff88d530000 CR3: 0000000002a0b000 CR4: 0000000000= 350ee0 Try the v2: https://patchwork.kernel.org/project/bluetooth/patch/20220228173918.524733-= 1-brian.gix@intel.com/ If that fixes it please respond with Tested-by (perhaps we also need some tag for the regression tracking as well?) > > > > > Btw, are there any other users of the MGMT socket? Or it is just blueto= othd? > > If you mean /dev/rfkill then it has a few users > > bluetooth 1839 root 11u CHR = 10,242 0t0 4 /dev/rfkill > wpa_suppl 2012 root 10r CHR = 10,242 0t0 4 /dev/rfkill > wpa_suppl 2012 root 15r CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 3631 gdm 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 3631 3639 gmain gdm 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 3631 3642 gdbus gdm 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 mlevitsk 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 mlevitsk 9w CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 5351 gmain mlevitsk 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 5351 gmain mlevitsk 9w CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 5354 gdbus mlevitsk 8u CHR = 10,242 0t0 4 /dev/rfkill > gsd-rfkil 5347 5354 gdbus mlevitsk 9w CHR = 10,242 0t0 4 /dev/rfkill --=20 Luiz Augusto von Dentz