OpenWrt on esxi

Team,

I am new to openwrt and tried to do as much as I can myself.
But it seems I stack and can not move forward any more.
My configuration is
ESXi (6.7.0 Update 2 (Build 13981272) virtualization platform on IoT.
I created VM for OpenWRT using this build 18.06.4 r7808-ef686b7292
Most of the staff was installed automatically except Wifi which I did manually.
From dmesg:

[    6.255605] firmware iwlwifi-8000C-32.ucode: firmware_loading_store: map pages failed
[    6.269743] iwlwifi 0000:03:00.0: loaded firmware version 31.532993.0 op_mode iwlmvm
[    6.270242] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208

It seems this card has a limitation of having only one Radio as per "iw list" (?Please confirm if I am correct?)

       valid interface combinations:
                 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, total <= 3, #channels <= 2

So I created one AP on 2.4GHz to support most of devices
Generic MAC80211 802.11bgnac
Channel: 9 (2.452 GHz) | Bitrate: 115.4 Mbit/s

Now the problem is that when some of devices trying to connect to this AP openwrt goes to panic mode.
And it is not always constant which devices cause the issue.

Here output

[ 2522.568282] ------------[ cut here ]------------
[ 2522.568285] WARNING: CPU: 0 PID: 1848 at 0xffffffffa02bd391 [iwlmvm@ffffffffa02ab000+0x30000]
[ 2522.568286] Modules linked in: pppoe ppp_async iwlmvm iwlegacy iwldvm pppox ppp_generic nf_conntrack_ipv6 mac80211 iwlwifi iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc r8169 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables e1000e crc_ccitt compat i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables igb i2c_algo_bit e1000 button_hotplug ptp pps_core mii
[ 2522.568326] CPU: 0 PID: 1848 Comm: irq/27-iwlwifi Tainted: G        W       4.14.131 #0
[ 2522.568327] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[ 2522.568328] task: ffff88803d594d00 task.stack: ffffc900000b0000
[ 2522.568330] RIP: 0010:0xffffffffa02bd391 [iwlmvm@ffffffffa02ab000+0x30000]
[ 2522.568331] RSP: 0018:ffffc900000b3d10 EFLAGS: 00010246
[ 2522.568333] RAX: 0000000000000088 RBX: ffff88803d61a500 RCX: 00000000000101ec
[ 2522.568334] RDX: 00000000000101eb RSI: ffff88803fc23140 RDI: ffff88803f82ba00
[ 2522.568335] RBP: ffffc900000b3d68 R08: 0000000000023140 R09: ffff88803f65de00
[ 2522.568336] R10: ffffc900000b3e30 R11: ffff88803c8a8000 R12: ffff88803caa2000
[ 2522.568337] R13: ffff88803d61a530 R14: 0000000000000000 R15: ffff88803d3c9d68
[ 2522.568339] FS:  0000000000000000(0000) GS:ffff88803fc00000(0000) knlGS:0000000000000000
[ 2522.568340] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2522.568341] CR2: 00007fd010241bcc CR3: 000000003da88000 CR4: 00000000001406f0
[ 2522.568348] Call Trace:
[ 2522.568351]  0xffffffffa02b314a [iwlmvm@ffffffffa02ab000+0x30000]
[ 2522.568353]  0xffffffffa02b32a6 [iwlmvm@ffffffffa02ab000+0x30000]
[ 2522.568355]  0xffffffffa01e81f5 [iwlwifi@ffffffffa01e2000+0x24000]
[ 2522.568358]  0xffffffffa01e9428 [iwlwifi@ffffffffa01e2000+0x24000]
[ 2522.568359]  0xffffffff810b751f
[ 2522.568360]  ? 0xffffffff810b7500
[ 2522.568361]  0xffffffff810b776c
[ 2522.568363]  ? 0xffffffff810b75f0
[ 2522.568364]  0xffffffff81098682
[ 2522.568365]  ? 0xffffffff810b7670
[ 2522.568366]  ? 0xffffffff81098570
[ 2522.568367]  0xffffffff81600205
[ 2522.568369] Code: 39 77 09 66 83 7d b4 01 76 14 eb 19 0f b7 45 ba 66 3d 88 00 74 15 66 3d 8e 00 74 1e eb 07 81 4b 28 00 02 00 00 c6 45 bd 00 eb 13 <0f> 0b 81 4b 28 00 01 00 00 c6 45 bd 00 eb 04 c6 45 bd 01 49 8b
[ 2522.568406] ---[ end trace 8e2c8687ccdc9d85 ]---

Appreciate your help in advance,
Alex

(issues like Kernel panics, reboot loops, sometimes crashing the Host ESXI
box).

1 Like