Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp683705lqz; Sat, 30 Mar 2024 14:23:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2nMLg0NG8nr/NVXyPrrp0/32a2f/HPTZKJZIn+jtS3w3bcxgbL3j6HzUvBYNZqWrF/V2/k07eE6B6rDzgxtA6r+1N5b0cZESiJEg3Lg== X-Google-Smtp-Source: AGHT+IE8fVGC5BwEQBLZ9PUKHbW4GUzKH/Ox9DTjuWhAVIOff7JJ5mD6kyfViYw72NbIeJuOt3A4 X-Received: by 2002:a05:6402:234d:b0:56c:274a:31df with SMTP id r13-20020a056402234d00b0056c274a31dfmr4068830eda.5.1711833838351; Sat, 30 Mar 2024 14:23:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711833838; cv=pass; d=google.com; s=arc-20160816; b=Gdi30/Df4zZr026EpAKscj2NUFsuf5lK9hgldMEtVexPmlFbNXbOpYXwLn/JkPCNtM XFaR7SSPtsrnDmoV4rhFpA0vUiQU+gELPTIaf3agswMhb11LN+A4+kTUe8i09pD2eZNc 4/Fmgis/TrP5MJTNONCfldzrOuKJvuD1ppvdFci9tyZ30+pPpr1wrLaDgqiqvlDvrtiF 0Ux3uWwdwDSohxtLr1/10OixptwZ+vAcWN4Wd+S2fvgvuyO0lqkyxDb2hXAKUKc7NsCX D4JhnFVP3AmQXAXLDi+nCT2xPScv91MJ6Gb4jrrb5yC7C3U96hp195Mz6z43GFvZsDc/ lR+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=NsTBrugEHDoEfulCNu3sX1eAMIFqf5ekTaoZTxrm1xc=; fh=LP3semD9Rkj+0n/2nXhM+9CI8UFvlUB3YVisa4enME0=; b=qlLfM9eI6V2Gv0z8IV/L3R4E/MWh40u/5izMnv0vS6k5Qjo0A6lusvV23c57fzrqrK Ur2UpTTvlIKaSyGsHEcz0FiyUpLSlQgKaDg8n2vYplk938UBtiNI+g7p0FusIsMjdf/l CJ4bU99airMyV/a7hpclY5/mLPoCBt6iSJsve8bfICxHJs71Iu4jUV6b5/z/3hazJgya t+qYwEU6/27f9Kfld8kHqlTs0lw4BVqSMd4RhdXOEEEv8z82kI5e5ktfDZheBb99R8pn jaNeKKirMtoBPpjz5iovJVaZMeji9KVNwR4WsXyg2scR2bm+fHgMXcMh2tk4RfstozsV skSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@straussaudio.ch header.s=dkim header.b=Z1vD5MMy; arc=pass (i=1 dkim=pass dkdomain=straussaudio.ch); spf=pass (google.com: domain of linux-kernel+bounces-125892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125892-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q10-20020a50aa8a000000b0056c1a4f0179si3012116edc.164.2024.03.30.14.23.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 14:23:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@straussaudio.ch header.s=dkim header.b=Z1vD5MMy; arc=pass (i=1 dkim=pass dkdomain=straussaudio.ch); spf=pass (google.com: domain of linux-kernel+bounces-125892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125892-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DCD871F21BAF for ; Sat, 30 Mar 2024 21:23:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 173EF4AEDA; Sat, 30 Mar 2024 21:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=straussaudio.ch header.i=@straussaudio.ch header.b="Z1vD5MMy" Received: from strauss.vserver.nimag.net (strauss.vserver.nimag.net [62.220.136.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DE7A17D2; Sat, 30 Mar 2024 21:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.220.136.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833830; cv=none; b=GiU3ktMB6PWZcJPaCIwdiiWJUjmLjtqnKNMBQp4pKQFPgLOu9j4SbSriPoY5LYBUNnXgC8WymIBGOEc+r9Z7fmZ7Xb7Yr2a+k+nM7NgazihJpGhBUAr3CmEnujjeunkA7NLn/MotnYYX3+2wQb+4+ahmaLDOkeImjO1shW7mVYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711833830; c=relaxed/simple; bh=TKX6BDlvD87m60rs/fg2nUfkJGCHXIbGMOds6yUU79I=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=nm0KXaPcV0PiUWFn5jTQCwZklC1s0nLXzoYIh8axrwv8B9yxxQv8+GlyO/UtfzPe9CyVh5TsSkpguFgLs4ySxQoMkuQShZs0fb2sRIcXjMpl/h19Tz8XUZP7/KZnPOejozJOaQrFPnAJ6h0o5I4LmW8xn8XUXDFEyLIa4iSAAvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=straussaudio.ch; spf=none smtp.mailfrom=straussaudio.ch; dkim=pass (1024-bit key) header.d=straussaudio.ch header.i=@straussaudio.ch header.b=Z1vD5MMy; arc=none smtp.client-ip=62.220.136.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=straussaudio.ch Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=straussaudio.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=straussaudio.ch; s=dkim; t=1711833817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NsTBrugEHDoEfulCNu3sX1eAMIFqf5ekTaoZTxrm1xc=; b=Z1vD5MMyrRK+WOTNx4kMAP7bRvJY62dsmdIxgpTy3aY55ftVWngUgTlfH1IrvX/XvY+EHT JZipSam1TqgBf7ek9Cc7rihNyQAxgFdCJIAeRbqgruBqZZbYb8oyHc/7/TA4s6PildZVHt YbZCTs46Afb7KjvU2uvKD+oPuJGTtrc= Received: from [192.168.1.184] (31-10-173-168.cgn.dynamic.upc.ch [31.10.173.168]) by strauss.vserver.nimag.net (OpenSMTPD) with ESMTPSA id 6ce84f3c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 30 Mar 2024 21:23:37 +0000 (UTC) Message-ID: <552f5b91-d9ed-49cf-aaee-2cf5fe9fbbe8@straussaudio.ch> Date: Sat, 30 Mar 2024 22:23:36 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bluetooth broken for some people with 6.8.2 [Was: [PATCH 6.8 308/715] Bluetooth: hci_core: Cancel request on command timeout] From: Philippe Strauss To: Greg KH , Linux regressions mailing list Cc: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Luiz Augusto von Dentz , Jakub Kicinski References: <20240324223455.1342824-1-sashal@kernel.org> <20240324223455.1342824-309-sashal@kernel.org> <2024033018-speller-supremacy-5436@gregkh> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Oh it's in the debugging code, my problem, I've reconfigured my kernel without debugging in iwlwifi and btusb/btintel and can now use 6.8.2 as my laptop kernel. On 3/30/24 6:22 PM, Philippe Strauss wrote: > I'm a good linux sysadmin with basics C abilities and no prior kernel > dev experience having subscribed to the lkml yesterday to report two > oopses which may be related: > > -- > > 6.8.2 > > Mar 30 17:27:26 PulseG2 NetworkManager[963]: [1711816046.7303] > device (wlp3s0): state change: unmanaged -> unavailable (reason > 'managed', sys-iface-state: 'external') > Mar 30 17:27:26 PulseG2 kernel: Bluetooth: hci0: command 0xfc05 tx > timeout > Mar 30 17:27:26 PulseG2 kernel: Bluetooth: hci0: Reading Intel version > command failed (-110) > Mar 30 17:27:27 PulseG2 kernel: iwlwifi 0000:03:00.0: Registered PHC > clock: iwlwifi-PTP, with index: 0 > Mar 30 17:27:27 PulseG2 kernel: BUG: kernel NULL pointer dereference, > address: 0000000000000027 > Mar 30 17:27:27 PulseG2 kernel: #PF: supervisor read access in kernel > mode > Mar 30 17:27:27 PulseG2 kernel: #PF: error_code(0x0000) - not-present > page > Mar 30 17:27:27 PulseG2 kernel: PGD 0 P4D 0 > Mar 30 17:27:27 PulseG2 kernel: Oops: 0000 [#1] PREEMPT SMP PTI > Mar 30 17:27:27 PulseG2 kernel: CPU: 15 PID: 963 Comm: NetworkManager > Not tainted 6.8.2 #1 > Mar 30 17:27:27 PulseG2 kernel: Hardware name: TUXEDO TUXEDO Pulse 15 > Gen2/PF5LUXG, BIOS N.1.06A12 03/15/2023 > Mar 30 17:27:27 PulseG2 kernel: RIP: > 0010:iwl_mvm_vif_dbgfs_add_link+0x88/0xd0 [iwlmvm] > Mar 30 17:27:27 PulseG2 kernel: Code: f3 48 ab 4d 85 f6 74 35 48 89 f3 > 4c 89 f1 48 c7 c2 26 34 31 c2 4c 89 ef be 64 00 00 00 e8 70 83 1d ef > 49 8b b4 24 c8 1c 00 00 <49> 8b 7e 28 4c 89 ea e8 fc 61 8c ee 48 89 83 > > Mar 30 17:27:27 PulseG2 kernel: RSP: 0018:ffffad53c7557510 EFLAGS: > 00010246 > Mar 30 17:27:27 PulseG2 kernel: RAX: 0000000000000018 RBX: > ffff930126395b98 RCX: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: RDX: 0000000000000000 RSI: > ffffffffffffffff RDI: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: RBP: ffffad53c75575a0 R08: > 0000000000000000 R09: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: R10: 0000000000000000 R11: > 0000000000000000 R12: ffff92feb9291fc8 > Mar 30 17:27:27 PulseG2 kernel: R13: ffffad53c7557514 R14: > ffffffffffffffff R15: ffff930126395b98 > Mar 30 17:27:27 PulseG2 kernel: FS:  00007d4436d44500(0000) > GS:ffff9301ee980000(0000) knlGS:0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: > 0000000080050033 > Mar 30 17:27:27 PulseG2 kernel: CR2: 0000000000000027 CR3: > 0000000105df2000 CR4: 0000000000350ef0 > Mar 30 17:27:27 PulseG2 kernel: Call Trace: > Mar 30 17:27:27 PulseG2 kernel:  > Mar 30 17:27:27 PulseG2 kernel:  ? show_regs+0x71/0x90 > Mar 30 17:27:27 PulseG2 kernel:  ? __die+0x28/0x80 > Mar 30 17:27:27 PulseG2 kernel:  ? page_fault_oops+0x176/0x500 > Mar 30 17:27:27 PulseG2 kernel:  ? dentry_name+0x180/0x370 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? iwl_trans_txq_send_hcmd+0x389/0x460 > [iwlwifi] > Mar 30 17:27:27 PulseG2 kernel:  ? do_user_addr_fault+0x2f2/0x6c0 > Mar 30 17:27:27 PulseG2 kernel:  ? exc_page_fault+0x87/0x1b0 > Mar 30 17:27:27 PulseG2 kernel:  ? asm_exc_page_fault+0x2b/0x30 > Mar 30 17:27:27 PulseG2 kernel:  ? > iwl_mvm_vif_dbgfs_add_link+0x88/0xd0 [iwlmvm] > Mar 30 17:27:27 PulseG2 kernel: > iwl_mvm_mld_mac_add_interface+0x2f1/0x3b0 [iwlmvm] > Mar 30 17:27:27 PulseG2 kernel:  drv_add_interface+0x58/0x280 [mac80211] > Mar 30 17:27:27 PulseG2 kernel:  ieee80211_do_open+0x515/0x7d0 [mac80211] > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ieee80211_open+0x6d/0xa0 [mac80211] > Mar 30 17:27:27 PulseG2 kernel:  __dev_open+0xfa/0x1b0 > Mar 30 17:27:27 PulseG2 kernel:  __dev_change_flags+0x1ec/0x270 > Mar 30 17:27:27 PulseG2 kernel:  dev_change_flags+0x2b/0x80 > Mar 30 17:27:27 PulseG2 kernel:  do_setlink+0x3a8/0x12c0 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? __nla_validate_parse+0x5b/0xe40 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? get_partial_node.part.0+0x19d/0x2e0 > Mar 30 17:27:27 PulseG2 kernel:  __rtnl_newlink+0x717/0xb60 > Mar 30 17:27:27 PulseG2 kernel:  ? rtnl_newlink+0x62/0xb0 > Mar 30 17:27:27 PulseG2 kernel:  rtnl_newlink+0x7b/0xb0 > Mar 30 17:27:27 PulseG2 kernel:  rtnetlink_rcv_msg+0x174/0x430 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? kmem_cache_alloc_lru+0x372/0x420 > Mar 30 17:27:27 PulseG2 kernel:  ? __alloc_skb+0x178/0x1c0 > Mar 30 17:27:27 PulseG2 kernel:  ? __alloc_skb+0x178/0x1c0 > Mar 30 17:27:27 PulseG2 kernel:  ? __pfx_rtnetlink_rcv_msg+0x10/0x10 > Mar 30 17:27:27 PulseG2 kernel:  netlink_rcv_skb+0x61/0x110 > Mar 30 17:27:27 PulseG2 kernel:  rtnetlink_rcv+0x19/0x30 > Mar 30 17:27:27 PulseG2 kernel:  netlink_unicast+0x248/0x380 > Mar 30 17:27:27 PulseG2 kernel:  netlink_sendmsg+0x218/0x470 > Mar 30 17:27:27 PulseG2 kernel:  __sock_sendmsg+0xae/0xb0 > Mar 30 17:27:27 PulseG2 kernel:  ____sys_sendmsg+0x25f/0x300 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? copy_msghdr_from_user+0x80/0xd0 > Mar 30 17:27:27 PulseG2 kernel:  ___sys_sendmsg+0x96/0xe0 > Mar 30 17:27:27 PulseG2 kernel:  __sys_sendmsg+0x81/0xe0 > Mar 30 17:27:27 PulseG2 kernel:  __x64_sys_sendmsg+0x21/0x30 > Mar 30 17:27:27 PulseG2 kernel:  do_syscall_64+0x7b/0x140 > Mar 30 17:27:27 PulseG2 kernel:  ? do_syscall_64+0x87/0x140 > Mar 30 17:27:27 PulseG2 kernel:  ? srso_return_thunk+0x5/0x5f > Mar 30 17:27:27 PulseG2 kernel:  ? do_syscall_64+0x87/0x140 > Mar 30 17:27:27 PulseG2 kernel: entry_SYSCALL_64_after_hwframe+0x6e/0x76 > Mar 30 17:27:27 PulseG2 kernel: RIP: 0033:0x7d4437a9fb9d > Mar 30 17:27:27 PulseG2 kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 > 7c 24 08 e8 4a 9f f7 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 > 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 > > Mar 30 17:27:27 PulseG2 kernel: RSP: 002b:00007ffcc6e0d7a0 EFLAGS: > 00000293 ORIG_RAX: 000000000000002e > Mar 30 17:27:27 PulseG2 kernel: RAX: ffffffffffffffda RBX: > 0000634f86cfcca0 RCX: 00007d4437a9fb9d > Mar 30 17:27:27 PulseG2 kernel: RDX: 0000000000000000 RSI: > 00007ffcc6e0d7f0 RDI: 000000000000000d > Mar 30 17:27:27 PulseG2 kernel: RBP: 00007ffcc6e0d7f0 R08: > 0000000000000000 R09: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: R10: 0000000000000000 R11: > 0000000000000293 R12: 000000000000000e > Mar 30 17:27:27 PulseG2 kernel: R13: 0000634f86d69590 R14: > 0000000000000000 R15: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel:  > Mar 30 17:27:27 PulseG2 kernel: Modules linked in: qrtr bnep > intel_rapl_msr intel_rapl_common joydev nls_iso8859_1 edac_mce_amd > nls_cp437 iwlmvm snd_hda_codec_realtek vfat snd_hda_codec_generic fat > snd_hda_codec> > Mar 30 17:27:27 PulseG2 kernel:  i2c_piix4 realtek drm wmi aesni_intel > crypto_simd cryptd > Mar 30 17:27:27 PulseG2 kernel: CR2: 0000000000000027 > Mar 30 17:27:27 PulseG2 kernel: ---[ end trace 0000000000000000 ]--- > Mar 30 17:27:27 PulseG2 kernel: RIP: > 0010:iwl_mvm_vif_dbgfs_add_link+0x88/0xd0 [iwlmvm] > Mar 30 17:27:27 PulseG2 kernel: Code: f3 48 ab 4d 85 f6 74 35 48 89 f3 > 4c 89 f1 48 c7 c2 26 34 31 c2 4c 89 ef be 64 00 00 00 e8 70 83 1d ef > 49 8b b4 24 c8 1c 00 00 <49> 8b 7e 28 4c 89 ea e8 fc 61 8c ee 48 89 83 > > Mar 30 17:27:27 PulseG2 kernel: RSP: 0018:ffffad53c7557510 EFLAGS: > 00010246 > Mar 30 17:27:27 PulseG2 kernel: RAX: 0000000000000018 RBX: > ffff930126395b98 RCX: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: RDX: 0000000000000000 RSI: > ffffffffffffffff RDI: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: RBP: ffffad53c75575a0 R08: > 0000000000000000 R09: 0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: R10: 0000000000000000 R11: > 0000000000000000 R12: ffff92feb9291fc8 > Mar 30 17:27:27 PulseG2 kernel: R13: ffffad53c7557514 R14: > ffffffffffffffff R15: ffff930126395b98 > Mar 30 17:27:27 PulseG2 kernel: FS:  00007d4436d44500(0000) > GS:ffff9301ee980000(0000) knlGS:0000000000000000 > Mar 30 17:27:27 PulseG2 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: > 0000000080050033 > Mar 30 17:27:27 PulseG2 kernel: CR2: 0000000000000027 CR3: > 0000000105df2000 CR4: 0000000000350ef0 > Mar 30 17:27:27 PulseG2 kernel: note: NetworkManager[963] exited with > irqs disabled > > -- > > 6.6.22 >                                 Bluetooth: hci0: Found device > firmware: intel/ibt-20-1-3.sfi > .. > Mar 29 17:04:59 PulseG2 kernel: Bluetooth: hci0: FW download error > recovery failed (-19) > Mar 29 17:04:59 PulseG2 kernel: Bluetooth: hci0: sending frame failed > (-19) > Mar 29 17:04:59 PulseG2 kernel: BUG: kernel NULL pointer dereference, > address: 0000000000000068 > Mar 29 17:04:59 PulseG2 kernel: #PF: supervisor read access in kernel > mode > Mar 29 17:04:59 PulseG2 kernel: #PF: error_code(0x0000) - not-present > page > Mar 29 17:04:59 PulseG2 kernel: PGD 0 P4D 0 > Mar 29 17:04:59 PulseG2 kernel: Oops: 0000 [#1] PREEMPT SMP PTI > Mar 29 17:04:59 PulseG2 kernel: CPU: 0 PID: 160 Comm: kworker/u35:0 > Not tainted 6.6.23 #5 > Mar 29 17:04:59 PulseG2 kernel: Hardware name: TUXEDO TUXEDO Pulse 15 > Gen2/PF5LUXG, BIOS N.1.06A12 03/15/2023 > Mar 29 17:04:59 PulseG2 kernel: Workqueue: hci0 hci_power_on [bluetooth] > Mar 29 17:04:59 PulseG2 kernel: RIP: > 0010:btintel_read_debug_features+0x4f/0x100 [btintel] > Mar 29 17:04:59 PulseG2 kernel: Code: 00 00 53 48 83 ec 10 65 48 8b 04 > 25 28 00 00 00 48 89 45 e0 31 c0 c6 45 df 01 e8 8c cb b4 ff 48 89 c3 > 48 3d 00 f0 ff ff 77 56 <83> 78 68 13 75 73 48 8b 80 c0 00 00 00 be 02 > > Mar 29 17:04:59 PulseG2 kernel: RSP: 0018:ffffc900016a7c78 EFLAGS: > 00010207 > Mar 29 17:04:59 PulseG2 kernel: RAX: 0000000000000000 RBX: > 0000000000000000 RCX: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: RDX: 0000000000000000 RSI: > 0000000000000000 RDI: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: RBP: ffffc900016a7ca0 R08: > 0000000000000000 R09: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: R10: 0000000000000000 R11: > 0000000000000000 R12: ffffc900016a7cb0 > Mar 29 17:04:59 PulseG2 kernel: R13: ffff88820e73c000 R14: > ffff888122cf8400 R15: ffff88820e73c6d0 > Mar 29 17:04:59 PulseG2 kernel: FS:  0000000000000000(0000) > GS:ffff8887ee200000(0000) knlGS:0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: > 0000000080050033 > Mar 29 17:04:59 PulseG2 kernel: CR2: 0000000000000068 CR3: > 0000000780c24000 CR4: 0000000000350ef0 > Mar 29 17:04:59 PulseG2 kernel: Call Trace: > Mar 29 17:04:59 PulseG2 kernel:  > Mar 29 17:04:59 PulseG2 kernel:  ? show_regs+0x71/0x90 > Mar 29 17:04:59 PulseG2 kernel:  ? __die+0x28/0x80 > Mar 29 17:04:59 PulseG2 kernel:  ? page_fault_oops+0x176/0x500 > Mar 29 17:04:59 PulseG2 kernel:  ? do_user_addr_fault+0x2fb/0x6a0 > Mar 29 17:04:59 PulseG2 kernel:  ? exc_page_fault+0x87/0x1b0 > Mar 29 17:04:59 PulseG2 kernel:  ? asm_exc_page_fault+0x2b/0x30 > Mar 29 17:04:59 PulseG2 kernel:  ? > btintel_read_debug_features+0x4f/0x100 [btintel] > Mar 29 17:04:59 PulseG2 kernel:  ? > btintel_read_debug_features+0x44/0x100 [btintel] > Mar 29 17:04:59 PulseG2 kernel: > btintel_register_devcoredump_support.isra.0+0x3e/0xd0 [btintel] > Mar 29 17:04:59 PulseG2 kernel: btintel_setup_combined+0x2b3/0x780 > [btintel] > Mar 29 17:04:59 PulseG2 kernel:  hci_dev_open_sync+0x10b/0xcb0 > [bluetooth] > Mar 29 17:04:59 PulseG2 kernel:  ? srso_return_thunk+0x5/0x10 > Mar 29 17:04:59 PulseG2 kernel:  ? try_to_wake_up+0x2e2/0x6f0 > Mar 29 17:04:59 PulseG2 kernel:  hci_dev_do_open+0x28/0x70 [bluetooth] > Mar 29 17:04:59 PulseG2 kernel:  hci_power_on+0x54/0x220 [bluetooth] > Mar 29 17:04:59 PulseG2 kernel:  process_one_work+0x182/0x370 > Mar 29 17:04:59 PulseG2 kernel:  worker_thread+0x299/0x3e0 > Mar 29 17:04:59 PulseG2 kernel:  ? __pfx_worker_thread+0x10/0x10 > Mar 29 17:04:59 PulseG2 kernel:  kthread+0xf6/0x130 > Mar 29 17:04:59 PulseG2 kernel:  ? __pfx_kthread+0x10/0x10 > Mar 29 17:04:59 PulseG2 kernel:  ret_from_fork+0x4b/0x70 > Mar 29 17:04:59 PulseG2 kernel:  ? __pfx_kthread+0x10/0x10 > Mar 29 17:04:59 PulseG2 kernel:  ret_from_fork_asm+0x1b/0x30 > Mar 29 17:04:59 PulseG2 kernel:  > Mar 29 17:04:59 PulseG2 kernel: Modules linked in: > snd_hda_codec_generic uvcvideo(+) amd64_edac(-) nls_iso8859_1 > edac_mce_amd ledtrig_audio btusb uvc snd_hda_codec_hdmi mac80211 > nls_cp437 videobuf2_vmalloc btrtl> > Mar 29 17:04:59 PulseG2 kernel:  drm wmi > Mar 29 17:04:59 PulseG2 kernel: CR2: 0000000000000068 > Mar 29 17:04:59 PulseG2 kernel: ---[ end trace 0000000000000000 ]--- > Mar 29 17:04:59 PulseG2 kernel: RIP: > 0010:btintel_read_debug_features+0x4f/0x100 [btintel] > Mar 29 17:04:59 PulseG2 kernel: Code: 00 00 53 48 83 ec 10 65 48 8b 04 > 25 28 00 00 00 48 89 45 e0 31 c0 c6 45 df 01 e8 8c cb b4 ff 48 89 c3 > 48 3d 00 f0 ff ff 77 56 <83> 78 68 13 75 73 48 8b 80 c0 00 00 00 be 02 > > Mar 29 17:04:59 PulseG2 kernel: RSP: 0018:ffffc900016a7c78 EFLAGS: > 00010207 > Mar 29 17:04:59 PulseG2 kernel: RAX: 0000000000000000 RBX: > 0000000000000000 RCX: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: RDX: 0000000000000000 RSI: > 0000000000000000 RDI: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: RBP: ffffc900016a7ca0 R08: > 0000000000000000 R09: 0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: R10: 0000000000000000 R11: > 0000000000000000 R12: ffffc900016a7cb0 > Mar 29 17:04:59 PulseG2 kernel: R13: ffff88820e73c000 R14: > ffff888122cf8400 R15: ffff88820e73c6d0 > Mar 29 17:04:59 PulseG2 kernel: FS:  0000000000000000(0000) > GS:ffff8887ee200000(0000) knlGS:0000000000000000 > Mar 29 17:04:59 PulseG2 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: > 0000000080050033 > Mar 29 17:04:59 PulseG2 kernel: CR2: 0000000000000068 CR3: > 0000000780c24000 CR4: 0000000000350ef0 > Mar 29 17:04:59 PulseG2 kernel: note: kworker/u35:0[160] exited with > irqs disabled > .. > (reboot in between) > Mar 29 21:17:26 PulseG2 kernel: Bluetooth: hci0: Reading Intel version > command failed (-110) > Mar 29 21:17:26 PulseG2 kernel: Bluetooth: hci0: command 0xfc05 tx > timeout > > (.pylocal) catseye@PulseG2:~$ lspci > > 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne > Root Complex > 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU > 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe > Dummy Host Bridge > 00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne > PCIe GPP Bridge > 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe > Dummy Host Bridge > 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne > PCIe GPP Bridge > 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne > PCIe GPP Bridge > 00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne > PCIe GPP Bridge > 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe > Dummy Host Bridge > 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal > PCIe GPP Bridge to Bus > 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller > (rev 51) > 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge > (rev 51) > 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 0 > 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 1 > 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 2 > 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 3 > 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 4 > 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 5 > 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 6 > 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device > 24: Function 7 > 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15) > 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd > NVMe SSD Controller 980 (DRAM-less) > 03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a) > 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. > [AMD/ATI] Lucienne (rev c1) > 05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir > Radeon High Definition Audio Controller > 05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] > Family 17h (Models 10h-1fh) Platform Security Processor > 05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] > Renoir/Cezanne USB 3.1 > 05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] > Renoir/Cezanne USB 3.1 > 05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] > ACP/ACP3X/ACP6x Audio Coprocessor (rev 01) > 05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family > 17h/19h HD Audio Controller > (.pylocal) catseye@PulseG2:~$ lsusb > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 001 Device 002: ID 04f2:b71a Chicony Electronics Co., Ltd > Integrated IR Camera > Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub > Bus 001 Device 004: ID 046d:c077 Logitech, Inc. Mouse > Bus 001 Device 005: ID 8087:0029 Intel Corp. AX200 Bluetooth > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > > Not a single oops up to 6.6.20 (included), haven't tried 6.6.21, and > started with 6.6.22, while 6.6.23 seems stable for now, 6.7.11 also > trigger oops around BT. > > The configuration is my own, derived from debian, but heavily modified > (trimmed down) and hardened using KSPP recommendations. > > I have spare time, let me know if I can be of any testing help. > > Regards. > > Philippe, Lausanne, switzerland. > > > On 3/30/24 5:23 PM, Greg KH wrote: >> On Sat, Mar 30, 2024 at 03:59:22PM +0100, Linux regression tracking >> (Thorsten Leemhuis) wrote: >>> On 24.03.24 23:28, Sasha Levin wrote: >>>> From: Luiz Augusto von Dentz >>>> >>>> [ Upstream commit 63298d6e752fc0ec7f5093860af8bc9f047b30c8 ] >>>> >>>> If command has timed out call __hci_cmd_sync_cancel to notify the >>>> hci_req since it will inevitably cause a timeout. >>>> >>>> This also rework the code around __hci_cmd_sync_cancel since it was >>>> wrongly assuming it needs to cancel timer as well, but sometimes the >>>> timers have not been started or in fact they already had timed out in >>>> which case they don't need to be cancel yet again. >>>> >>>> Signed-off-by: Luiz Augusto von Dentz >>>> Stable-dep-of: 2615fd9a7c25 ("Bluetooth: hci_sync: Fix overwriting >>>> request callback") >>>> Signed-off-by: Sasha Levin >>> Hey stable team, I wonder if it might be wise to pick up 1c3366abdbe884 >>> ("Bluetooth: hci_sync: Fix not checking error on >>> hci_cmd_sync_cancel_sync") from next >>> (https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1c3366abdbe884) >>> >>> for the next releases of all series that a few days ago received >>> 63298d6e752fc0 ("Bluetooth: hci_core: Cancel request on command >>> timeout"). >>> >>> The latter patch sadly on quite a few systems causes a Oops due to a >>> NULL pointer dereference and breaks Bluetooth. This was reported for >>> mainline here (yes, coincidentally it was reported by yours truly): >>> https://lore.kernel.org/all/08275279-7462-4f4a-a0ee-8aa015f829bc@leemhuis.info/ >>> >>> >>> Now that the patch landed in 6.8.2 it seems to happen there as well >>> (guess in 6.7 and others, too), as can be seen from this bug report >>> where multiple people already joined: >>> https://bugzilla.kernel.org/show_bug.cgi?id=218651 >>> >>> The fix mentioned above is on the way to Linus, but due to unlucky >>> timing missed this weeks network pull, hence will likely only reach >>> mainline next Thursday. But the fix afaics has a stable commit id, so >>> might be worth picking up soon for the stable releases to fix the >>> regression quickly. >> Now queued up, thanks for letting us know. >> >> greg k-h >> >