Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel error after removing device #2

Open
SuNNjek opened this issue Dec 22, 2021 · 0 comments
Open

Kernel error after removing device #2

SuNNjek opened this issue Dec 22, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SuNNjek
Copy link
Owner

SuNNjek commented Dec 22, 2021

When a device is removed and TVHeadend is running at the same time, I get the following error in the kernel logs:

Dez 22 02:40:37 raspberrypi tvsatd[584]: Removing device at 192.168.178.3
Dez 22 02:40:37 raspberrypi kernel: Unable to handle kernel execute from non-executable memory at virtual address ffffff
8140c92c00
Dez 22 02:40:37 raspberrypi kernel: Mem abort info:
Dez 22 02:40:37 raspberrypi kernel:   ESR = 0x8600000f
Dez 22 02:40:37 raspberrypi kernel:   EC = 0x21: IABT (current EL), IL = 32 bits
Dez 22 02:40:37 raspberrypi kernel:   SET = 0, FnV = 0
Dez 22 02:40:37 raspberrypi kernel:   EA = 0, S1PTW = 0
Dez 22 02:40:37 raspberrypi kernel: swapper pgtable: 4k pages, 39-bit VAs, pgdp=00000000010d9000
Dez 22 02:40:37 raspberrypi kernel: [ffffff8140c92c00] pgd=00000001ff629003, p4d=00000001ff629003, pud=00000001ff629003,
 pmd=00000001ff622003, pte=0068000140c92707
Dez 22 02:40:37 raspberrypi kernel: Internal error: Oops: 8600000f [#1] PREEMPT SMP
Dez 22 02:40:37 raspberrypi kernel: Modules linked in: xt_nat xt_tcpudp veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nft_counter xt_addrtype nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink br_netfilter bridge overlay cfg80211 rfkill 8021q garp stp llc snd_soc_hdmi_codec sg bcm2835_codec(C) bcm2835_v4l2(C) bcm2835_isp(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem vc4 videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 cec videobuf2_common v3d drm_kms_helper raspberrypi_hwmon gpu_sched vc_sm_cma(C) videodev i2c_brcmstb drm drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd syscopyarea rpivid_mem sysfillrect sysimgblt nvmem_rmem fb_sys_fops backlight uio_pdrv_genirq uio tvsat(O) natbus(O) dvb_core mc aes_neon_bs sha256_generic aes_neon_blk crypto_simd cryptd ip_tables x_tables ipv6
Dez 22 02:40:37 raspberrypi kernel: CPU: 2 PID: 4476 Comm: tvh:fsmonitor Tainted: G         C O      5.10.63-v8+ #1496
Dez 22 02:40:37 raspberrypi kernel: Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)
Dez 22 02:40:37 raspberrypi kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
Dez 22 02:40:37 raspberrypi kernel: pc : 0xffffff8140c92c00
Dez 22 02:40:37 raspberrypi kernel: lr : __fput+0x80/0x238
Dez 22 02:40:37 raspberrypi kernel: sp : ffffffc013bdbd70
Dez 22 02:40:37 raspberrypi kernel: x29: ffffffc013bdbd70 x28: ffffff81090d0000 
Dez 22 02:40:37 raspberrypi kernel: x27: 0000000000000000 x26: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x25: 0000000000000000 x24: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x23: ffffff81069567a0 x22: ffffff80aa44b900 
Dez 22 02:40:37 raspberrypi kernel: x21: ffffff81271adb90 x20: 000000000008001f 
Dez 22 02:40:37 raspberrypi kernel: x19: ffffff8100240a00 x18: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x17: 0000000000000000 x16: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x15: 0000000000000000 x14: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x13: 0000000000000000 x12: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x11: 0000000000000000 x10: 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x9 : ffffffc0102c55d0 x8 : 0000000000000000 
Dez 22 02:40:37 raspberrypi kernel: x7 : 0000000000000001 x6 : ffffffc013bdbd30 
Dez 22 02:40:37 raspberrypi kernel: x5 : ffffff81271adb90 x4 : ffffff8106956780 
Dez 22 02:40:37 raspberrypi kernel: x3 : 0000000000000001 x2 : ffffff8140c92c00 
Dez 22 02:40:37 raspberrypi kernel: x1 : ffffff8100240a00 x0 : ffffff81271adb90
Dez 22 02:40:37 raspberrypi kernel: Call trace:
Dez 22 02:40:37 raspberrypi kernel:  0xffffff8140c92c00
Dez 22 02:40:37 raspberrypi kernel:  ____fput+0x18/0x28
Dez 22 02:40:37 raspberrypi kernel:  task_work_run+0x90/0x150
Dez 22 02:40:37 raspberrypi kernel:  do_notify_resume+0x22c/0x6d8
Dez 22 02:40:37 raspberrypi kernel:  work_pending+0xc/0x43c
Dez 22 02:40:37 raspberrypi kernel: Code: 00000000 00000000 00000000 00000000 (00000000) 
Dez 22 02:40:37 raspberrypi kernel: ---[ end trace 709c3e16a81ccbef ]---

I need to check whether this is the fault of the kernel module (which I strongly suspect) and how to debug/fix this.

@SuNNjek SuNNjek added the bug Something isn't working label Dec 22, 2021
@SuNNjek SuNNjek self-assigned this Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant