No internet connection
  1. Home
  2. Technical Support

Problem in videobuf2-core ?

By Dominik @domdorn
    2022-05-20 08:44:12.020Z

    I just made a dmesg to verify my undervoltage problem was gone (it is) and found this in the logs.. no clue what it means / if its a problem:

    [1399846.223492] ------------[ cut here ]------------
    [1399846.223721] WARNING: CPU: 0 PID: 11 at drivers/media/common/videobuf2/videobuf2-core.c:997 vb2_buffer_done+0x22c/0x234 [videobuf2_common]
    [1399846.223736] Modules linked in: tun cmac bnep hci_uart btbcm bluetooth ecdh_generic ecc 8021q garp stp llc usb_f_hid(O) libcomposite tc358743 brcmfmac brcmutil bcm2835_unicam vc4 bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) sha256_generic cec v4l2_mem2mem v4l2_dv_timings cfg80211 bcm2835_mmal_vchiq(C) drm_kms_helper v4l2_fwnode videobuf2_dma_contig videobuf2_vmalloc rfkill videobuf2_memops snd_soc_core videobuf2_v4l2 videobuf2_common snd_bcm2835(C) snd_compress v3d videodev snd_pcm_dmaengine snd_pcm mc gpu_sched snd_timer vc_sm_cma(C) syscopyarea i2c_mux_pinctrl drm sysfillrect snd sysimgblt i2c_bcm2835 raspberrypi_hwmon fb_sys_fops i2c_mux drm_panel_orientation_quirks backlight rpivid_mem uio_pdrv_genirq uio nvmem_rmem dwc2 roles ip_tables x_tables ipv6
    [1399846.224184] CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G         C O      5.10.17-v7l+ #1414
    [1399846.224191] Hardware name: BCM2711
    [1399846.224199] Backtrace:
    [1399846.224231] [<c0b63050>] (dump_backtrace) from [<c0b633e4>] (show_stack+0x20/0x24)
    [1399846.224243]  r7:ffffffff r6:00000000 r5:60000193 r4:c12e69fc
    [1399846.224258] [<c0b633c4>] (show_stack) from [<c0b67774>] (dump_stack+0xcc/0xf8)
    [1399846.224273] [<c0b676a8>] (dump_stack) from [<c0220bac>] (__warn+0xfc/0x114)
    [1399846.224285]  r10:00000608 r9:00000009 r8:bf2004cc r7:000003e5 r6:00000009 r5:bf2004cc
    [1399846.224293]  r4:bf205f90 r3:c1205094
    [1399846.224307] [<c0220ab0>] (__warn) from [<c0b63b54>] (warn_slowpath_fmt+0x70/0xd8)
    [1399846.224316]  r7:000003e5 r6:bf205f90 r5:c1205048 r4:00000000
    [1399846.224346] [<c0b63ae8>] (warn_slowpath_fmt) from [<bf2004cc>] (vb2_buffer_done+0x22c/0x234 [videobuf2_common])
    [1399846.224357]  r9:c2b6ac10 r8:00000000 r7:00000000 r6:00000005 r5:c41c3400 r4:c2b6a3a8
    [1399846.224391] [<bf2002a0>] (vb2_buffer_done [videobuf2_common]) from [<bf3519c0>] (unicam_isr+0x124/0x3a4 [bcm2835_unicam])
    [1399846.224401]  r9:c2b6ac10 r8:00000000 r7:00000000 r6:c2b6a000 r5:c2b6a000 r4:bf3582c0
    [1399846.224423] [<bf35189c>] (unicam_isr [bcm2835_unicam]) from [<c0287e20>] (__handle_irq_event_percpu+0xa8/0x268)
    [1399846.224434]  r10:c1933928 r9:ffffe000 r8:00000034 r7:c1a3db00 r6:00000000 r5:c1a3db6c
    [1399846.224441]  r4:c356a8c0
    [1399846.224455] [<c0287d78>] (__handle_irq_event_percpu) from [<c028801c>] (handle_irq_event_percpu+0x3c/0x90)
    [1399846.224466]  r10:00000001 r9:c1932000 r8:c1810800 r7:00000001 r6:c1a3db00 r5:c1a3db6c
    [1399846.224473]  r4:c1205048
    [1399846.224486] [<c0287fe0>] (handle_irq_event_percpu) from [<c02880c4>] (handle_irq_event+0x54/0x78)
    [1399846.224495]  r6:00000000 r5:c1a3db6c r4:c1a3db00
    [1399846.224508] [<c0288070>] (handle_irq_event) from [<c028ce60>] (handle_fasteoi_irq+0xd4/0x18c)
    [1399846.224518]  r7:00000001 r6:00000000 r5:c1205b3c r4:c1a3db00
    [1399846.224529] [<c028cd8c>] (handle_fasteoi_irq) from [<c0286ddc>] (generic_handle_irq+0x44/0x54)
    [1399846.224537]  r5:00000000 r4:c1094d10
    [1399846.224550] [<c0286d98>] (generic_handle_irq) from [<c028753c>] (__handle_domain_irq+0x6c/0xc4)
    [1399846.224563] [<c02874d0>] (__handle_domain_irq) from [<c020135c>] (gic_handle_irq+0x90/0xa4)
    [1399846.224574]  r9:c1932000 r8:c1094d1c r7:c19339e8 r6:f080200c r5:f0802000 r4:c1205b3c
    [1399846.224585] [<c02012cc>] (gic_handle_irq) from [<c0200abc>] (__irq_svc+0x5c/0x7c)
    [1399846.224593] Exception stack(0xc19339e8 to 0xc1933a30)
    [1399846.224604] 39e0:                   00000000 00000000 00004829 00000008 c43db738 00004829
    [1399846.224614] 3a00: 00000100 c2288000 c1933a9f 00000000 00000001 c1933a6c c1933a38 c1933a38
    [1399846.224623] 3a20: c09fde38 c09fdd6c 60000013 ffffffff
    [1399846.224634]  r9:c1932000 r8:c1933a9f r7:c1933a1c r6:ffffffff r5:60000013 r4:c09fdd6c
    [1399846.224651] [<c09fdc24>] (validate_xmit_skb) from [<c09fdf48>] (validate_xmit_skb_list+0x48/0x7c)
    [1399846.224662]  r10:00000001 r9:00000000 r8:c1933a9f r7:c2288000 r6:c1205048 r5:00000000
    [1399846.224669]  r4:00000000
    [1399846.224683] [<c09fdf00>] (validate_xmit_skb_list) from [<c0a47200>] (sch_direct_xmit+0x1b4/0x4a0)
    [1399846.224694]  r9:c2288000 r8:c21d2800 r7:00000000 r6:c1205048 r5:c43db738 r4:c37a2800
    [1399846.224705] [<c0a4704c>] (sch_direct_xmit) from [<c0a47654>] (__qdisc_run+0x168/0x68c)
    [1399846.224715]  r10:00000001 r9:c43db738 r8:00000040 r7:c21d2800 r6:00000001 r5:c43db738
    [1399846.224722]  r4:c37a2800
    [1399846.224735] [<c0a474ec>] (__qdisc_run) from [<c09fec98>] (__dev_queue_xmit+0x7b0/0xa20)
    [1399846.224745]  r10:00000010 r9:00000000 r8:c21d2800 r7:c1205048 r6:c37a2800 r5:c2288000
    [1399846.224752]  r4:c43db738
    [1399846.224766] [<c09fe4e8>] (__dev_queue_xmit) from [<c09fef24>] (dev_queue_xmit+0x1c/0x20)
    [1399846.224776]  r10:00000010 r9:00000071 r8:c22ae68c r7:c1205048 r6:00000002 r5:c43db738
    [1399846.224784]  r4:c22ae600
    [1399846.224797] [<c09fef08>] (dev_queue_xmit) from [<c0a8035c>] (ip_finish_output2+0x258/0x5f8)
    [1399846.224808] [<c0a80104>] (ip_finish_output2) from [<c0a81534>] (__ip_finish_output+0xdc/0x240)
    [1399846.224818]  r10:c3cdb800 r9:00000015 r8:000005dc r7:c131f7c0 r6:c131f7c0 r5:c3cdb800
    [1399846.224825]  r4:c43db738
    [1399846.224836] [<c0a81458>] (__ip_finish_output) from [<c0a816cc>] (ip_finish_output+0x34/0xb8)
    [1399846.224846]  r10:c3cdb800 r9:00000015 r8:99c87d52 r7:c131f7c0 r6:00000000 r5:c43db738
    [1399846.224853]  r4:c3cdb800
    [1399846.224864] [<c0a81698>] (ip_finish_output) from [<c0a830f0>] (ip_output+0xe8/0x180)
    [1399846.224873]  r7:c2288000 r6:c131f7c0 r5:c1205048 r4:c43db738
    [1399846.224883] [<c0a83008>] (ip_output) from [<c0a826fc>] (ip_local_out+0x48/0x4c)
    [1399846.224893]  r10:c131f7c0 r9:00000000 r8:00000000 r7:00000245 r6:c3cdb800 r5:c131f7c0
    [1399846.224900]  r4:c43db738
    [1399846.224911] [<c0a826b4>] (ip_local_out) from [<c0a82a24>] (__ip_queue_xmit+0x16c/0x408)
    [1399846.224920]  r7:00000245 r6:c3cdbaa8 r5:c3cdb800 r4:c43db738
    [1399846.224931] [<c0a828b8>] (__ip_queue_xmit) from [<c0a82cdc>] (ip_queue_xmit+0x1c/0x20)
    [1399846.224941]  r10:c43db680 r9:c1205048 r8:c43db750 r7:0000002f r6:0857831f r5:c43db738
    [1399846.224948]  r4:c3cdb800
    [1399846.224959] [<c0a82cc0>] (ip_queue_xmit) from [<c0aa269c>] (__tcp_transmit_skb+0x520/0xb74)
    [1399846.224971] [<c0aa217c>] (__tcp_transmit_skb) from [<c0aa3fd8>] (tcp_write_xmit+0x3a4/0x1168)
    [1399846.224981]  r10:c3cdb800 r9:000005a8 r8:000005a8 r7:0000002f r6:00000000 r5:a9e8d292
    [1399846.224988]  r4:c43db680
    [1399846.224999] [<c0aa3c34>] (tcp_write_xmit) from [<c0aa5df8>] (tcp_tsq_write.part.18+0x74/0x98)
    [1399846.225009]  r10:00000004 r9:c1933e64 r8:c1205048 r7:00000100 r6:00000122 r5:c1933e64
    [1399846.225016]  r4:c3cdb800
    [1399846.225027] [<c0aa5d84>] (tcp_tsq_write.part.18) from [<c0aa5ffc>] (tcp_tsq_handler+0x48/0xc0)
    [1399846.225035]  r4:c3cdb800
    [1399846.225046] [<c0aa5fb4>] (tcp_tsq_handler) from [<c0aa6158>] (tcp_tasklet_func+0xe4/0x154)
    [1399846.225054]  r5:c1933e64 r4:c3cdb800
    [1399846.225068] [<c0aa6074>] (tcp_tasklet_func) from [<c0227610>] (tasklet_action_common.constprop.4+0x84/0x128)
    [1399846.225078]  r9:00000006 r8:00000000 r7:eff472e0 r6:00000000 r5:eff525a8 r4:eff525a4
    [1399846.225092] [<c022758c>] (tasklet_action_common.constprop.4) from [<c02276dc>] (tasklet_action+0x28/0x30)
    [1399846.225102]  r9:ffffe000 r8:00000001 r7:00000100 r6:00000006 r5:00000003 r4:c1203098
    [1399846.225115] [<c02276b4>] (tasklet_action) from [<c0201508>] (__do_softirq+0x198/0x49c)
    [1399846.225127] [<c0201370>] (__do_softirq) from [<c0226fe8>] (run_ksoftirqd+0x4c/0x64)
    [1399846.225137]  r10:c18fbddc r9:00000000 r8:00000001 r7:c120cb28 r6:00000000 r5:ffffe000
    [1399846.225145]  r4:c18cfec0
    [1399846.225158] [<c0226f9c>] (run_ksoftirqd) from [<c024a19c>] (smpboot_thread_fn+0xfc/0x1b8)
    [1399846.225170] [<c024a0a0>] (smpboot_thread_fn) from [<c0245a50>] (kthread+0x170/0x174)
    [1399846.225180]  r9:c18cfec0 r8:c024a0a0 r7:c1932000 r6:00000000 r5:c18cff00 r4:c18cff40
    [1399846.225191] [<c02458e0>] (kthread) from [<c02000ec>] (ret_from_fork+0x14/0x28)
    [1399846.225199] Exception stack(0xc1933fb0 to 0xc1933ff8)
    [1399846.225208] 3fa0:                                     00000000 00000000 00000000 00000000
    [1399846.225218] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [1399846.225227] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [1399846.225238]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02458e0
    [1399846.225245]  r4:c18cff00
    [1399846.225253] ---[ end trace a040e1cde155ffe3 ]---
    

    Whole log: http://logs.tinypilotkvm.com/urmYI4SI

    • 1 replies
    1. D
      Diego @diego2022-05-20 18:23:57.708Z

      Hi Dominik! Thank you for reporting this and thank you also for uploading the logs.

      That looks like a CPU/IRQ exception. It is just a WARNING, so I don't believe it is of importance.

      Are you seeing any other strange behaviour with your TinyPilot? Does it work as expected?