Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2657191pxu; Mon, 7 Dec 2020 11:59:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+W+56faEHF68dnPeghrkLI2X6q+8pn5ZiXrBsP3WKylLNkyVeIjjr2tTcZaxavMN6TitP X-Received: by 2002:a17:906:3687:: with SMTP id a7mr20296317ejc.210.1607371187932; Mon, 07 Dec 2020 11:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607371187; cv=none; d=google.com; s=arc-20160816; b=yxMSrr8JKqeqODKku3zFvUTAnDkjaWh30rzbM8otsOdg0vb1c7ZtSO5tdvuxc4HH4r aGLCQgv4eh/wSRFPM24mILUj2luCEtdLSLpFiDDQ2Lue2VKEOq/gw9EDHiSreZLewpDp UuM1u0MpTNA+h0oYYvV/bX1cOJgQdjgIIDsa1/uR2uY+hUVmO2M1xEkbr9OlxFV+T8/S zwwLzooTDDRFpr4VR8dBGkXVpf0OnwaFvko0we7OjFAmUeLDCgThiNbGgnOjZgLZN6w5 6T2DqJ7hvrZVhj8e8bmjMuifxp/xD/5+3fNeO9JSYotEH/yeuZStW5NctJi3T875g7BP s5ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:date:message-id:subject:from:cc:to:dkim-signature; bh=iQJLk4korq+Q3a0+AkzD0p7/FPQghlmc6y6vyTQzSj0=; b=02ehtDDWftUZQkDHOG32Ma1vdD7E9ICxz2KBcHzNsntY/FZ53oK+op537U7zWNOgU4 Pv2BaLEg9H8ilvYYRLAGQMpgNHmPw8fesCGl6LVartmIMnmFc9fy+/1tE0r2zVxmsRBN ZqRox9T5kIAnmjbcIf11H7OHYe9esmL3HJ1b0hH7LZzzDxf1c9pO9kgaxZAeKv5u2TlL ie6GBmMfXfF+dHmk8orHK8fKF9B4q6xv43LMbvI6S9s+VlV9e/LCS/nb5KzK0foZn2y3 b9co3SRfMttL2M4jncOKa+puJH+1nKdupE+uFKH/ji7KbZH450op9RdSmrxGQs0FQ8dE IUtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dfTiW6MP; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-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. [23.128.96.18]) by mx.google.com with ESMTP id v5si11295158edi.183.2020.12.07.11.59.09; Mon, 07 Dec 2020 11:59:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dfTiW6MP; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-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 S1726935AbgLGT5S (ORCPT + 99 others); Mon, 7 Dec 2020 14:57:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgLGT5R (ORCPT ); Mon, 7 Dec 2020 14:57:17 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BA6DC06179C for ; Mon, 7 Dec 2020 11:56:37 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id y23so383861wmi.1 for ; Mon, 07 Dec 2020 11:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=iQJLk4korq+Q3a0+AkzD0p7/FPQghlmc6y6vyTQzSj0=; b=dfTiW6MPOrh3AAxP7QrDsqzHRkqaVNv/MtgzDWRv5iYp8ZzWdzVzYRc1954HzH18sA 9tSa0gXONdqP0LzwFGuXFyKYJ/12pQBx/alb/i9CJ5FxkIxeW9uvnZh7avlA2GNZ2NmO Z0+TyR1L5JSdTt9p4hYkHLNSv7rBOKc6X4Bx0A6s1NGocU/W2MVQWhoB/4nikpUq8zho qlzsUY1WvSsvZxjfCt3RvfAFBeH5UUa5hKqDbHcWLCBsUixmGAWAe2344+w/JuUkainH YYWHZ1ZvF5xA4WK1RBIWfehVRArccLqHm/WZj7brXUoIbCa6sFTcL9wdM3CCcQsQx0N6 CH9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=iQJLk4korq+Q3a0+AkzD0p7/FPQghlmc6y6vyTQzSj0=; b=kAILR4rsj5lIEKoiMMRSLBKK4v7yPioRv/p5dr0F0CXaAxaAihMfL8uSXGQWBPm4nQ GJuUAfPCAhrXXtuQd6AD0hkfykkFAuDx9+oF0R3IISdNwK8NiRuXLla3PFOzACHsSxPp SwpaC+U+KaJeU22aUbA5lH3c946ZbWarBZ33tzmDzVndsJRBM58bDucERvPDRkpfmpO9 vcDyqsI/+OcH/8PyEu9ITA9y+R5cDriU61omF0sGCi9qVRYAcsYWJx0hslyds1apgueN 35O+o5yuwy/jXCk+fj8tUsN92V/+MNH4TC9rLdzK7OJ0qpceGLO3ZwxdUKFAr3+sj01q ih+g== X-Gm-Message-State: AOAM533aZkYfSse8hpS35Kx5woMqDCPrhBNXO+eCjZ9YGIvaMmqWhBte GK3bvdi0rkF20+sB92mVYgGmDenL3po= X-Received: by 2002:a7b:c157:: with SMTP id z23mr465106wmi.35.1607370995801; Mon, 07 Dec 2020 11:56:35 -0800 (PST) Received: from ?IPv6:2003:ea:8f07:3b00:dcd:bf30:f72b:9f3a? (p200300ea8f073b000dcdbf30f72b9f3a.dip0.t-ipconnect.de. [2003:ea:8f07:3b00:dcd:bf30:f72b:9f3a]) by smtp.googlemail.com with ESMTPSA id y2sm381017wma.6.2020.12.07.11.56.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Dec 2020 11:56:35 -0800 (PST) To: Kiran K , Marcel Holtmann Cc: BlueZ development From: Heiner Kallweit Subject: linux-next-2020-12-04: Failed to send firmware data (-38) with AX210 Message-ID: Date: Mon, 7 Dec 2020 20:56:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org With an AX210 card I get "Failed to send firmware data (-38)" on linux-next from Dec 4th in case of a cold-boot after power-cycle. "hk: bt code = 0x001f" is a private debug message to check which BT code is mapped to ENOSYS (-38). From what I found 0x1f is "Unspecified error". The second attempt to load the firmware is successful then. [ 4.192718] Bluetooth: Core ver 2.22 [ 4.192756] Bluetooth: Starting self testing [ 4.192785] Bluetooth: Finished self testing [ 4.192937] Bluetooth: HCI device and connection manager initialized [ 4.193067] Bluetooth: HCI socket layer initialized [ 4.193108] Bluetooth: L2CAP socket layer initialized [ 4.193195] Bluetooth: SCO socket layer initialized [ 4.242342] Bluetooth: hci0: Device revision is 0 [ 4.242435] Bluetooth: hci0: Secure boot is enabled [ 4.242495] Bluetooth: hci0: OTP lock is enabled [ 4.242533] Bluetooth: hci0: API lock is enabled [ 4.242570] Bluetooth: hci0: Debug lock is disabled [ 4.242609] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 4.242657] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38 [ 4.261977] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi [ 4.855813] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.855873] Bluetooth: BNEP socket layer initialized [ 5.819388] Bluetooth: hk: bt code = 0x001f [ 5.819438] Bluetooth: hci0: Failed to send firmware data (-38) [ 5.820069] Bluetooth: hci0: Intel reset sent to retry FW download [ 6.362248] Bluetooth: hci0: Device revision is 0 [ 6.362384] Bluetooth: hci0: Secure boot is enabled [ 6.362439] Bluetooth: hci0: OTP lock is enabled [ 6.362551] Bluetooth: hci0: API lock is enabled [ 6.362605] Bluetooth: hci0: Debug lock is disabled [ 6.362660] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 6.362726] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38 [ 6.364508] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi [ 9.020540] Bluetooth: hci0: Waiting for firmware download to complete [ 9.021443] Bluetooth: hci0: Firmware loaded in 2599136 usecs [ 9.022778] Bluetooth: hci0: Waiting for device to boot [ 9.050099] Bluetooth: hci0: Device booted in 27723 usecs [ 9.052633] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0041-0041.ddc [ 9.055224] Bluetooth: hci0: Applying Intel DDC parameters completed [ 9.060184] Bluetooth: hci0: Firmware timestamp 2020.42 buildtype 1 build 15791