From nobody Sun Sep 5 08:24:08 2021 X-Original-To: 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 24D7F17A7313 for ; Sun, 5 Sep 2021 08:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H2PhB0Qb8z3K9x for ; Sun, 5 Sep 2021 08:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E425A115 for ; Sun, 5 Sep 2021 08:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1858O9vS082119 for ; Sun, 5 Sep 2021 08:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1858O9DW082118 for wireless@FreeBSD.org; Sun, 5 Sep 2021 08:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 243992] iwm(4): iwm_pcie_load_section: Could not load the [0] uCode section (Intel Wireless-AC 9560) Date: Sun, 05 Sep 2021 08:24:08 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bvasea@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243992 Vasile Buruiana changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bvasea@gmail.com --- Comment #21 from Vasile Buruiana --- I found a way to re-create the problem: ######## how to become happy with your FreeBSD ########### Boot *win, make sure WiFi is working through Intel AC9560 Wireless adapter. Shut it down (start-shutdown) [OPTIONALLY: remove power cable from PSU, cou= nt 10 seconds, insert power cable]. Turn on the system. If FreeBSD is on anoth= er hard drive, enter your favorite mainboard firmware interface (BIOS/UEFI), change primary boot device to FreeBSD hard drive, save and exit. Boot Free= BSD. Surprise - iwm0 is loading: iwm0: mem 0xb4518000-0xb451bfff at de= vice 20.3 on pci0 iwm0: hw rev 0x310, fw ver 34.3125811985.0, address 28:7f:cf:f1:47:71 kldstat says: 41 1 0xffffffff84ff1000 16c20 if_iwm.ko 42 1 0xffffffff85008000 28df7f iwm9000fw.ko dhclient works fine. However the data rate is around 3 MBytes/second - mean= ing it transfers around 2 x 8", 1.2MB ancient floppy disks every single second,= or the same speed as a SCSI 1.2" 9-track open reel-to-reel tape drive. Anyway, better than the situation described below. ######## how to become sad ############ Boot *win, test your wifi connection. RESTART it (no shut down). If FreeBSD is on another hard drive, enter BIOS/UEFI, change boot device to FreeBSD, save and exit. Boot FreeBSD. Surprise: iwm0: mem 0xea238000-0xea23bfff at de= vice 20.3 on pci0 iwm0: fw chunk addr 0x404000 len 712 failed to load iwm0: iwm_pcie_load_section: Could not load the [0] uCode section iwm0: iwm_start_fw: failed 60 iwm0: Failed to start INIT ucode: 60 ############################################## # read from the beginning to be happy again # ##############################################=20 This should be something related to the firmware memory area not being rele= ased properly under *win when restarting, but properly released when *win is shutting down. FreeBSD is unable to transfer the uCode because AC9560 does = not accept - there is already a firmware loaded inside.=20 Please recreate this experiment to confirm. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=