Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp37343lqp; Sat, 8 Jun 2024 05:25:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAIXDLSbhSRwDI8hfv2NECVQ/QAN0iAKCYBC0QUKDezZRKowT+3MTzapU9osroZt3bIslTtA7b7anL9gzXvIYj/kR5SjzKkAaWzpiUyw== X-Google-Smtp-Source: AGHT+IFF1jSt5IUBk4AonTb84lPGqpNKGckoVnYeV33nsvpYYwLLrYvpALQHcY9uJPnoZEfRHaeW X-Received: by 2002:a17:906:28d8:b0:a68:b557:76f5 with SMTP id a640c23a62f3a-a6cdc0e1f72mr298561766b.69.1717849510129; Sat, 08 Jun 2024 05:25:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717849510; cv=pass; d=google.com; s=arc-20160816; b=h1qFCGmZ9CxjTSfGme8RBqCxhiRE2cdBwv4hxh/ltmyfT/RGjGV5UJYkLUfBkyJG/P pDmdc9GGwHssKc5nPuknU3JNeeUnIQz+ZPwxrf8TSTr+34n+9n2q4QN0RhYv/n/71e0e X2SHZQapd+zhPOpQbQ8+RcFBiygZK2UIRAnxY4ieFIf7VpEza3nxpbyCUqOgq78Kof6/ OZw2g/XCMlcv7EGS/R2vHmPqNXQgiUPXle5bx5EYv/E2nMjrxtBRlneqXWVydUmYht/M iT6rysK8u0LEirhtcD1hGTy+603Z0eBUW9c4HXVa9eLO5f9B9FSWrS6m5Qlw0RrZ3BJq Ti5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=QoinzhZ0NTt2RazVwLGKw0mPLwu4odIDkMio21l5+mU=; fh=RVVzPeykuI5jV0s5DUYMj2wdeTKQ4bNTuPLA14ZQ25s=; b=J0ChLGx6WF/rlJhdJgs3ZGJUeHiJkt25wK1QT7v0sLryPYm1izbiTJoTvnOYh7eL+B sqFDAl8jdNUzGKoAhzm8NzLa1M+vYfvDdr0WrGJLhFZaZvJHuB3psHtr7Khjw3W1/azt DkkTIQqfXendXvf6HHxIBJ8ykF9u8a3DrLxZp6VWeHfL6U8xlutzQVyYaiEM3Yl3uRfV gPIuhI5UfCLcK7lIRNSPS8JJsk5DFRzZPaCsFU8FlHU3h9imyPgrzFjHFalbYjE5xfyr JPhu5FCw21iwCO7Z+w3IHm0AR7k6fvjAaL0FNP4j/rnkv5XmT4ZnFfN8bvuL9LncnpVj xbZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=j7ihe5fL; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-5209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c80728427si281742566b.838.2024.06.08.05.25.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 05:25:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=j7ihe5fL; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-5209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 9F6CB1F21C9A for ; Sat, 8 Jun 2024 12:25:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9918B17836E; Sat, 8 Jun 2024 12:25:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j7ihe5fL" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AB1F11718; Sat, 8 Jun 2024 12:25:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717849502; cv=none; b=CcCEtq5EvG+ZLq9k+FH1q5mcYhwWCPzggjikmvECeM3zRPWnbLIjp2Ho4/09OoVDRdKuxtp6zEBuPG1Q9EPiXgbG1MMaTWRdRkQZgGKyU1yHx0m/tNXQMdstTwG13E4XnqmE5+TpmLEnSVQgXpzHlfChJ7GOm2IyxrGkzNMae3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717849502; c=relaxed/simple; bh=QoinzhZ0NTt2RazVwLGKw0mPLwu4odIDkMio21l5+mU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mopuIC3sHGkQ/j9hlCV6YaHpB3E0ar+q7r4LLoDmOydSJyb04cfP1I/YWO31gGu6BC3pmOPgh+y9okfgQ48MVE/qd2iIAvMRFvYJusFtuIDS+Pwp0CAy19kxSGwtrbwhwciygs6gvLZI+10LMvqcvd8EaN+uG6Tk/E7QY3Ylplo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=j7ihe5fL; arc=none smtp.client-ip=209.85.222.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-7952a920e13so3718085a.2; Sat, 08 Jun 2024 05:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717849499; x=1718454299; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QoinzhZ0NTt2RazVwLGKw0mPLwu4odIDkMio21l5+mU=; b=j7ihe5fLLe/RUQdS6tgxDvo2U6XpYFY43vIj7WCGJ+VXR8EFsUGu8tCJbFS/nwO6VX Y3IXUYuynBlOGz4oC1XSotcv5kMryGI/zH4ifGL3KqA4CsCbeWwJ6IyZp5y/65So1fXz Thxy3o8BK6tIfUI73/EQ0ySqaJd+YcxQKH4xrgPuKfftL+9G1vJcqEJVQnC3P0qYo4V9 d0opg47v8I4MaYjIGmDlTjbuTXEBibrrAYejFYFbAjLRv1YFl/7dXfYHe1TxJ/B6rW76 jiMOmI/t3oVzOqFJNkaQ4jMADpIUuEzOwHNFgkMdhr9zpXoMJdw3SGqBos1GsOKTd0hR DyLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717849499; x=1718454299; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QoinzhZ0NTt2RazVwLGKw0mPLwu4odIDkMio21l5+mU=; b=C0gDBPS+MhAPYqCIwk8On211Y2IqnDfHZ/8aebOq1mmVKnkXRixONk9PPVTdAMxjy8 eL9Ymm/zWHDorvCEjCeNMBTs8Rq6LVCsJpuMjjbTZVb+1xomXVj2efQ0FXs+JxXvMSfz 6CK2PIgPfTOfAuLjy+fRVeZTaXEhcKlQt5yjY9+uFjKvwDRV7V1N0tgqybKrzIXJrbby dUn19s44Sm4Hvgv9TkSkuSrTczetZwtiTYGhDZmq/srIiAOxD15+zGT71aLQckzdstvW WbwBZu2ADXQso2s6xfVQZN0R4Y/2DtzM3hwRxLiizfFlSVwwCPbnIUxymqj8USG30yWt AaiA== X-Forwarded-Encrypted: i=1; AJvYcCWzCwolpg0f9TTXwRYSFOI9ZgUX907R/QfJ8DT38rdqeaDniJ9Y0QQhE0Fgn0kg2qr7pJoJ3Ivw2I5KXx4SoHWEQ/IjOwecPhL631R1j/qrPqhmOntyuTZbcM0MREcuebJRq5/p+Xww X-Gm-Message-State: AOJu0YwkhJZjhN/3cEc5hq6eWt7PtpoHI+5gKBWTfWlYW/lBdXq4rDnc wmuRk5xCJETx1T79Do+EfxvYpMoftdvC6/howPb4Bwvtj4VC6ZfbdsYGpfgnEoEW54TR8W46K/n CfW/2NsnvMUIZzl01c7Q0n7/c1ZiBNLRYtc4/1g== X-Received: by 2002:a05:620a:2853:b0:795:4bfb:fe2f with SMTP id af79cd13be357-7954bfc037emr370896785a.1.1717849499349; Sat, 08 Jun 2024 05:24:59 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <212fca4c-fc1f-4da4-b48e-c6a4b64a2b35@leemhuis.info> In-Reply-To: From: =?UTF-8?Q?Timo_Schr=C3=B6der?= Date: Sat, 8 Jun 2024 14:24:48 +0200 Message-ID: Subject: Re: Bluetooth Kernel Bug: After connecting either HFP/HSP or A2DP is not available (Regression in 6.9.3, 6.8.12) To: Luiz Augusto von Dentz Cc: regressions@leemhuis.info, stable@vger.kernel.org, regressions@lists.linux.dev, linux-bluetooth@vger.kernel.org, luiz.von.dentz@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Luiz, as requested I opened an issue. Please see: https://github.com/bluez/bluez/issues/865 Best regards, Timo Am Sa., 8. Juni 2024 um 00:01 Uhr schrieb Luiz Augusto von Dentz : > > Hi Timo, > > On Fri, Jun 7, 2024 at 5:43=E2=80=AFPM Timo Schr=C3=B6der wrote: > > > > Am Fr., 7. Juni 2024 um 08:10 Uhr schrieb Linux regression tracking > > (Thorsten Leemhuis) : > > > > > > On 06.06.24 23:23, Luiz Augusto von Dentz wrote: > > > > On Thu, Jun 6, 2024 at 4:46=E2=80=AFPM Timo Schr=C3=B6der wrote: > > > >> on my two notebooks, one with Ubuntu (Mainline Kernel 6.9.3, bluez > > > >> 5.7.2) and the other one with Manjaro (6.9.3, bluez 5.7.6) I'm hav= ing > > > >> problems with my Sony WH-1000XM3 and Shure BT1. Either A2DP or HFP= /HSP > > > >> is not available after the connection has been established after a > > > >> reboot or a reconnection. It's reproducible that with the WH-1000X= M3 > > > >> the A2DP profiles are missing and with the Shure BT1 HFP/HSP profi= les > > > >> are missing. It also takes longer than usual to connect and I have= a > > > >> log message in the journal: > > > >> > > > >> Jun 06 16:28:10 liebig bluetoothd[854]: > > > >> profiles/audio/avdtp.c:cancel_request() Discover: Connection timed= out > > > >> (110) > > > >> > > > >> When I disable and re-enable bluetooth (while the Headsets are sti= ll > > > >> on) and trigger a reconnect from the notebooks, A2DP and HFP/HSP > > > >> Profiles are available again. > > > >> > > > >> I also tested it with 6.8.12 and it's the same problem. 6.8.11 and > > > >> 6.9.2 don't have the problem. > > > >> So I did a bisection. After reverting commit > > > >> af1d425b6dc67cd67809f835dd7afb6be4d43e03 "Bluetooth: HCI: Remove > > > >> HCI_AMP support" for 6.9.3 it's working again without problems. > > > >> > > > >> Let me know if you need anything from me. > > > > > > > > Wait what, that patch has nothing to do with any of these profiles = not > > > > really sure how that would cause a regression really, are you sure = you > > > > don't have actual connection timeout happening at the link layer an= d > > > > that by some chance didn't happen when running with HCI_AMP reverte= d? > > > > > > > > I'd be surprised that HCI_AMP has any effect in most controllers > > > > anyway, only virtual controllers was using that afaik. > > > > > > Stupid question from a bystander without knowledge in the field (so f= eel > > > free to ignore this): is that patch maybe causing trouble because it = has > > > some hidden dependency on a earlier change that was not backported to > > > 6.9.y? > > > > > > Timo, to rule that out (and it's good to know in general, too) it wou= ld > > > be good to known if current mainline (e.g. 6.10-rc) is affected as we= ll. > > > > > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' h= at) > > > -- > > > Everything you wanna know about Linux kernel regression tracking: > > > https://linux-regtracking.leemhuis.info/about/#tldr > > > If I did something stupid, please tell me, as explained on that page. > > > > Hallo Thorsten, I tried with 6.10-rc2 and it's the same problem on my s= ystems. > > Could you please create a issue at > https://github.com/bluez/bluez/issues and then attach btmon traces and > bluetoothd? This is a really weird regression, also is your system > using pulseaudio or pipewire? > > -- > Luiz Augusto von Dentz