Bug 243992 - iwm(4): iwm_pcie_load_section: Could not load the [0] uCode section (Intel Wireless-AC 9560)
Summary: iwm(4): iwm_pcie_load_section: Could not load the [0] uCode section (Intel Wi...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 12.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-wireless mailing list
URL:
Keywords: IntelNetworking, needs-qa
Depends on:
Blocks:
 
Reported: 2020-02-08 21:24 UTC by iron.udjin
Modified: 2020-02-11 07:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iron.udjin 2020-02-08 21:24:27 UTC
Hello,

WIFI module is integrated to mainboard "Asus ROG MAXIMUS XI HERO (WI-FI)".

iwm0@pci0:0:20:3:	class=0x028000 card=0x00348086 chip=0xa3708086 rev=0x10 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Wireless-AC 9560 [Jefferson Peak]'
    class      = network

OS: 12.1-STABLE r357667

I tried both variants: compile kernel with built-in iwn support and iwn as a module. Result is the same.

In /boot/loader.conf:

if_iwm_load="YES"
iwm9260fw_load="YES"

In dmesg I see:
iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xa4334000-0xa4337fff irq 16 at device 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

... and ifconfig doesn't how iwm interface.

Is there a way to make it work?

Thank you!
Comment 1 vidwer+fbsdbugs 2020-02-08 21:32:34 UTC
(In reply to iron.udjin from comment #0)
/etc/rc.conf should have settings like:

wlans_iwm0="wlan0"
ifconfig_wlan0="wpa dhcp"

Save rc.conf, followed by either a reboot or 'service netif restart'.
Comment 2 iron.udjin 2020-02-09 02:37:15 UTC
(In reply to vidwer+fbsdbugs from comment #1)

I added those lines inito /etc/rc.conf and restrted netif and got in logs:

Feb  9 04:31:21 IRON kernel: iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xa4334000-0xa4337fff irq 16 at device 20.3 on pci0
Feb  9 04:31:26 IRON kernel: iwm0: fw chunk addr 0x404000 len 712 failed to load
Feb  9 04:31:26 IRON kernel: iwm0: iwm_pcie_load_section: Could not load the [0] uCode section
Feb  9 04:31:26 IRON kernel: iwm0: iwm_start_fw: failed 60
Feb  9 04:31:26 IRON kernel: iwm0: Failed to start INIT ucode: 60
Feb  9 04:31:26 IRON dhclient[1188]: wlan0: not found
Feb  9 04:31:26 IRON dhclient[1188]: exiting.
Feb  9 04:31:26 IRON root[1191]: /etc/rc.d/dhclient: WARNING: failed to start dhclient
Comment 3 Mark Johnston freebsd_committer 2020-02-11 05:18:55 UTC
This chip should be using iwm9000fw, not iwm9260fw.  Does it work if you preload that instead?
Comment 4 iron.udjin 2020-02-11 07:28:16 UTC
(In reply to Mark Johnston from comment #3)
No, the same error:

iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xa4334000-0xa4337fff irq 16 at device 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