On 14 Jan 2020, at 16:03, Mark Johnston wrote:
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?
It would also be interesting to know which firmware is loaded (e.g.,
what is in loader.conf) and which exact version.
Given it’s a ETIMEOUT it sounds like the firmware just never starts to
run?
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.
We should. I think I did that locally when I was testing your changes a
while ago:
@@ -5933,7 +6183,7 @@ iwm_attach(device_t dev)
#ifdef IWM_DEBUG
SYSCTL_ADD_INT(device_get_sysctl_ctx(dev),
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO,
"debug",
- CTLFLAG_RW, &sc->sc_debug, 0, "control debugging");
+ CTLFLAG_RWTUN, &sc->sc_debug, 0, "control debugging");
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"
_______________________________________________
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"