Open zorazor opened 4 years ago
Please include the whole stack trace - everything between the start and end lines.
I have similar problem with TP-Link UB400 BT dongle. After some times the dongle stops working and in logs is:
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.495930] Internal error: Oops: 207 [#1] SMP ARM
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496317] Process kworker/u9:1 (pid: 325, stack limit = 0x38da11fe)
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496326] Stack: (0xd406fde8 to 0xd4070000)
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496336] fde0: d55098a4 d5509000 00000000 d5509008 d406fe24 d406fe08
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496348] fe00: bf91ed48 bf91c730 d5509000 d2252e40 c1004d88 cb24e000 d406fec4 d406fe28
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496360] fe20: bf92603c bf91ec7c d406fe5c d406fe60 eff32440 c09d9ee8 d40a4b00 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496372] fe40: d406fe6c c0e9cad8 c09dfd9c 00000000 d5509000 005097d8 d550200d bf91ec70
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496384] fe60: 00000000 d406fe70 c0305db8 c0306fbc 40000013 d55097d8 d55097e4 bf937504
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496395] fe80: 00000000 d448c800 d2252e40 d5509000 d406fec4 cf92532f bf937504 d5484200
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496407] fea0: d5509700 d2252e40 d5509000 d55097d8 d5509704 00000001 d406fefc d406fec8
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496419] fec0: bf917e88 bf925cf0 d5509704 00000001 d406fefc d5484200 d5509700 efb1fe00
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496430] fee0: dc494700 00000000 d5509704 00000001 d406ff34 d406ff00 c023e080 bf917d28
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496442] ff00: 40000093 efb1fe00 efb1fe00 efb1fe00 d5484214 efb1fe00 efb1fe18 c1003d00
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496454] ff20: 00000088 d5484200 d406ff7c d406ff38 c023e3c4 c023df1c d406ff5c 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496465] ff40: c1003d00 c1003d00 c1097356 d406e038 d406ff7c d4004c40 d4004100 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496477] ff60: d5484200 c023e368 d4004c5c efb61e74 d406ffac d406ff80 c02446f8 c023e374
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496489] ff80: c02043d8 d4004100 c02445c0 00000000 00000000 00000000 00000000 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496500] ffa0: 00000000 d406ffb0 c02010ac c02445cc 00000000 00000000 00000000 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496512] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496523] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Message from syslogd@rpi at Apr 30 14:59:39 ... kernel:[ 5513.496937] Code: e92dd8f0 e24cb004 e52de004 e8bd4000 (e5d05012)
My configuration: Which model of Raspberry Pi?
Pi4B 4GB
Which OS and version (cat /etc/rpi-issue)? Raspberry Pi reference 2019-09-26 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 80d486687ea77d31fc3fc13cf3a2f8b464e129be, stage2
Which firmware version (vcgencmd version)? Apr 27 2020 14:33:37 Copyright (c) 2012 Broadcom version 3a8f1793b758d6fb7f375edaa260e069ecd34c88 (clean) (release) (start)
Which kernel version (uname -a)? Linux rpi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
And also:
Apr 30 09:52:51 rpi kernel: [56353.481787] Unable to handle kernel NULL pointer dereference at virtual address 00000012
Apr 30 09:52:51 rpi kernel: [56353.481803] pgd = 6bcf787a
Apr 30 09:52:51 rpi kernel: [56353.481811] [00000012] pgd=80000000004003, pmd=00000000
Apr 30 09:52:51 rpi kernel: [56353.481824] Internal error: Oops: 207 [#1] SMP ARM
Apr 30 09:52:51 rpi kernel: [56353.481832] Modules linked in: aes_arm_bs crypto_simd cryptd algif_skcipher af_alg xt_nat veth ipt_MASQUERADE nf_conntrack_netlink nft_chain_nat_ipv4 nf_nat_ipv4 br_netfilter bridge overlay rfcomm cmac bnep 8021q garp stp llc binfmt_misc btusb btrtl btintel sg btbcm cdc_acm bluetooth ecdh_generic brcmfmac brcmutil vc4 bcm2835_codec(C) drm_kms_helper v3d bcm2835_v4l2(C) cfg80211 v4l2_mem2mem bcm2835_mmal_vchiq(C) gpu_sched rfkill snd_soc_core v4l2_common videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_compress snd_bcm2835(C) videobuf2_common snd_pcm_dmaengine syscopyarea sysfillrect snd_pcm sysimgblt videodev drm fb_sys_fops media snd_timer raspberrypi_hwmon vc_sm_cma(C) drm_panel_orientation_quirks hwmon snd rpivid_mem uio_pdrv_genirq uio nf_log_ipv6 xt_hl ip6_tables ip6t_rt
Apr 30 09:52:51 rpi kernel: [56353.481949] nf_log_ipv4 nf_log_common xt_LOG xt_multiport xt_comment nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nft_compat nft_counter nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink ip_tables x_tables ipv6
Apr 30 09:52:51 rpi kernel: [56353.481995] CPU: 0 PID: 43 Comm: kworker/u9:0 Tainted: G C 4.19.118-v7l+ #1311
Apr 30 09:52:51 rpi kernel: [56353.482004] Hardware name: BCM2835
Apr 30 09:52:51 rpi kernel: [56353.482057] Workqueue: hci0 hci_rx_work [bluetooth]
Apr 30 09:52:51 rpi kernel: [56353.482102] PC is at hci_connect_le_scan_cleanup+0x14/0x124 [bluetooth]
Apr 30 09:52:51 rpi kernel: [56353.482145] LR is at create_le_conn_complete+0xd8/0xdc [bluetooth]
Apr 30 09:52:51 rpi kernel: [56353.482154] pc : [
I saw this message as well. Wifi didn't work even if I set country in wpa_supplicant.conf file. I had to connect via LAN and run "raspi-config" to set wifi country from menu and it worked. Now even if I remove country= line, it still works. There must be something secret with raspi-config and rfkill. I don't know which files it touches and I don't have time to do a full FS compare from vanilla RPI image.
Same problem. Stack trace:
Sep 8 10:50:24 zero kernel: [67917.777678] 8<--- cut here --- Sep 8 10:50:24 zero kernel: [67917.779966] Unable to handle kernel NULL pointer dereference at virtual address 00000012 Sep 8 10:50:24 zero kernel: [67917.784621] pgd = 6a69b438 Sep 8 10:50:24 zero kernel: [67917.786909] [00000012] *pgd=00000000 Sep 8 10:50:24 zero kernel: [67917.789169] Internal error: Oops: 17 [#1] ARM Sep 8 10:50:24 zero kernel: [67917.791421] Modules linked in: algif_hash ecb algif_skcipher af_alg md4 md5 sha512_generic hmac nls_utf8 cifs gcm libarc4 aes_arm aes_generic cmac bnep hci_uart btbcm bluetooth ecdh_generic ecc libaes 8021q garp stp llc brcmfmac brcmutil sha256_generic libsha256 cfg80211 rfkill raspberrypi_hwmon bcm2835_codec(C) v4l2_mem2mem bcm2835_v4l2(C) bcm2835_isp(C) bcm2835_mmal_vchiq(C) snd_bcm2835(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common snd_pcm snd_timer snd videodev vc_sm_cma(C) mc uio_pdrv_genirq uio fixed ip_tables x_tables ipv6 nf_defrag_ipv6 Sep 8 10:50:24 zero kernel: [67917.812666] CPU: 0 PID: 32 Comm: kworker/u3:0 Tainted: G C 5.4.51+ #1333 Sep 8 10:50:24 zero kernel: [67917.818516] Hardware name: BCM2835 Sep 8 10:50:24 zero kernel: [67917.822156] Workqueue: hci0 hci_rx_work [bluetooth] Sep 8 10:50:24 zero kernel: [67917.825676] PC is at hci_connect_le_scan_cleanup+0x14/0x12c [bluetooth] Sep 8 10:50:24 zero kernel: [67917.829280] LR is at create_le_conn_complete+0xd0/0xd8 [bluetooth] Sep 8 10:50:24 zero kernel: [67917.832446] pc : [
] lr : [ ] psr: 60000013 Sep 8 10:50:24 zero kernel: [67917.835687] sp : d7637de0 ip : d7637e00 fp : d7637dfc Sep 8 10:50:24 zero kernel: [67917.838867] r10: d3bfa700 r9 : d4882180 r8 : d3bfa7d4 Sep 8 10:50:24 zero kernel: [67917.841944] r7 : 00000000 r6 : d3bfa008 r5 : d3bfa000 r4 : d3bfa888 Sep 8 10:50:24 zero kernel: [67917.845110] r3 : bf3e45ac r2 : 00000000 r1 : 00000000 r0 : 00000000 Sep 8 10:50:24 zero kernel: [67917.848248] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Sep 8 10:50:24 zero kernel: [67917.851492] Control: 00c5387d Table: 0fea4008 DAC: 00000055 Sep 8 10:50:24 zero kernel: [67917.854726] Process kworker/u3:0 (pid: 32, stack limit = 0x18c88817) Sep 8 10:50:24 zero kernel: [67917.857936] Stack: (0xd7637de0 to 0xd7638000) Sep 8 10:50:24 zero kernel: [67917.861059] 7de0: d3bfa888 d3bfa000 d3bfa008 00000000 d7637e1c d7637e00 bf3e467c bf3e1e08 Sep 8 10:50:24 zero kernel: [67917.867121] 7e00: d3bfa000 d4882180 d4882cc0 0000000e d7637ecc d7637e20 bf3ebd98 bf3e45b8 Sep 8 10:50:24 zero kernel: [67917.873244] 7e20: d7637e68 d7637e6c c0013580 00000000 c0a47028 00000003 d7637e84 d7637e48 Sep 8 10:50:24 zero kernel: [67917.879395] 7e40: c00135d0 c00148a8 c00135d0 00000000 bf3db9f0 d7637f0c d7637ed0 00000000 Sep 8 10:50:24 zero kernel: [67917.885673] 7e60: 00882180 c060200d bf3e45ac 00000000 d3bfa7d4 00000008 d7637eac d7637e88 Sep 8 10:50:24 zero kernel: [67917.892304] 7e80: c00d9884 c00da9cc d3bfa7d4 d4882180 60000013 d3bfa7d4 d3bfa000 668220f8 Sep 8 10:50:24 zero kernel: [67917.899068] 7ea0: d7637ecc d3bfa6fc d3bfa6fc d3bfa888 d3bfa000 d3bfa7d4 d4882180 d3bfa700 Sep 8 10:50:24 zero kernel: [67917.906135] 7ec0: d7637f0c d7637ed0 bf3dbb4c bf3eba44 d40d7600 00000008 d7637f0c d3bfa00c Sep 8 10:50:24 zero kernel: [67917.913524] 7ee0: c00d9884 d3bfa6fc d757fc00 00000060 00000000 d40d7600 00000008 d3bfa700 Sep 8 10:50:24 zero kernel: [67917.921027] 7f00: d7637f44 d7637f10 c003e2f8 bf3db9bc c003e998 d75fe600 d7637f44 d757fc00 Sep 8 10:50:24 zero kernel: [67917.928745] 7f20: d75fe600 d757fc14 d75fe614 c0a578c0 00000088 d75fe600 d7637f7c d7637f48 Sep 8 10:50:24 zero kernel: [67917.936481] 7f40: c003e90c c003e1d0 d7637f7c 00000000 c00433d0 d75fc300 d7608240 00000000 Sep 8 10:50:24 zero kernel: [67917.944292] 7f60: d757fc00 c003e8d8 d74e1d00 d75fc318 d7637fac d7637f80 c0044134 c003e8e4 Sep 8 10:50:24 zero kernel: [67917.952030] 7f80: ffffffff d7608240 c0044018 00000000 00000000 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67917.959827] 7fa0: 00000000 d7637fb0 c00090ac c0044024 00000000 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67917.967565] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67917.975375] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67917.983092] Backtrace: Sep 8 10:50:24 zero kernel: [67917.987741] [ ] (hci_connect_le_scan_cleanup [bluetooth]) from [ ] (create_le_conn_complete+0xd0/0xd8 [bluetooth]) Sep 8 10:50:24 zero kernel: [67917.995433] r7:00000000 r6:d3bfa008 r5:d3bfa000 r4:d3bfa888 Sep 8 10:50:24 zero kernel: [67917.999999] [ ] (create_le_conn_complete [bluetooth]) from [ ] (hci_event_packet+0x360/0x2ed4 [bluetooth]) Sep 8 10:50:24 zero kernel: [67918.007549] r7:0000000e r6:d4882cc0 r5:d4882180 r4:d3bfa000 Sep 8 10:50:24 zero kernel: [67918.012106] [ ] (hci_event_packet [bluetooth]) from [ ] (hci_rx_work+0x19c/0x278 [bluetooth]) Sep 8 10:50:24 zero kernel: [67918.019435] r10:d3bfa700 r9:d4882180 r8:d3bfa7d4 r7:d3bfa000 r6:d3bfa888 r5:d3bfa6fc Sep 8 10:50:24 zero kernel: [67918.026716] r4:d3bfa6fc Sep 8 10:50:24 zero kernel: [67918.030650] [ ] (hci_rx_work [bluetooth]) from [ ] (process_one_work+0x134/0x3f4) Sep 8 10:50:24 zero kernel: [67918.037716] r10:d3bfa700 r9:00000008 r8:d40d7600 r7:00000000 r6:00000060 r5:d757fc00 Sep 8 10:50:24 zero kernel: [67918.044718] r4:d3bfa6fc Sep 8 10:50:24 zero kernel: [67918.048066] [ ] (process_one_work) from [ ] (worker_thread+0x34/0x540) Sep 8 10:50:24 zero kernel: [67918.054791] r10:d75fe600 r9:00000088 r8:c0a578c0 r7:d75fe614 r6:d757fc14 r5:d75fe600 Sep 8 10:50:24 zero kernel: [67918.061624] r4:d757fc00 Sep 8 10:50:24 zero kernel: [67918.064966] [ ] (worker_thread) from [ ] (kthread+0x11c/0x154) Sep 8 10:50:24 zero kernel: [67918.071708] r10:d75fc318 r9:d74e1d00 r8:c003e8d8 r7:d757fc00 r6:00000000 r5:d7608240 Sep 8 10:50:24 zero kernel: [67918.078539] r4:d75fc300 Sep 8 10:50:24 zero kernel: [67918.081829] [ ] (kthread) from [ ] (ret_from_fork+0x14/0x28) Sep 8 10:50:24 zero kernel: [67918.085254] Exception stack(0xd7637fb0 to 0xd7637ff8) Sep 8 10:50:24 zero kernel: [67918.088621] 7fa0: 00000000 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67918.095142] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Sep 8 10:50:24 zero kernel: [67918.101761] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 Sep 8 10:50:24 zero kernel: [67918.105189] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0044018 Sep 8 10:50:24 zero kernel: [67918.111689] r4:d7608240 r3:ffffffff Sep 8 10:50:24 zero kernel: [67918.114936] Code: e92dd8f0 e24cb004 e52de004 e8bd4000 (e5d05012) Sep 8 10:50:24 zero kernel: [67918.118500] ---[ end trace 5d209432273c77ec ]---
Same problem, reconnecting a bluetooth keyboard:
Jan 15 18:51:07 4GB kernel: [435222.428754] Unable to handle kernel NULL pointer dereference at virtual address 00000100
Jan 15 18:51:07 4GB kernel: [435222.428776] pgd = cccd97ad
Jan 15 18:51:07 4GB kernel: [435222.428790] [00000100] pgd=80000000004003, pmd=00000000
Jan 15 18:51:07 4GB kernel: [435222.428822] Internal error: Oops: 207 [#1] SMP ARM
Jan 15 18:51:07 4GB kernel: [435222.428835] Modules linked in: snd_seq_dummy snd_seq snd_seq_device joydev hidp rfcomm bnep hci_uart btbcm serd
ev bluetooth ecdh_generic fuse 8021q garp stp llc binfmt_misc evdev sg vc4 drm_kms_helper v3d gpu_sched brcmfmac brcmutil drm drm_panel_orienta
tion_quirks sha256_generic snd_soc_core snd_bcm2835(C) cfg80211 snd_compress snd_pcm_dmaengine snd_pcm snd_timer raspberrypi_hwmon rfkill hwmon
syscopyarea sysfillrect sysimgblt fb_sys_fops snd bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) v4l2_common videobuf2_dm
a_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev vc_sm_cma(C) media rpivid_mem uio_pdrv_genirq uio fixed i2
c_dev ip_tables x_tables ipv6
Jan 15 18:51:07 4GB kernel: [435222.429349] CPU: 1 PID: 15257 Comm: kworker/u9:2 Tainted: G C 4.19.75-v7l+ #1270
Jan 15 18:51:07 4GB kernel: [435222.429364] Hardware name: BCM2835
Jan 15 18:51:07 4GB kernel: [435222.429488] Workqueue: hci0 hci_rx_work [bluetooth]
Jan 15 18:51:07 4GB kernel: [435222.429523] PC is at wake_up_common+0x6c/0x144
Jan 15 18:51:07 4GB kernel: [435222.429540] LR is at _raw_spin_unlock_irqrestore+0x6c/0x70
Jan 15 18:51:07 4GB kernel: [435222.429553] pc : [
Same happpend here, command was:
noone@silverpi:~ $ sudo rfcomm connect 0 98:D3:B1:xx:xx:xx
Connected /dev/rfcomm0 to 98:D3:B1:xx:xx:xx on channel 1
Press CTRL-C for hangup
^C
Message from syslogd@silverpi at May 26 10:42:18 ...
kernel:[ 2159.075334] Internal error: Oops: 96000005 [#1] PREEMPT SMP
Message from syslogd@silverpi at May 26 10:42:18 ...
kernel:[ 2159.101327] Code: 910003fd f9000bf3 aa0003f3 f940dc00 (f9402001)
Segmentation fault
noone@silverpi:~ $
dmesg says:
noone@silverpi:~ $ sudo dmesg -c
[ 206.009408] Bluetooth: RFCOMM TTY layer initialized
[ 206.009455] Bluetooth: RFCOMM socket layer initialized
[ 206.009483] Bluetooth: RFCOMM ver 1.11
[ 2159.067241] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040
[ 2159.069007] Mem abort info:
[ 2159.069554] ESR = 0x96000005
[ 2159.070074] EC = 0x25: DABT (current EL), IL = 32 bits
[ 2159.070595] SET = 0, FnV = 0
[ 2159.071096] EA = 0, S1PTW = 0
[ 2159.071596] FSC = 0x05: level 1 translation fault
[ 2159.072156] Data abort info:
[ 2159.072678] ISV = 0, ISS = 0x00000005
[ 2159.073197] CM = 0, WnR = 0
[ 2159.073708] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000011860000
[ 2159.074246] [0000000000000040] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[ 2159.075334] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 2159.075899] Modules linked in: rfcomm cmac algif_hash aes_arm64 algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc g_mass_storage usb_f_mass_storage libcomposite pps_ldisc 8021q garp stp llc exfat btrfs blake2b_generic xor xor_neon zstd_compress raid6_pq dm_mod brcmfmac brcmutil raspberrypi_hwmon cfg80211 rfkill dwc2 bcm2835_v4l2(C) bcm2835_codec(C) bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops roles videobuf2_v4l2 videobuf2_common videodev vc_sm_cma(C) mc pps_gpio uio_pdrv_genirq uio nbd drm drm_panel_orientation_quirks backlight fuse ip_tables x_tables ipv6
[ 2159.081232] CPU: 0 PID: 1457 Comm: btcheck.php Tainted: G C 5.15.32-v8+ #1538
[ 2159.082689] Hardware name: Raspberry Pi 3 Model A Plus Rev 1.0 (DT)
[ 2159.083420] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2159.084172] pc : rfcomm_dev_shutdown+0x20/0x50 [rfcomm]
[ 2159.084950] lr : tty_port_shutdown+0xa8/0xd8
[ 2159.085716] sp : ffffffc00a233c30
[ 2159.086459] x29: ffffffc00a233c30 x28: ffffff8002133c80 x27: 0000000000000000
[ 2159.087242] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000100000
[ 2159.088027] x23: 0000000000000000 x22: ffffff801a3eb200 x21: ffffff8019443800
[ 2159.088810] x20: ffffff800442a700 x19: ffffff800442a600 x18: 0000000000000000
[ 2159.089601] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 2159.090394] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 2159.091166] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffffc00870a9d0
[ 2159.091919] x8 : ffffffc0096b8260 x7 : 0000000000000000 x6 : 000000000000003f
[ 2159.092653] x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffffff800442a6f0
[ 2159.093378] x2 : 0000000000000000 x1 : ffffffc0011f48f0 x0 : 0000000000000000
[ 2159.094087] Call trace:
[ 2159.094758] rfcomm_dev_shutdown+0x20/0x50 [rfcomm]
[ 2159.095432] tty_port_shutdown+0xa8/0xd8
[ 2159.096074] tty_port_close+0x58/0xb0
[ 2159.096689] rfcomm_tty_close+0x24/0x30 [rfcomm]
[ 2159.097295] tty_release+0x118/0x4a0
[ 2159.097870] __fput+0x78/0x240
[ 2159.098416] ____fput+0x18/0x28
[ 2159.098937] task_work_run+0x90/0x168
[ 2159.099443] do_notify_resume+0x1f4/0x470
[ 2159.099936] el0_svc+0x58/0x60
[ 2159.100409] el0t_64_sync_handler+0x90/0xb8
[ 2159.100872] el0t_64_sync+0x1a0/0x1a4
[ 2159.101327] Code: 910003fd f9000bf3 aa0003f3 f940dc00 (f9402001)
[ 2159.101799] ---[ end trace c81b55681132b2bf ]---
noone@silverpi:~ $
Only rebooting fixes bluetooth connections again.
Is this the right place for my bug report? Yes, the error starts with:
raspberrypi kernel: [ 4188.416710] Unable to handle kernel NULL pointer dereference at virtual address 00000100
Describe the bug This error occurs when connecting with my bluetooth keyboard incl. trackpad and the Raspberry Pi 4. The error doesn't occur with every connection establishment (approximately after 50 connects and disconnects). It affects bluetooth (hidp, rfcomm, hci ... ).
To reproduce
System Copy and paste the results of the raspinfo command in to this section. Alternatively, copy and paste a pastebin link, or add answers to the following questions:
Which model of Raspberry Pi? e.g. Pi3B+, PiZeroW Pi4B 4GB
Which OS and version (
cat /etc/rpi-issue
)? Raspberry Pi reference 2019-09-26 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 80d486687ea77d31fc3fc13cf3a2f8b464e129be, stage4Which firmware version (
vcgencmd version
)? Feb 12 2020 12:36:21 Copyright (c) 2012 Broadcom version c3c8dbdf147686fb0c3f32aece709d0653368810 (clean) (release) (start)Which kernel version (
uname -a
)? Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/LinuxLogs If applicable, add the relevant output from
dmesg
or similar.Mar 8 21:48:51 raspberrypi kernel: [ 4188.416710] Unable to handle kernel NULL pointer dereference at virtual address 00000100 Mar 8 21:48:51 raspberrypi kernel: [ 4188.416732] pgd = 024205b4 Mar 8 21:48:51 raspberrypi kernel: [ 4188.416743] [00000100] *pgd=80000000004003, *pmd=00000000 Mar 8 21:48:51 raspberrypi kernel: [ 4188.416761] Internal error: Oops: 207 [#1] SMP ARM Mar 8 21:48:51 raspberrypi kernel: [ 4188.416772] Modules linked in: hidp rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc evdev sg snd_usb_audio snd_hwdep uvcvideo snd_usbmidi_lib snd_rawmidi snd_seq_device vc4 brcmfmac brcmutil sha256_generic drm_kms_helper v3d snd_soc_core snd_compress gpu_sched snd_pcm_dmaengine bcm2835_v4l2(C) bcm2835_codec(C) v4l2_mem2mem snd_bcm2835(C) bcm2835_mmal_vchiq(C) snd_pcm cfg80211 v4l2_common drm snd_timer raspberrypi_hwmon rfkill hwmon syscopyarea drm_panel_orientation_quirks videobuf2_dma_contig sysfillrect sysimgblt fb_sys_fops snd videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem uio_pdrv_genirq uio i2c_dev ip_tables x_tables ipv6 Mar 8 21:48:51 raspberrypi kernel: [ 4188.416923] CPU: 3 PID: 10046 Comm: kworker/u9:2 Tainted: G C 4.19.97-v7l+ #1294 Mar 8 21:48:51 raspberrypi kernel: [ 4188.416934] Hardware name: BCM2835 Mar 8 21:48:51 raspberrypi kernel: [ 4188.417035] Workqueue: hci0 hci_rx_work [bluetooth] Mar 8 21:48:51 raspberrypi kernel: [ 4188.417060] PC is at __wake_up_common+0x6c/0x144 Mar 8 21:48:51 raspberrypi kernel: [ 4188.417077] LR is at _raw_spin_unlock_irqrestore+0x6c/0x70