Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1322083lqt; Fri, 7 Jun 2024 15:02:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBQMFXtIpyycai4aC2GiE4eOoQgz7LAyy44Top9LhyFXGbHod8e0eLa3hJIVqqEFahIAwkt7PGvXFvvTjvIfgnUnN6aQKZaxLc7fCqjg== X-Google-Smtp-Source: AGHT+IG80mmqD1wLtJH4Yi/KXnmufz2HD0S0wf0T4x7s1p3036qucXNyTJdCvkKC5cD2LDzDsgbh X-Received: by 2002:a05:6a20:748d:b0:1b2:91a0:624a with SMTP id adf61e73a8af0-1b2f9c6dff8mr4480543637.45.1717797753294; Fri, 07 Jun 2024 15:02:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717797753; cv=pass; d=google.com; s=arc-20160816; b=f5VGfJgSZ6+rlAG3flWqkKYA2LOHUqnCqjAtVas6SeApib8L50cULGihiMWErS1/e5 fUff5s5BFdSs/xTfaynfQl4ZRe4llcVaijnKREmd5SPUAbL8/1h5uIWSXQ6flaH//aH2 j3Z4wxeuDn9hm5IWeD78ebFiaOloiD+9J/IPWQrLyf/RMdBR7G6uXjgSPvlH5h5FNOS6 D/BKmP9FzWg/LB0jUPiZnetWL7w44+EN1oYnlgX/M1AGqiOIqqJ7Gb43CzmxmilewskQ c+Ty5rd72XMriMMrPGnv4+2sWr+CY8lsgUHnM0EiAHIhuux6bVvT6XnZqVuE3o7lJsqy tupQ== 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=IDFRZUCaRgT+IPHYguEUg6g4GU6L1L1720EL+LDGYqs=; fh=Cf+GyMbHwPAfY9djOExSqUakkH89pL+JMbtPdwrnsko=; b=Bkzwz5xoFzBbDnhzWlEixtrwUxQJi2XzCAOTwAl9B702roAAtHO6ubuqoUriPUMovs bkWZJEhaCUkY77P3myiO7j3ZPBFKpMTJk6gRxD8AK+hA53V4fDAa007ZIdljvi9eBZbV etyWdnfedHXk0uh6cWl7UPv6cOl8s10W8ZNzbHVYFQDw0iVPkRspo9ghF+3ETSy9iIq0 NU2osJG0GQjBqqlxKKhnQ7HMNLxL4StCCfyW6wNnFAHV06OSEdaeJzS8qIQanmkgSGZz 1ex1LcUIVcoq7Hai0i2JCQ6oOsLYkHqRvVMflD5iJo+rDD91yivF1kud6krwAjzaVca/ IhaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dCHOzLV5; 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-5205-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de275fed3bsi3635407a12.533.2024.06.07.15.02.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 15:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5205-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dCHOzLV5; 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-5205-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5205-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 68B52281748 for ; Fri, 7 Jun 2024 22:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 106EA60B8A; Fri, 7 Jun 2024 22:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dCHOzLV5" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 C0ABD12B93; Fri, 7 Jun 2024 22:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717797676; cv=none; b=Xesl4FzJ5azBFgwP3YRvOnMKRywEpDjBVKLC311PFSE8zKpu+LnIPEuZIBWf4C8dIX3Cl5L3ZA3iODghp8lzZj7svZ4pThkbSuEKeCTgNA2YdikyYCgM6EI+xWvAhaHvwDNMjW87wSEpVpPTZ7DDhy1BBX8MRGqcTQGghnuRpJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717797676; c=relaxed/simple; bh=IDFRZUCaRgT+IPHYguEUg6g4GU6L1L1720EL+LDGYqs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=kZ1xDJkziff/o8pCwQR9c6bw1A1CSE960ZHFMa7DoXMVplD2h5zwn1rz/uV1gbeVbF7E9LWdhAjezM9CeWvLl80PyuAiFOO+egLdaz6XePtXqPMhmIQ2gWtaS+BqdVTx8xsu5x7lP/sJfRNpIDk9VXV/4v9Fh3bSpNvCd+SLjS0= 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=dCHOzLV5; arc=none smtp.client-ip=209.85.208.182 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-lj1-f182.google.com with SMTP id 38308e7fff4ca-2eacd7e7b38so27691751fa.2; Fri, 07 Jun 2024 15:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717797673; x=1718402473; 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=IDFRZUCaRgT+IPHYguEUg6g4GU6L1L1720EL+LDGYqs=; b=dCHOzLV59f8/q9/KOp/eSJtI7jl1yiWPRWVt25SmW75xQN/+ONwGqKkrVVYErKqBOM dmVyxXVS7lhIFwlpNFZqyXSrqYpNhAg/NZID6OIIqUW1rWm5yueIANZTndKR6isv1ME5 Gi6bYBvu6RG0AyFAk55ZLYnu8odTfdnSBqCM0WGk3VQPP3AH4F/5a6b4MXmLiuvScWPy PZ7cnMf7Y2Y5xCn3fmfCoTd+ylBqmoaJ3FbBTCWyWzwD5vZlzET1d4TkCEYyV/ZKUVE1 zOOTwjN4vg2mBprQNON6lHmr/E50Osek1mrWXTdGnWdieI48v8etY29BM82S5Ll3hvkK GYQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717797673; x=1718402473; 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=IDFRZUCaRgT+IPHYguEUg6g4GU6L1L1720EL+LDGYqs=; b=fkuOV47CxJXYpa876y8n+wtGdZeOepkXry2jmLuWvEWHxOEDbrtY5eGqRQAAXyPz2b 5AQ/AN46eLvzDy35emFZbe7opWiftfaPzhPBZEvAd3e39Jevh6xIlBnsILEFD0DxVH5q F8VsMNX3e4lmlT8D4myBYkMLVyLzpi++2ruq5hPlt6KWJ+cp+1kTRuHDnvt20IANwDl/ 0zoEWb/0V9aWHF3PECA6Ez0rzlrsNIIzZuglJptVz7yGeD7mCnj8cHWfIitvVoHjE/XP vl1A1qF4znVykvAjbtYOUTxQCUWy/JeYdyrDSsWp8sahhRSpc2LFZh4L/Pd3pgEITAli /tHQ== X-Forwarded-Encrypted: i=1; AJvYcCWEw6L0pxROmefuPYqip7DEUlqQr/1/nyqHae34sKol9s2p6vGa0FQ+ttDvZXHIPkeVmEc5QjlmfvkrH54cd7ZXmlm1AqXh3+99um27OcGs3g5GMTRMAZefkS8jTtjv5N7VLzvp297m X-Gm-Message-State: AOJu0Yz8I2gwi7bGo9we+kFMTMobinBDDFTBuMS6+3xYsufd5cbKXhMV qv6yAMz9WWsSgOei2FdfQjGB2/cGhITBgyoJYqCVVfZJKfRLa/wdTOz1Pzduae7WVZyDNacuyfI BWSsbUiWjttBQqN4dmxypFgQFnTs= X-Received: by 2002:a2e:8ec6:0:b0:2eb:4d6a:76f8 with SMTP id 38308e7fff4ca-2eb4d6a7c34mr5549651fa.40.1717797672179; Fri, 07 Jun 2024 15:01:12 -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: Luiz Augusto von Dentz Date: Fri, 7 Jun 2024 18:00:59 -0400 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: =?UTF-8?Q?Timo_Schr=C3=B6der?= 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 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 havin= g > > >> problems with my Sony WH-1000XM3 and Shure BT1. Either A2DP or HFP/H= SP > > >> is not available after the connection has been established after a > > >> reboot or a reconnection. It's reproducible that with the WH-1000XM3 > > >> the A2DP profiles are missing and with the Shure BT1 HFP/HSP profile= s > > >> 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 o= ut > > >> (110) > > >> > > >> When I disable and re-enable bluetooth (while the Headsets are still > > >> 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 no= t > > > really sure how that would cause a regression really, are you sure yo= u > > > don't have actual connection timeout happening at the link layer and > > > that by some chance didn't happen when running with HCI_AMP reverted? > > > > > > 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 fee= l > > free to ignore this): is that patch maybe causing trouble because it ha= s > > 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 would > > be good to known if current mainline (e.g. 6.10-rc) is affected as well= . > > > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat= ) > > -- > > 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 sys= tems. 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? --=20 Luiz Augusto von Dentz