Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2020 11:03:58 -0500
From:      Mark Johnston <markj@freebsd.org>
To:        Ihor Antonov <ihor@antonovs.family>
Cc:        wireless@freebsd.org
Subject:   Re: Intel AC 9560 on Lenovo X1 Extreme
Message-ID:  <20200114160358.GF46791@raichu>
In-Reply-To: <11444111.O9o76ZdvQC@t800>
References:  <11444111.O9o76ZdvQC@t800>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 13, 2020 at 09:41:26PM -0800, Ihor Antonov wrote:
> Hi Mark
> 
> According to your comment:https://bugs.freebsd.org/bugzilla/show_bug.cgi?
> id=227044#c39
> 
> I have Lenovo X1 Extreme with 9560 card.
> 
> I am trying to install FreeBSD from latest snapshot [1] but I got no wifi.
> 
> in dmesg I see:
> 
> 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
> 
> kldunload if_iwm results in automatic reloading of the module and the error 
> appears again.
> 
> I am new to FreeBSD Please advice with further troubleshooting steps or any 
> additional info I might provide

Does iwm0 print any other messages during boot?  Could you provide the
"pciconf -lv" entry for the iwm device?

If you are willing to compile a new driver, it would be useful to see
what output you get with sc_debug set to 0xffffffff.  We should probably
make that a tunable.

diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c
index 4538a0a38113..1ea003a3918a 100644
--- a/sys/dev/iwm/if_iwm.c
+++ b/sys/dev/iwm/if_iwm.c
@@ -6021,6 +6021,8 @@ iwm_attach(device_t dev)
 	callout_init_mtx(&sc->sc_led_blink_to, &sc->sc_mtx, 0);
 	TASK_INIT(&sc->sc_es_task, 0, iwm_endscan_cb, sc);
 
+	sc->sc_debug = 0xffffffff;
+
 	error = iwm_dev_check(dev);
 	if (error != 0)
 		goto fail;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200114160358.GF46791>