From nobody Mon Mar 21 13:11:21 2022 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 EED861A36F8A for ; Mon, 21 Mar 2022 13:11:33 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp5.goneo.de (smtp5.goneo.de [85.220.129.30]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KMZks0Jftz4VPm for ; Mon, 21 Mar 2022 13:11:32 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 5536010A1EAD for ; Mon, 21 Mar 2022 14:11:25 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id A85AB10A1E8A for ; Mon, 21 Mar 2022 14:11:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1647868283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OrBGIc5Z56iNtCHMZa0MpQz2okM+AsKeOmhbkqiG2FU=; b=mgNAYg6miUkCDBgzcH6dXm0mn6O/DFRtg7W5rZNc2HTG3nKNbi/oZrQaHQT/ClxGWeUNK6 I3Q3Pl+Wn1CHp3bnw7xEBWxuc/TSHnLXAZnrX3bOYmTWkmeptLisIXsLpzEfIukJEsl3X0 cgWi0KzuVMds+PertU/Tzwo18LleVVoHCObm6LSpntiti6E9Lziocc1FgcuswZsvG2Fgox 9lsz1hZwgf8hvogZ/0iqDiBndV5bOJSr6bgKe6l3EctxzZSTJkfJjrmhgacteh2ufcSc+j M4KBgj1/4R6mtPFPHxc51wf6CxTo2mP0/dTbZMRVwgh8QZC+ybd7gCjoK5SVcQ== Received: from hermann (dynamic-2a01-0c23-5d86-ce00-4d8b-83b4-afc4-022d.c23.pool.telefonica.de [IPv6:2a01:c23:5d86:ce00:4d8b:83b4:afc4:22d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 6149410A1E86 for ; Mon, 21 Mar 2022 14:11:23 +0100 (CET) Date: Mon, 21 Mar 2022 14:11:21 +0100 From: FreeBSD User To: freebsd-wireless@freebsd.org Subject: iwlwifi: i7260 does not load firmware properly/wifi not working Message-ID: <20220321141121.32088ecc@hermann> 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 Content-Transfer-Encoding: 7bit X-Rspamd-UID: c8f4c7 X-Rspamd-UID: ddf0aa X-Rspamd-Queue-Id: 4KMZks0Jftz4VPm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=mgNAYg6m; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.30) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[walstatt-de.de]; DKIM_TRACE(0.00)[walstatt-de.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-wireless]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[85.220.129.30:from] X-ThisMailContainsUnwantedMimeParts: N Subject is a notebook Lenovo E540 equipted with an Intel i7260 WiFi adaptor, iwm0@pci0:5:0:0: class=0x028000 rev=0x73 hdr=0x00 vendor=0x8086 device=0x08b2 subvendor=0x8086 subdevice=0x4262 vendor = 'Intel Corporation' device = 'Wireless 7260' class = network bar [10] = type Memory, range 64, base 0xf1c00000, size 8192, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[40] = PCI-Express 2 endpoint max data 128(128) FLR RO NS max read 128 link x1(x1) speed 2.5(2.5) ASPM L1(L0s/L1) ClockPM enabled ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected ecap 0003[140] = Serial 1 XXXXXXXXXX ecap 0018[14c] = LTR 1 ecap 000b[154] = Vendor [1] ID cafe Rev 1 Length 20 Running FreeBSD 13.1-STABLE (FreeBSD 13.1-STABLE #86 stable/13-n250051-ddb842e2ad6: Sun Mar 20 20:49:26 CET 2022 amd64), using if_iwm is a horrible mess and almost unusable (configured both re0 and wlan0 as "lagg0"). I tried - several time since iwlwifi is available for FreeBSD 13, iwlwifi, but without any success. I have to load if_iwlwifi.ko via /boo/loader.conf[.local], since outoloading iwlwifi does not work by defining wlans_iwlwifi0="wlan0" in /etc/rc.conf. Loading iwlwifi via /boot/loader.conf.local leaves me with two problems: first, the firmware does not load, although setting these lines in /etc/rc.conf.local: # Intel WiFi driver for Linux if_iwlwifi_load="YES" iwlwifi-7260-17.ucode_load="YES" (also tried: # Intel WiFi driver for Linux if_iwlwifi_load="YES" iwlwifi_7260_17.ucode_load="YES") I'm not aware but I might remember that there is a rc script issue causing this regarding the "_" and "-" interpretation. So the weird part is, that something alway load the if_iwm.ko module additionaly and I have no clue were this comes from. Without manual intervention dmesg reports this error: [...] Intel(R) Wireless WiFi based driver for FreeBSD iwlwifi0: mem 0xf1c00000-0xf1c01fff at device 0.0 on pci4 iwlwifi0: could not load firmware image 'iwlwifi-7260-17.ucode' iwlwifi0: File size way too small! iwlwifi0: no suitable firmware found! iwlwifi0: iwlwifi-7260-17 is required iwlwifi0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git Loading the firmware manually by typing "kldload /boot/kernel/iwlwifi-7260-17.ucode.ko" does finally load the firmware, but there is no wifi adpator at all ... Kind regards, oh