Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp127430imu; Thu, 8 Nov 2018 16:12:44 -0800 (PST) X-Google-Smtp-Source: AJdET5fbzM/E4BaZO+CYQZfKmWlLzyt/ZivubUkwfpVdsbwY8PI05Bk/DWIb6g9qkj9PA58AFr7N X-Received: by 2002:a63:fc49:: with SMTP id r9mr5418954pgk.209.1541722364906; Thu, 08 Nov 2018 16:12:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541722364; cv=none; d=google.com; s=arc-20160816; b=MztftRdZyUbVetB3foD5ozPIxJP2H/eQDkWduZztEHoCzr1fEHx9Y5NyCpFI0L3Njb ZWPafgDJcbzMaB1yDVsD3Lkn99KHGI12dzgjSrhSZQVVy1BfuSUlBp3+HMQjnl3sdAGa bjlefXBEhP5e8R3MDSRcDJGapBY84buOGGcTBMr56HKYR6LwEZl3ysp1izTX8qDgIhdL 3XwuwCNo1z0bcaxMFsTDOZPBuO6fVfAEYEV4UMbKzG+hlWpVFJ8sY1ymguw470sIpSv5 nYB/L2BbY7HN6oYHwKzweR5QAf2w7XuRMskanp+ZDx0G8Oa0K5IPnvPNebEA5B+ayxOr 1goA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=y6G3fJWoHOThjb5/JbAxsM3dEjjUKXbWiLs3zdGUVPU=; b=QA34cNAWriko8viml+1v0NoKaEGfwV3yk4w+4XSeb+cC5Ix3tcSL70I9/s8nsHuaeZ PLeaHPAvkMbHXGAKVNz8IY4nDAFpdHuJLAJRS55FwEaFbRSgvrNZDCaoApCMDb7hoJ4D M5UFvdwi4ayT7kwFNWhLdoNfA9J8wWEuaP8FHK1/fyiCOrOS6NJiW6a9yto2XKkA8Ke3 rnPjUjPBum92hH9xC8AwqA3JpwV4m6RQrSw3dpMfTBWi75xgoe90oAVd8UaZ2sdohkT0 lhmaNdBcRK/XSyOUvh5ogRWt6q6sK63e8oLGah5x45+yteslsteeYM3soZUh3PQtdtss NHwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nz1Schec; 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 141-v6si6285346pfz.210.2018.11.08.16.12.28; Thu, 08 Nov 2018 16:12:44 -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=Nz1Schec; 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 S1727318AbeKIJuH (ORCPT + 99 others); Fri, 9 Nov 2018 04:50:07 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44639 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbeKIJuH (ORCPT ); Fri, 9 Nov 2018 04:50:07 -0500 Received: by mail-pg1-f194.google.com with SMTP id w3-v6so38845pgs.11; Thu, 08 Nov 2018 16:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=y6G3fJWoHOThjb5/JbAxsM3dEjjUKXbWiLs3zdGUVPU=; b=Nz1Schecg2Bbr5yaR4tZMmZSH3oMem7pfdH4Z03ifZJ6jLgvGvmwbxHdOWSSy9TI7S fzb8sQGoJHFHXO0LHBT27WRkf9N9XAG2kfCbKw4kKVyViVWIAeI1VBJUfwofZfbhcnTK tbDmVYXV8FbtP0Nxbqjtsmwctpvipv03LySpQv+qfA/7Hqebdg+AGtYNd1Qea9U+/lMR rzI7viNZjguPaywcDEQZfkWmPOzTnhxzS94ywQD+YnvfRwcm2E08oO3f4wze1HRhZ+h3 GLgP7o3uhwHeNGosRTDRY6CJrtpCB6pHZfNgdKz+nkPHBPt0PR1dPI8ORSFwLFT1wKPR FvzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y6G3fJWoHOThjb5/JbAxsM3dEjjUKXbWiLs3zdGUVPU=; b=Jt6vdyBlOIqT4iu0kmmRMABOAGC/Mj48w9by58NuiP7YBr8ZF1NmrhaMvlHMKiI1Gw miQ23kxV0M+cWxtim1CUevWdVAeL3c8lSTkmb2ewBJn67cq3MHYvIdWORx21x61LjRtV RO0bZEQSihVmD72diVRoHBmn0xnonl1pOLq5UQt8tXeRWi8vYbeplGCUmEgy8ctViRxD PT+4L9b0FocAEho8GLDfHVxJFZabhuHLe5bmBeBHdTZR40enMjFRKyr6oB/kEiRUHJfU bsJfK/uhzqD0whU6BipoV27tYVmcmpJxCPJbt0WXKaskp4dYpxW0hCyiTJ5e8+FT6Z1B h8Pw== X-Gm-Message-State: AGRZ1gLoKG/yzWHsNZ/OphHs/s5wlkmTPyzZD4dl1egLTREi755zJ8vB r336VVbTsoy1WuxwLpkv9LpSvCr5oZVjg9/6cxg= X-Received: by 2002:a62:c184:: with SMTP id i126-v6mr6750841pfg.53.1541722325133; Thu, 08 Nov 2018 16:12:05 -0800 (PST) MIME-Version: 1.0 References: <910F8A29-3141-422F-87EE-7BFBCDE9060C@holtmann.org> <20181109000800.15431-1-jprvita@gmail.com> In-Reply-To: <20181109000800.15431-1-jprvita@gmail.com> From: =?UTF-8?Q?Jo=C3=A3o_Paulo_Rechi_Vita?= Date: Thu, 8 Nov 2018 16:11:28 -0800 Message-ID: Subject: Re: [PATCH 3/3] iwlwifi: Load firmware exclusively for Intel WiFi To: Marcel Holtmann Cc: kai.heng.feng@canonical.com, Luca Coelho , Kalle Valo , Emmanuel Grumbach , Johannes Berg , "David S. Miller" , Intel Linux Wireless , linux-wireless , Network Development , LKML , linux@endlessm.com, =?UTF-8?Q?Jo=C3=A3o_Paulo_Rechi_Vita?= , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + linux-bluetooth On Thu, Nov 8, 2018 at 4:08 PM Jo=C3=A3o Paulo Rechi Vita wrote: > > 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)=E2=80=9D a= nd there are lots of user are affected. > > > > which SKUs are these actually. What are the initial details about the b= oot loader. For the Bluetooth side, you should be able to grab them from dm= esg or by running btmon. > > > > So I am not in favor of this kind of hack and creating dependencies bet= ween 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 nee= ds to be debugged. And this starts by providing affected SKU information an= d 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 boo= tloader / 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 2= 014 > [ 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/ib= t-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=3D01 Lev=3D01 Prnt=3D01 Port=3D06 Cnt=3D02 Dev#=3D 3 Spd=3D12 M= xCh=3D 0 > D: Ver=3D 2.00 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1 > P: Vendor=3D8087 ProdID=3D0a2b Rev=3D00.01 > C: #Ifs=3D 2 Cfg#=3D 1 Atr=3De0 MxPwr=3D100mA > I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driver= =3Dbtusb > I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driver= =3Dbtusb > > I understand the drawbacks with the approach presented here and lack of c= lear explanation of the problem, but I can confirm these patches work aroun= d the problem on my machine. Is there any extra info or test result I can p= rovide to help debug this? I can also dedicate time to help write a differe= nt 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-blueto= oth or linux-wireless anymore. > > Thanks, > > -- > Jo=C3=A3o Paulo Rechi Vita > http://about.me/jprvita