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;
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to