From nobody Wed Dec 29 18:00:19 2021 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E0218192DF53 for ; Wed, 29 Dec 2021 18:00:25 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JPK214b7Rz4m8V; Wed, 29 Dec 2021 18:00:25 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 40B2625AC3; Wed, 29 Dec 2021 18:00:25 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id CE73F8D4A216; Wed, 29 Dec 2021 18:00:23 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id F12B3E707FE; Wed, 29 Dec 2021 18:00:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id h5pn0lhAKDMr; Wed, 29 Dec 2021 18:00:21 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id EED21E707FC; Wed, 29 Dec 2021 18:00:20 +0000 (UTC) Date: Wed, 29 Dec 2021 18:00:19 +0000 (UTC) From: "Bjoern A. Zeeb" To: Kyle Evans cc: Pete Wright , "freebsd-wireless@freebsd.org" Subject: Re: [iwlwifi] fail to load firmware In-Reply-To: Message-ID: References: <46c49e54-de1f-6cd0-0ba5-499e209a7e57@nomadlogic.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640800825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=scbeAfKtHc8TedCLR/4jUMAvy4BMeVFqjCaQxqtxFRw=; b=e9Xats6FEuu1oXhplANCLF++WyNEAo/1j9X6Nnefg9oj6QWcwSUtrUepY3pvkJGxm6j6A/ 2di1kpQWgkS/tWCI2ZAeTYiDdkW/cyozmfKGrHiZ1GQKekH3n4lK8yLF3fCxgk89M4fjKS nhXXb4NViSQk6xYumtzWqWy5MFFAN76H9cXWl9Ugd2+Wb+pdLI+WS4AsWIdz+qczNuGyHr 0Einuz4eYBXqquZFnethWa7/XNEV7w1TV4Qa9htRbpu6hKbXg6orPhQEDFjeMdV8FnukYX 3ZqHeUsR6yc7LlVlsc/my6J1kzwUdtbJIH8Gpt5OKknzwXTX8gGVcza6yQILZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640800825; a=rsa-sha256; cv=none; b=V7EY6JOHs3k8tTbgFoFENJSFrkiYQ3VJuxa8ty+AUTkh75FyprovSvuPR+WtLcOH+R2Rc3 z0q7iZhmVD1zlTIARmEtYfhrlK0TkIj/3hRk1geNZGxlvTv7JtGAqOrZ8sbUF4baQIbisX suLNHNUCPYndDcIEtsi6IpOkIWTtCJwzerCtXhL8CXXiJ99bab9jYMIM9oAYR2zlMwRSPr ZNZ2a6QOcNDi1gOf2hlwRsIfp7JYTJEHhkb3MhAEe7UjynxrxI0XBmejP+rNhnJHApGqgQ u5w2jTKWs/9xTZrG4HhTfu1Gqm1LhmxM4ZtZPfxhJ0A2TalRD2EHKzYWJEvYew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Wed, 29 Dec 2021, Kyle Evans wrote: > On Wed, Dec 29, 2021 at 11:36 AM Bjoern A. Zeeb wrote: >> >> On Wed, 29 Dec 2021, Bjoern A. Zeeb wrote: >> >>> On Wed, 29 Dec 2021, Pete Wright via freebsd-wireless wrote: >>> >>> Hi Pete, >>> >>>> hello - i've got an intel device currently working under iwm: >>>> >>>> iwm0: mem 0xdd338000-0xdd33bfff at >>>> device 20.3 on pci0 >>>> iwm0: hw rev 0x310, fw ver 34.3125811985.0, address >>>> >>>> after building CURRENT on the 28th and attempting to load if_iwlwifi via >>>> /boot/loader.conf i get these errors when the firmware tries to load: >> >> I am sorry; I hadn't fully realised; if you load the driver from >> loader you'd have to load the fimrware manually as well as otherwise >> there's no file system yet to load it from. >> >> Problem is the loader.conf syntax doesn't allow you to say, >> foo-bar-baz_load="YES". >> > > FWIW you can work around this, but it's ugly. We offer ${module}_name > to specify the actual name of a module, so: > > my_fw_with_dashes_load="YES" > my_fw_with_dashes_name="my-fw-with-dashes" Oh, cool. Thank you! I didn't know that worked generally :-) A lot better than any crude exec hacks I'd have used old-school way. /bz -- Bjoern A. Zeeb r15:7