Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Sep 2021 08:24:08 +0000
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)
Message-ID:  <bug-243992-21060-FAPxffRrl4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243992-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243992-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243992

Vasile Buruiana <bvasea@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bvasea@gmail.com

--- Comment #21 from Vasile Buruiana <bvasea@gmail.com> ---

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: <Intel(R) Dual Band Wireless AC 9560> 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: <Intel(R) Dual Band Wireless AC 9560> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243992-21060-FAPxffRrl4>