You are not logged in.

#1 2017-01-29 21:58:46

Oracular
Member
Registered: 2017-01-29
Posts: 2

rtl8723be unable to handle kernel NULL pointer dereference

I've been trying to get wireless networking configured on arch for a few days now, with no luck. I was following the wiki page on wireless network configuration, and at the "ip link set <interface> up" step, the console would spam with PCIe Bus Errors unless I removed the rtl8723be module. After some research, I found that there is an AUR package for the chip with improved firmware/drivers, which I installed (https://aur.archlinux.org/packages/rtlwifi_new-dkms/). Now, when doing "ip link set <interface> up", it appears that the kernel crashes. The error received is:

[  301.991347] BUG: unable to handle kernel NULL pointer dereference at           (null)
[  301.992682] IP: [<          (null)>]           (null)
[  301.994001] PGD 262efd067 
[  301.994011] PUD 263682067 
[  301.995328] PMD 0 

[  301.996658] Oops: 0010 [#1] PREEMPT SMP
[  301.997961] Modules linked in: rtl8723be(O) rtl8723_common snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_iso8859_1 nls_cp437 vfat fat arc4 btcoexist(O) rtl_pci(O) intel_rapl rtlwifi(O) x86_pkg_temp_thermal intel_powerclamp coretemp mac80211 mousedev joydev i915 kvm cfg80211 hp_wmi acer_wmi input_leds uvcvideo irqbypass videobuf2_vmalloc videobuf2_memops snd_soc_skl videobuf2_v4l2 videobuf2_core videodev r8169 media mii snd_soc_skl_ipc evdev intel_cstate snd_soc_sst_ipc intel_rapl_perf snd_soc_sst_dsp mac_hid btusb btrtl snd_hda_ext_core psmouse pcspkr ucsi snd_soc_sst_match snd_soc_core dptf_power hci_uart wmi thermal snd_compress snd_pcm_dmaengine ac97_bus ac battery fan i2c_hid soc_button_array int3406_thermal int3400_thermal int3402_thermal processor_thermal_device int3403_thermal
[  302.003790]  hid drm_kms_helper drm btbcm btqca snd_hda_intel snd_hda_codec snd_hda_core intel_vbtn intel_gtt syscopyarea sysfillrect acpi_als kfifo_buf industrialio btintel hp_accel mei_me sysimgblt intel_lpss_acpi bluetooth rfkill video intel_th_gth snd_hwdep snd_pcm snd_timer snd soundcore acpi_thermal_rel int340x_thermal_zone intel_soc_dts_iosf mei intel_lpss fb_sys_fops led_class intel_th_pci fjes intel_th shpchp i2c_i801 lis3lv02d i2c_algo_bit hp_wireless input_polldev intel_hid tpm_crb sparse_keymap intel_pch_thermal i2c_smbus button tpm_tis tpm_tis_core tpm acpi_pad sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache algif_skcipher af_alg dm_crypt dm_mod sr_mod cdrom sd_mod serio_raw atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64
[  302.009800]  lrw gf128mul glue_helper ablk_helper cryptd ahci libahci xhci_pci libata xhci_hcd scsi_mod usbcore usb_common i8042 serio [last unloaded: rtl8723_common]
[  302.011335] CPU: 2 PID: 545 Comm: ip Tainted: G           O    4.9.6-1-ARCH #1
[  302.012810] Hardware name: HP HP Notebook/8207, BIOS F.18 09/12/2016
[  302.014251] task: ffff8802632a1d80 task.stack: ffffc90001a80000
[  302.015679] RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
[  302.017102] RSP: 0018:ffffc90001a83608  EFLAGS: 00010213
[  302.018522] RAX: ffffffffa07efce0 RBX: 0000000000100000 RCX: 0000000000000000
[  302.019987] RDX: 0000000000100000 RSI: 0000000000000064 RDI: ffff8802635b15c0
[  302.021429] RBP: ffffc90001a83630 R08: 0000000000000002 R09: 0000000000000004
[  302.022883] R10: 0000000000000000 R11: ffff88026426e900 R12: 0000000000000064
[  302.024302] R13: ffff8802635b15c0 R14: 0000000000000000 R15: ffff8802635b15c0
[  302.025682] FS:  00007f8ba03ac700(0000) GS:ffff88026ed00000(0000) knlGS:0000000000000000
[  302.027060] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  302.028447] CR2: 0000000000000000 CR3: 00000002642ff000 CR4: 00000000003406e0
[  302.029801] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  302.031121] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  302.032479] Stack:
[  302.033833]  ffffffffa0774a6b ffff8802635b15c0 ffff8802635b0720 00000000000000f4
[  302.035220]  ffff8802635b15c0 ffffc90001a83678 ffffffffa07e270c 000000ff01000000
[  302.036611]  0000000000000282 ffff8802635b15c0 ffff8802635b0720 ffff8802635b1628
[  302.037935] Call Trace:
[  302.039246]  [<ffffffffa0774a6b>] ? rtl8723_phy_set_bb_reg+0x2b/0x80 [rtl8723_common]
[  302.040576]  [<ffffffffa07e270c>] rtl8723be_hw_init+0x85c/0x1940 [rtl8723be]
[  302.041906]  [<ffffffffa076d141>] rtl_pci_start+0x51/0xe0 [rtl_pci]
[  302.043198]  [<ffffffff8156fc7d>] ? inetdev_event+0x3d/0x4f0
[  302.044452]  [<ffffffffa07a2b34>] rtl_op_start+0x54/0x90 [rtlwifi]
[  302.045681]  [<ffffffffa08d874a>] drv_start+0x3a/0x130 [mac80211]
[  302.046872]  [<ffffffffa08ee7f6>] ieee80211_do_open+0x2a6/0x990 [mac80211]
[  302.048043]  [<ffffffffa08eef32>] ieee80211_open+0x52/0x60 [mac80211]
[  302.049242]  [<ffffffff814f5076>] __dev_open+0xc6/0x140
[  302.050448]  [<ffffffff8160a3ae>] ? _raw_spin_unlock_bh+0x1e/0x20
[  302.051660]  [<ffffffff814f538d>] __dev_change_flags+0x9d/0x160
[  302.052878]  [<ffffffff814f5479>] dev_change_flags+0x29/0x60
[  302.054098]  [<ffffffff815062ff>] do_setlink+0x31f/0xd10
[  302.055311]  [<ffffffff8118a879>] ? __alloc_pages_nodemask+0x159/0xe80
[  302.056524]  [<ffffffff8118a282>] ? get_page_from_freelist+0xa72/0xb70
[  302.057736]  [<ffffffff8118a282>] ? get_page_from_freelist+0xa72/0xb70
[  302.058927]  [<ffffffff8118a282>] ? get_page_from_freelist+0xa72/0xb70
[  302.060110]  [<ffffffff813344a1>] ? nla_parse+0x31/0x120
[  302.061282]  [<ffffffff81508f36>] rtnl_newlink+0x5c6/0x860
[  302.062447]  [<ffffffff81204a5e>] ? mem_cgroup_commit_charge+0x7e/0x4e0
[  302.063622]  [<ffffffff812bda00>] ? security_capset+0x10/0x80
[  302.064761]  [<ffffffff81088a68>] ? ns_capable_common+0x68/0x80
[  302.065921]  [<ffffffff81088a93>] ? ns_capable+0x13/0x20
[  302.067069]  [<ffffffff815092b6>] rtnetlink_rcv_msg+0xe6/0x210
[  302.068217]  [<ffffffff811ee0d5>] ? __kmalloc_node_track_caller+0x35/0x2c0
[  302.069364]  [<ffffffff810c3cc4>] ? __wake_up+0x44/0x50
[  302.070508]  [<ffffffff814dd577>] ? __alloc_skb+0x87/0x1e0
[  302.071620]  [<ffffffff815091d0>] ? rtnl_newlink+0x860/0x860
[  302.072697]  [<ffffffff81529e14>] netlink_rcv_skb+0xa4/0xc0
[  302.073732]  [<ffffffff81505858>] rtnetlink_rcv+0x28/0x30
[  302.074734]  [<ffffffff815296fc>] netlink_unicast+0x17c/0x240
[  302.075664]  [<ffffffff81529bd8>] netlink_sendmsg+0x348/0x3b0
[  302.076578]  [<ffffffff814d32c7>] sock_sendmsg+0x17/0x30
[  302.077457]  [<ffffffff814d3a6d>] ___sys_sendmsg+0x2cd/0x2e0
[  302.078307]  [<ffffffff81204a5e>] ? mem_cgroup_commit_charge+0x7e/0x4e0
[  302.079083]  [<ffffffff81193af6>] ? lru_cache_add_active_or_unevictable+0x36/0xb0
[  302.079872]  [<ffffffff811bbf00>] ? handle_mm_fault+0x400/0x16d0
[  302.080625]  [<ffffffff814d4bc4>] __sys_sendmsg+0x54/0x90
[  302.081362]  [<ffffffff814d4c12>] SyS_sendmsg+0x12/0x20
[  302.082125]  [<ffffffff8160a737>] entry_SYSCALL_64_fastpath+0x1a/0xa9
[  302.082853] Code:  Bad RIP value.
[  302.083607] RIP  [<          (null)>]           (null)
[  302.084361]  RSP <ffffc90001a83608>
[  302.085071] CR2: 0000000000000000
[  302.085809] ---[ end trace 27cc834e1cf5434b ]---

Does anyone have any idea how to resolve this issue?

Thanks in advance!!

Offline

#2 2017-02-02 18:16:50

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: rtl8723be unable to handle kernel NULL pointer dereference

I had the same bug when I did not choose which antenna to use.

You have to use ant_sel=2 (or may be 1) to choose whcich antenna to use.

Make a file /etc/modprobe.d/rtl8723be.conf with

options rtl8723be ant_sel=2

and reload the module

Offline

#3 2017-02-03 03:28:16

Oracular
Member
Registered: 2017-01-29
Posts: 2

Re: rtl8723be unable to handle kernel NULL pointer dereference

solstice wrote:

I had the same bug when I did not choose which antenna to use.

You have to use ant_sel=2 (or may be 1) to choose whcich antenna to use.

Make a file /etc/modprobe.d/rtl8723be.conf with

options rtl8723be ant_sel=2

and reload the module

I already have that line in the conf file and it hasn't made a different for me unfortunately.

Offline

#4 2017-02-03 12:37:12

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: rtl8723be unable to handle kernel NULL pointer dereference

You can meanwhile report the stack trace crash as an issue in github? May be a quick fix will help you.

Offline

Board footer

Powered by FluxBB