Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2022 17:27:29 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        "mike tancsa" <mike@sentex.net>
Cc:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: New iwlwifi driver crash
Message-ID:  <354204D9-896A-4BBA-92B0-E0C018F44BBA@FreeBSD.org>
In-Reply-To: <53e60e61-2e6c-053b-2df6-f80c51328180@sentex.net>
References:  <53e60e61-2e6c-053b-2df6-f80c51328180@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Jan 2022, at 13:13, mike tancsa wrote:

Hi Mike,

> Hi, I am trying out the new wifi driver, but getting a panic at boot 
> time. This is just a simple APU1 board,

That is valuable information as to know there’s no vendor laptop 
involved with weird BIOS stuff going on (not that we’d currently 
adhere much to that).


> 2G of RAM. I am running an AMD64 nano BSD image and added the hardware 
> and
>
>
> kld_list="${kld_list} if_iwlwifi"
>
> to rc.conf
>
>
> Loading kernel modules:
> Intel(R) Wireless WiFi based driver for FreeBSD
> iwlwifi0: <iwlwifi> mem 0xf7e00000-0xf7e01fff irq 16 at device 0.0 on 
> pci5
> iwlwifi0: successfully loaded firmware image 'iwlwifi-7260-17.ucode'
> iwlwifi0: loaded firmware version 17.3216344376.0 7260-17.ucode 
> op_mode iwlmvm
> iwlwifi0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
> Autoloading module: intpm.ko
> iwlwifi0: base HW address: d8:fc:93:19:4e:d9
> intsmb0: <AMD SB600/7xx/8xx/9xx SMBus Controller> at device 20.0 on 
> pci0
> smbus0: <System Management Bus> on intsmb0
> /etc/rc: WARNING: $swapfile is obsolete.  Ignored.
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [1/2412/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [2/2417/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [3/2422/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [4/2427/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [5/2432/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [6/2437/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [7/2442/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [8/2447/0xb]
> ifconfig: iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan 
> [9/2452/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [10/2457/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [11/2462/0xb]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [12/2467/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [13/2472/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [36/5180/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [40/5200/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [44/5220/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [48/5240/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [52/5260/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [56/5280/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [60/5300/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [64/5320/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [100/5500/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [104/5520/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [108/5540/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [112/5560/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [116/5580/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [120/5600/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [124/5620/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [128/5640/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [132/5660/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [136/5680/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [140/5700/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [144/5720/0xd]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [149/5745/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [153/5765/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [157/5785/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [161/5805/0xf]
> iwlwifi0: lkpi_ic_getradiocaps: Skipping disabled chan [165/5825/0xf]

I have one more report about this on an old 7xxx; I haven’t had time 
to look into that yet.  It seems to be specific to that chipset (or at 
least that is the only where we are now seeing this).  I’d suggest to 
keep using the iwm(4) for now.   I’ll try to remember to ping6 you 
once I’ve looked into it or send you a patch to re-test.

Bjoern

PS: feel free to drop me direct emails or to freebsd-wireless.  More 
likely to be seen.


> panic: ieee80211_get_ratetable: no rate table for channel; freq 0 
> flags 0x0
>
> cpuid = 1
> time = 1642284312
> KDB: stack backtrace:
> #0 0xffffffff80695085 at kdb_backtrace+0x65
> #1 0xffffffff8064858f at vpanic+0x17f
> #2 0xffffffff80648403 at panic+0x43
> #3 0xffffffff815e160f at ieee80211_get_ratetable+0xbf
> #4 0xffffffff815c3361 at ieee80211_chan_init+0x361
> #5 0xffffffff815c3b3a at ieee80211_ifattach+0xfa
> #6 0xffffffff815bc8be at linuxkpi_ieee80211_ifattach+0xfe
> #7 0xffffffff8153b5bf at iwl_mvm_mac_setup_register+0xb9f
> #8 0xffffffff81547a12 at iwl_mvm_start_post_nvm+0x52
> #9 0xffffffff81546dcc at iwl_op_mode_mvm_start+0xb9c
> #10 0xffffffff815231a8 at iwl_req_fw_callback+0x2658
> #11 0xffffffff815a60a7 at lkpi_fw_task+0x37
> #12 0xffffffff806a9641 at taskqueue_run_locked+0x181
> #13 0xffffffff806aa952 at taskqueue_thread_loop+0xc2
> #14 0xffffffff806063ee at fork_exit+0x7e
> #15 0xffffffff8096c87e at fork_trampoline+0xe
> Uptime: 14s
>
>
> I am running FreeBSD 13.0-STABLE #0 stable/13-1e2a0cef6-dirty: Fri Jan 
> 14
>
> without the new drivers, it posts as
>
> iwm0@pci0:5:0:0:        class=0x028000 rev=0x73 hdr=0x00 
> vendor=0x8086 device=0x08b1 subvendor=0x8086 subdevice=0x4470
>     vendor     = 'Intel Corporation'
>     device     = 'Wireless 7260'
>     class      = network
>     bar   [10] = type Memory, range 64, base 0xf7e00000, size 
> 8192, enabled
>     cap 01[c8] = powerspec 3  supports D0 D3  current D0
>     cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 
> message
>     cap 10[40] = PCI-Express 2 endpoint max data 128(128) FLR RO NS
>                  max read 128
>                  link x1(x1) speed 2.5(2.5) ASPM 
> disabled(L0s/L1) ClockPM disabled



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354204D9-896A-4BBA-92B0-E0C018F44BBA>