Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp124217imu; Thu, 8 Nov 2018 16:08:58 -0800 (PST) X-Google-Smtp-Source: AJdET5c4hHO6MvmjNEftVv1uu8Res4JaEXoEBzXhAa9XicTONfUF143z2JEDsp8I1hyfl+UoCCEC X-Received: by 2002:a63:1342:: with SMTP id 2-v6mr5530728pgt.19.1541722138339; Thu, 08 Nov 2018 16:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541722138; cv=none; d=google.com; s=arc-20160816; b=TuseuT7KQIBx9uwXvE1uxgBNsZiUWHdlTiPV6HdjTr4OeWW9OUUC2iLRpAe98x5MCA bAx+V0ui3LaWjogIyPDXq4NIvTHOb6BXEgR7QVrZP2Xo6V1/guxB0hXLUOBejKorEKVV qx5AbeivYpMgS8TlyB2zYoP+v8g/bZZZFNFiVUS17AIbXv1hI8pjck9T4/VqdIliSAIX k/kEctwr4psGaATzNGTlUbzSGyNnF0i5T0ItmUrI9Mljh+ZDLkJu2PIvjqXm/9tvCXFB qrv2GUra5uIO0/lOZkn1hDoy2P1uaTE9TGm3lpxPq0ZHVI2OFa0H8/sGFqzz7XKbcLhk b82Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aCW9IhFlZUHL5OG80w8Qvj7wbX0e4e54MjwpDLjvvCk=; b=Rcy/iQb3eOZwOp8rLMkZJ+KEQRK50PJ8WGRaXuV2Xxb84RsD05AIqJqKXVC0FmAlXx DEbiUeQsVNac7Udz5z/WDBIR6A/S4eylrV83idHQthpvw9YP2ZcqHI31cjk6HeEjsO/5 QQYQzKkJdwanBja+hlmJ9cyqe5SsGDSZMkKymwdbjSMCuZslzzueL9/gVG+bmpnug0RN E10reiq7KeAtYd+x60mBlTeg3tvXCXDVchyXIWutuC+FL3lXGfvoqQzrVUQ/aVq1Gusz tH7cRnaGPZ2EGyaSfI5XbZvks9PjpsaPznePYHz1gr/gKlg4EMNGoGUbcNmCnRcBrDus /K5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sJFy3bw9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23-v6si4405472pgh.581.2018.11.08.16.08.41; Thu, 08 Nov 2018 16:08:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sJFy3bw9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727223AbeKIJqV (ORCPT + 99 others); Fri, 9 Nov 2018 04:46:21 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46113 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbeKIJqU (ORCPT ); Fri, 9 Nov 2018 04:46:20 -0500 Received: by mail-ed1-f67.google.com with SMTP id b34-v6so354750ede.13; Thu, 08 Nov 2018 16:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aCW9IhFlZUHL5OG80w8Qvj7wbX0e4e54MjwpDLjvvCk=; b=sJFy3bw9l3+Ru89Z08/0oTKSPqgZ9tKbMpv1IltkGtcA9fBY82EsaI+O2T80m0Vqm2 1HbVLC+ocfBca6phsOhr2kG/Qw1J02DdEcJM55VyZR+e3wV2ubJMf51bkMHe2h+8Gi4g LFMffTtXP7Dxzxqk6PSsvZ4yBaMeCBfNub1uetzXKVTXgVCckO9UFV6OHQJQP67LCrEv eKbIBIYoTA3UFlFyrWc6b6MvR3qogZEhJ+Gt789uYI6VS9TCeMYlVXqbDAnRZcEa6ae8 MmPJRWSrpdvl+toTtN+YPQJXp8eTmYGRZStG9MvGkGR2/BNYSS/zBcvaoyXNAhLJk4bH 1+lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aCW9IhFlZUHL5OG80w8Qvj7wbX0e4e54MjwpDLjvvCk=; b=EbGQUVCXbrz8jVyW1CaHvHBVcRtPVnUe4HTnBmyqEVWRPrPqd2ys6KxX6IHp+QSX/y Cm7L90otywsgUL+lCWSnbdgQu2VyokRDg8lB//6I7vSmbwWmQWKQZt7GIadATsm7Fwu+ HkrjtlwfHuvqn54qLTgJlAYUHthUZOocubnA0wTvQSinfYNP4Yixti++ySsAzcZQU8Zf 8yZ9y6azqd/9WASaQITpazUiUD6jmdTNosmyIcabSRyYaIjL2DgnNzVpvvhN8pGn6M1C OF/TJ4WP88bCmrG1tQ/5mD9uO3ra4qdLi/nvSpyNGkVfbQ4YOy94gT6l4KAW7Xu1lV9A LnsA== X-Gm-Message-State: AGRZ1gIYkmRQnoeYvH5DmzEoqPyIgSP1l17LlEpI+2p+m3j76QhGtuce RUJX6sDnzL/H5saZuELvppM= X-Received: by 2002:a50:a347:: with SMTP id 65-v6mr312935edn.267.1541722096991; Thu, 08 Nov 2018 16:08:16 -0800 (PST) Received: from kiddo.lan ([2601:602:9400:bc9f::5f2]) by smtp.gmail.com with ESMTPSA id f18-v6sm1477614edd.75.2018.11.08.16.08.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 16:08:15 -0800 (PST) From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= To: Marcel Holtmann Cc: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= , Kai-Heng Feng , Luca Coelho , Kalle Valo , Emmanuel Grumbach , Johannes Berg , "David S. Miller" , Intel Linux Wireless , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux@endlessm.com, =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Subject: Re: [PATCH 3/3] iwlwifi: Load firmware exclusively for Intel WiFi Date: Thu, 8 Nov 2018 16:08:00 -0800 Message-Id: <20181109000800.15431-1-jprvita@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <910F8A29-3141-422F-87EE-7BFBCDE9060C@holtmann.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Marcel, > On Oct 4, 2018, at 2:25 AM, Marcel Holtmann wrote: > > Hi Kai-Heng, > >>> I think Canonical were facing some wifi fw load error from some 8260 >>> earlier module during the BT still loading the fw. >>> I believe we had later 8260 sku that fixed this issue. >> >> But there are already 8260 that is affected by this bug in the wild. >> >> Search "Bluetooth: hci0: Failed to send firmware data (-38)” and there are lots of user are affected. > > which SKUs are these actually. What are the initial details about the boot loader. For the Bluetooth side, you should be able to grab them from dmesg or by running btmon. > > So I am not in favor of this kind of hack and creating dependencies between drivers. If you only have a hammer, then everything looks like a nail. And this is a massive hammer trying to squash everything. This problem needs to be debugged. And this starts by providing affected SKU information and firmware information. So get the details about the SKU and its Bluetooth and WiFi boot loaders. > I have a Lenovo Yoga 900 which presents this problem and has the same bootloader / firmware information as Kai-Heng already posted: [ 5.992426] Bluetooth: Core ver 2.22 [ 5.992438] Bluetooth: HCI device and connection manager initialized [ 5.992442] Bluetooth: HCI socket layer initialized [ 5.992444] Bluetooth: L2CAP socket layer initialized [ 5.992450] Bluetooth: SCO socket layer initialized [ 6.004941] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014 [ 6.010922] Bluetooth: hci0: Device revision is 5 [ 6.010923] Bluetooth: hci0: Secure boot is enabled [ 6.010924] Bluetooth: hci0: OTP lock is enabled [ 6.010925] Bluetooth: hci0: API lock is enabled [ 6.010926] Bluetooth: hci0: Debug lock is disabled [ 6.010927] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 6.014253] bluetooth hci0: firmware: direct-loading firmware intel/ibt-11-5.sfi [ 6.014256] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi [ 6.613961] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.613966] Bluetooth: BNEP filters: protocol multicast [ 6.613974] Bluetooth: BNEP socket layer initialized [ 6.983804] Bluetooth: hci0: Failed to send firmware data (-38) And the following product id and revision, from usb-devices: T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=8087 ProdID=0a2b Rev=00.01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I understand the drawbacks with the approach presented here and lack of clear explanation of the problem, but I can confirm these patches work around the problem on my machine. Is there any extra info or test result I can provide to help debug this? I can also dedicate time to help write a different solution if some guidance is provided. Kai-Heng, did you end up filling a Bugzilla entry for this? Please CC-me on the replies as I'm not receiving emails from linux-bluetooth or linux-wireless anymore. Thanks, -- João Paulo Rechi Vita http://about.me/jprvita