RevPi Core3 - OS hanging randomly
Posted: 15 Feb 2023, 10:21
Hi,
we received a RevPi Core3 + DIO back from a costumer, which claims that the system randomly hangs.
After doing some in-house tests, we got the error once. Our test consists in a TCP server running on the Core3,
which controls the DIO module via TCP messages, and another device that only keeps the TCP socket connection alive,
sending after different (incremental) waiting time, a keep-alive message to check if the socket is still there.
It is not possible to reproduce the error easily, but I have a copy of the kern.log which contains all error, I just want to
know if I should upload it here on the forum directly (and how can I do that, since it did not accepted the .log files) or if
I have to send it per private to someone at Kunbus.
Many thanks in advance!
Nathan
Here is the beggining from the error logs:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623934] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623959] WARNING: CPU: 1 PID: 22 at kernel/sched/core.c:7333 migrate_enable+0x320/0x4d4
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623964] Modules linked in: bcm2835_codec(C) raspberrypi_hwmon bcm2835_v4l2(C) v4l2_mem2mem hwmon bcm2835_mmal_vchiq(C) v4l2_common snd_bcm2835(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 snd_timer videobuf2_common snd videodev media vc_sm_cma(C) uio_pdrv_genirq uio piControl(O) ti_dac082s085 mcp320x iio_mux mux_gpio mux_core fixed gpio_74x164 spi_bcm2835aux spi_bcm2835 ks8851 eeprom_93cx6 gpio_max3191x industrialio crc8 i2c_dev ip_tables x_tables ipv6
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624041] CPU: 1 PID: 22 Comm: rcuc/1 Tainted: G C O 4.19.95-rt38-v7+ #1
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624043] Hardware name: BCM2835
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624060] [<80112584>] (unwind_backtrace) from [<8010d2f0>] (show_stack+0x20/0x24)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624069] [<8010d2f0>] (show_stack) from [<808900f4>] (dump_stack+0xd8/0x11c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624079] [<808900f4>] (dump_stack) from [<801216a8>] (__warn.part.1+0xcc/0xe8)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624087] [<801216a8>] (__warn.part.1) from [<80121844>] (warn_slowpath_null+0x54/0x5c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624095] [<80121844>] (warn_slowpath_null) from [<80150ce4>] (migrate_enable+0x320/0x4d4)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624103] [<80150ce4>] (migrate_enable) from [<80129014>] (__local_bh_enable+0x84/0xb0)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624111] [<80129014>] (__local_bh_enable) from [<8019d2f0>] (rcu_cpu_kthread+0x47c/0x984)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624118] [<8019d2f0>] (rcu_cpu_kthread) from [<8014a60c>] (smpboot_thread_fn+0x2dc/0x32c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624126] [<8014a60c>] (smpboot_thread_fn) from [<80145b98>] (kthread+0x16c/0x174)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624134] [<80145b98>] (kthread) from [<801010b4>] (ret_from_fork+0x14/0x20)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624137] Exception stack(0xb9d7ffb0 to 0xb9d7fff8)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624142] ffa0: 00000000 00000000 00000000 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624147] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624149] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624152] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624159] WARNING: CPU: 2 PID: 81 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624161] ---[ end trace 0000000000000002 ]---
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624162] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624163] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624165] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624166] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624173] WARNING: CPU: 3 PID: 82 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624180] WARNING: CPU: 0 PID: 80 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624181] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624182] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624183] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624184] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624186] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624187] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624188] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624189] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624190] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624192] hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624193] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624194] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624195] bcm2835_mmal_vchiq(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624196] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624197] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624198] v4l2_common
we received a RevPi Core3 + DIO back from a costumer, which claims that the system randomly hangs.
After doing some in-house tests, we got the error once. Our test consists in a TCP server running on the Core3,
which controls the DIO module via TCP messages, and another device that only keeps the TCP socket connection alive,
sending after different (incremental) waiting time, a keep-alive message to check if the socket is still there.
It is not possible to reproduce the error easily, but I have a copy of the kern.log which contains all error, I just want to
know if I should upload it here on the forum directly (and how can I do that, since it did not accepted the .log files) or if
I have to send it per private to someone at Kunbus.
Many thanks in advance!
Nathan
Here is the beggining from the error logs:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623934] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623959] WARNING: CPU: 1 PID: 22 at kernel/sched/core.c:7333 migrate_enable+0x320/0x4d4
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.623964] Modules linked in: bcm2835_codec(C) raspberrypi_hwmon bcm2835_v4l2(C) v4l2_mem2mem hwmon bcm2835_mmal_vchiq(C) v4l2_common snd_bcm2835(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 snd_timer videobuf2_common snd videodev media vc_sm_cma(C) uio_pdrv_genirq uio piControl(O) ti_dac082s085 mcp320x iio_mux mux_gpio mux_core fixed gpio_74x164 spi_bcm2835aux spi_bcm2835 ks8851 eeprom_93cx6 gpio_max3191x industrialio crc8 i2c_dev ip_tables x_tables ipv6
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624041] CPU: 1 PID: 22 Comm: rcuc/1 Tainted: G C O 4.19.95-rt38-v7+ #1
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624043] Hardware name: BCM2835
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624060] [<80112584>] (unwind_backtrace) from [<8010d2f0>] (show_stack+0x20/0x24)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624069] [<8010d2f0>] (show_stack) from [<808900f4>] (dump_stack+0xd8/0x11c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624079] [<808900f4>] (dump_stack) from [<801216a8>] (__warn.part.1+0xcc/0xe8)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624087] [<801216a8>] (__warn.part.1) from [<80121844>] (warn_slowpath_null+0x54/0x5c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624095] [<80121844>] (warn_slowpath_null) from [<80150ce4>] (migrate_enable+0x320/0x4d4)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624103] [<80150ce4>] (migrate_enable) from [<80129014>] (__local_bh_enable+0x84/0xb0)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624111] [<80129014>] (__local_bh_enable) from [<8019d2f0>] (rcu_cpu_kthread+0x47c/0x984)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624118] [<8019d2f0>] (rcu_cpu_kthread) from [<8014a60c>] (smpboot_thread_fn+0x2dc/0x32c)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624126] [<8014a60c>] (smpboot_thread_fn) from [<80145b98>] (kthread+0x16c/0x174)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624134] [<80145b98>] (kthread) from [<801010b4>] (ret_from_fork+0x14/0x20)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624137] Exception stack(0xb9d7ffb0 to 0xb9d7fff8)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624142] ffa0: 00000000 00000000 00000000 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624147] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624149] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624152] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624159] WARNING: CPU: 2 PID: 81 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624161] ---[ end trace 0000000000000002 ]---
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624162] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624163] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624165] ------------[ cut here ]------------
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624166] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624173] WARNING: CPU: 3 PID: 82 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624180] WARNING: CPU: 0 PID: 80 at kernel/cpu.c:330 unpin_current_cpu+0x64/0x8c
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624181] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624182] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624183] Modules linked in:
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624184] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624186] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624187] bcm2835_codec(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624188] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624189] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624190] raspberrypi_hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624192] hwmon
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624193] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624194] bcm2835_v4l2(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624195] bcm2835_mmal_vchiq(C)
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624196] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624197] v4l2_mem2mem
Sep 7 11:58:14 Shaker61541 kernel: [ 2611.624198] v4l2_common