clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
442 stars 90 forks source link

Crashes when attempting Access Point mode #94

Open fornellas opened 7 months ago

fornellas commented 7 months ago

I get a crash when trying to setup an access point with nmcli device wifi hotspot ifname wlan0 ssid test password 'super_secret':

[ 4071.522583] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 4072.104351] ------------[ cut here ]------------
[ 4072.104362] WARNING: CPU: 4 PID: 14034 at net/wireless/core.c:1463 cfg80211_netdev_notifier_call+0x380/0x41c [cfg80211]
[ 4072.104415] Modules linked in: 8192eu(O) mac80211 ipt_REJECT nf_reject_ipv4 xt_state xt_comment nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat squashfs cpufreq_powersave cpufreq_conservative nft_chain_nat xt_MASQUERADE nf_nat xt_owner xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink ch341 usbserial snd_usb_audio uvcvideo cdc_acm cfg80211 snd_hwdep snd_usbmidi_lib videobuf2_vmalloc rfkill meson_vdec(C) snd_soc_meson_axg_sound_card videobuf2_dma_contig snd_soc_meson_card_utils ir_nec_decoder v4l2_mem2mem meson_gxbb_wdt meson_ir videobuf2_memops videobuf2_v4l2 snd_soc_spdif_tx snd_soc_meson_axg_tdm_interface snd_soc_simple_amplifier videodev snd_soc_meson_axg_frddr snd_soc_meson_axg_toddr snd_soc_meson_g12a_tohdmitx videobuf2_common snd_soc_meson_g12a_toacodec snd_soc_hdmi_codec snd_soc_meson_axg_tdmout
[ 4072.104516]  snd_soc_meson_axg_tdmin snd_soc_meson_t9015 snd_soc_meson_axg_spdifout snd_soc_meson_codec_glue snd_soc_meson_axg_fifo snd_soc_meson_axg_tdm_formatter snd_seq_midi mc meson_rng snd_seq_midi_event rng_core snd_pcm_oss snd_rawmidi snd_soc_core snd_mixer_oss snd_pcm_dmaengine snd_seq snd_pcm amlogic_thermal snd_seq_device snd_timer gpio_fan snd soundcore sch_fq_codel fuse ip_tables x_tables meson_gxl dw_hdmi_i2s_audio panfrost gpu_sched drm_shmem_helper rtc_pcf8563 spi_meson_spicc meson_drm drm_dma_helper realtek dwmac_generic reset_meson_audio_arb axg_audio sclk_div clk_phase dwmac_meson8b stmmac_platform meson_dw_hdmi stmmac dw_hdmi drm_display_helper meson_canvas pcs_xpcs phylink cec display_connector drm_kms_helper cfbfillrect cfbimgblt cfbcopyarea drm drm_panel_orientation_quirks [last unloaded: rtl8xxxu]
[ 4072.104615] CPU: 4 PID: 14034 Comm: NetworkManager Tainted: G        WC O       6.2.0-odroid-arm64 #1
[ 4072.104619] Hardware name: Hardkernel ODROID-N2Plus (DT)
[ 4072.104623] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 4072.104627] pc : cfg80211_netdev_notifier_call+0x380/0x41c [cfg80211]
[ 4072.104658] lr : cfg80211_netdev_notifier_call+0x288/0x41c [cfg80211]
[ 4072.104686] sp : ffff80000c553330
[ 4072.104689] x29: ffff80000c553330 x28: 0000000000000000 x27: ffff800008fe5fa0
[ 4072.104697] x26: ffff000019106000 x25: ffff800001827578 x24: ffff00000d1fe610
[ 4072.104703] x23: ffff80000c5539a0 x22: ffff00000af89000 x21: ffff00000af893a0
[ 4072.104709] x20: ffff00002749e000 x19: ffff00000a8d7800 x18: 0000000000000000
[ 4072.104715] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 4072.104722] x14: 000000000000026c x13: 0000000000000001 x12: 0000000000000000
[ 4072.104728] x11: 0000000000000000 x10: 0000000000000a40 x9 : ffff80000c553250
[ 4072.104734] x8 : ffff000008acf1e0 x7 : ffff0000138ed0a8 x6 : ffff0000153a8d30
[ 4072.104740] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff00000af893a0
[ 4072.104745] x2 : ffff000008ace740 x1 : ffff00000a8d7800 x0 : 0000000000000000
[ 4072.104752] Call trace:
[ 4072.104754]  cfg80211_netdev_notifier_call+0x380/0x41c [cfg80211]
[ 4072.104783]  raw_notifier_call_chain+0x54/0x74
[ 4072.104792]  call_netdevice_notifiers_info+0x58/0xac
[ 4072.104799]  __dev_notify_flags+0xb4/0xe0
[ 4072.104803]  dev_change_flags+0x54/0x70
[ 4072.104806]  do_setlink+0x234/0xe40
[ 4072.104809]  __rtnl_newlink+0x468/0x870
[ 4072.104813]  rtnl_newlink+0x50/0x80
[ 4072.104815]  rtnetlink_rcv_msg+0x12c/0x390
[ 4072.104818]  netlink_rcv_skb+0x5c/0x130
[ 4072.104822]  rtnetlink_rcv+0x18/0x24
[ 4072.104824]  netlink_unicast+0x2d8/0x330
[ 4072.104827]  netlink_sendmsg+0x1c0/0x430
[ 4072.104829]  sock_sendmsg+0x54/0x60
[ 4072.104833]  ____sys_sendmsg+0x258/0x27c
[ 4072.104836]  ___sys_sendmsg+0x80/0xe0
[ 4072.104839]  __sys_sendmsg+0x68/0xc4
[ 4072.104842]  __arm64_sys_sendmsg+0x24/0x30
[ 4072.104845]  invoke_syscall+0x48/0x114
[ 4072.104850]  el0_svc_common.constprop.0+0x44/0xfc
[ 4072.104853]  do_el0_svc+0x3c/0xc0
[ 4072.104856]  el0_svc+0x2c/0x84
[ 4072.104860]  el0t_64_sync_handler+0xbc/0x140
[ 4072.104863]  el0t_64_sync+0x190/0x194
[ 4072.104866] ---[ end trace 0000000000000000 ]---

This happens with kernel 6.2.0.

j3bx commented 2 months ago

same here

j3bx commented 2 months ago

nvm it works now on Linux arch 6.6.26-1-lts