Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
78 stars 55 forks source link

[reTerminal] Show banner and freeze with RasPi OS 32bit 2023-05-03 #62

Open matsujirushi opened 1 year ago

matsujirushi commented 1 year ago

If reTerminal run dtoverlay=reTerminal-bridge without commenting it, it freezes when the banner is displayed.

Environment:

Procedure:

  1. Flash OS image Raspberry Pi OS (32-bit) 2023-05-03 to CM4 eMMC.
  2. Change kernel architecture. (Add arm_64bit=0 in /boot/config.txt and reboot.)
  3. Install the reTerminal driver.
    $ git clone --depth 1 https://github.com/Seeed-Studio/seeed-linux-dtoverlays
    $ cd seeed-linux-dtoverlays
    $ sudo ./scripts/reTerminal.sh
    $ sudo reboot

Serial console:

[    8.287084] 8<--- cut here ---
[    8.290199] Unable to handle kernel paging request at virtual address 000f4240
[    8.297538] [000f4240] *pgd=030d0003, *pmd=00000000
[    8.297556] Internal error: Oops: 206 [#1] SMP ARM
[    8.297562] Modules linked in: gpio_pca953x(+) bq24179_charger(O+) industrialio pinctrl_mcp23s08_i2c pinctrl_mcp23s08 gpio_pcf857x spidev rtc_pcf8563 snd_soc_wm8960 regmap_i2c 8021q garp stp llc brcmfmac vc4 brcmutil cfg80211 raspberrypi_hwmon snd_soc_hdmi_codec drm_display_helper cec rfkill snd_soc_simple_card drm_dma_helper snd_soc_simple_card_utils bcm2835_codec(C) rpivid_hevc(C) v3d gpu_sched bcm2835_v4l2(C) drm_kms_helper drm_shmem_helper v4l2_mem2mem bcm2835_isp(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc snd_soc_bcm2835_i2s snd_soc_core i2c_brcmstb videobuf2_memops videobuf2_v4l2 snd_compress videobuf2_common snd_pcm_dmaengine snd_bcm2835(C) videodev i2c_bcm2835 spi_bcm2835 snd_pcm vc_sm_cma(C) snd_timer snd mc syscopyarea sysfillrect sysimgblt fb_sys_fops gpio_keys nvmem_rmem uio_pdrv_genirq uio drm i2c_dev fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6
[    8.370386] CAN device driver interface
[    8.388596] CPU: 3 PID: 139 Comm: systemd-journal Tainted: G         C O       6.1.21-v7l+ #1642
[    8.388606] Hardware name: BCM2711
[    8.388609] PC is at __of_find_property+0x3c/0x68
[    8.409623] LR is at of_find_property+0x3c/0x54
[    8.409636] pc : [<c09cb950>]    lr : [<c09cb9b8>]    psr: 20000093
[    8.409640] sp : f1075de0  ip : 00000000  fp : 00000001
[    8.409643] r10: c4000f68  r9 : 00400cc0  r8 : 00000000
[    8.409647] r7 : c0e8aa58  r6 : 00000000  r5 : c0e8aa58  r4 : 000f4240
[    8.409650] r3 : 0000b6d2  r2 : 00000000  r1 : c0e8aa58  r0 : efee6b0c

Links:

bigbearishappy commented 1 year ago

It seems the dts of reTerminal bridge need to update. Before that, I just remove the installation of reTerminal bridge. One more thing.Have you tried to boot it with reterminal bridge connected?

matsujirushi commented 1 year ago

Hi @bigbearishappy , Even when I connected a reTerminal E10-1, it did not start.

Serial console:

[    8.093429] 8<--- cut here ---
[    8.096535] Unable to handle kernel paging request at virtual address 000f4240
[    8.103871] [000f4240] *pgd=030da003, *pmd=00000000
[    8.103886] Internal error: Oops: 206 [#1] SMP ARM
[    8.113695] Modules linked in: als_ltr30x(O+) industrialio_triggered_buffer kfifo_buf industrialio bq24179_charger(O+) pinctrl_mcp23s08_i2c snd_soc_wm8960 pinctrl_mcp23s08 regmap_i2c spidev 8021q garp stp llc brcmfmac brcmutil cfg80211 v3d gpu_sched rfkill drm_shmem_helper snd_soc_simple_card snd_soc_simple_card_utils vc4 bcm2835_v4l2(C) bcm2835_isp(C) raspberrypi_hwmon videobuf2_vmalloc bcm2835_codec(C) rpivid_hevc(C) snd_soc_hdmi_codec drm_display_helper bcm2835_mmal_vchiq(C) snd_soc_bcm2835_i2s cec v4l2_mem2mem videobuf2_dma_contig drm_dma_helper videobuf2_memops videobuf2_v4l2 drm_kms_helper videobuf2_common videodev snd_soc_core i2c_brcmstb i2c_bcm2835 spi_bcm2835 vc_sm_cma(C) snd_compress snd_bcm2835(C) snd_pcm_dmaengine snd_pcm snd_timer snd mc syscopyarea sysfillrect sysimgblt fb_sys_fops gpio_keys nvmem_rmem uio_pdrv_genirq uio drm i2c_dev fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6
[    8.196129] CPU: 1 PID: 138 Comm: systemd-journal Tainted: G         C O       6.1.21-v7l+ #1642
[    8.205041] Hardware name: BCM2711
[    8.208486] PC is at __of_find_property+0x3c/0x68
[    8.213262] LR is at of_find_property+0x3c/0x54
[    8.217856] pc : [<c09cb950>]    lr : [<c09cb9b8>]    psr: 20000093
[    8.224210] sp : f1069de0  ip : 00000000  fp : 00000001
[    8.229505] r10: c3b31478  r9 : 00400cc0  r8 : 00000000
[    8.234799] r7 : c0e8aa58  r6 : 00000000  r5 : c0e8aa58  r4 : 000f4240
[    8.241417] r3 : 0000a168  r2 : 00000000  r1 : c0e8aa58  r0 : efee6b0c
Serial console - full ``` [ 8.093429] 8<--- cut here --- [ 8.096535] Unable to handle kernel paging request at virtual address 000f4240 [ 8.103871] [000f4240] *pgd=030da003, *pmd=00000000 [ 8.103886] Internal error: Oops: 206 [#1] SMP ARM [ 8.113695] Modules linked in: als_ltr30x(O+) industrialio_triggered_buffer kfifo_buf industrialio bq24179_charger(O+) pinctrl_mcp23s08_i2c snd_soc_wm8960 pinctrl_mcp23s08 regmap_i2c spidev 8021q garp stp llc brcmfmac brcmutil cfg80211 v3d gpu_sched rfkill drm_shmem_helper snd_soc_simple_card snd_soc_simple_card_utils vc4 bcm2835_v4l2(C) bcm2835_isp(C) raspberrypi_hwmon videobuf2_vmalloc bcm2835_codec(C) rpivid_hevc(C) snd_soc_hdmi_codec drm_display_helper bcm2835_mmal_vchiq(C) snd_soc_bcm2835_i2s cec v4l2_mem2mem videobuf2_dma_contig drm_dma_helper videobuf2_memops videobuf2_v4l2 drm_kms_helper videobuf2_common videodev snd_soc_core i2c_brcmstb i2c_bcm2835 spi_bcm2835 vc_sm_cma(C) snd_compress snd_bcm2835(C) snd_pcm_dmaengine snd_pcm snd_timer snd mc syscopyarea sysfillrect sysimgblt fb_sys_fops gpio_keys nvmem_rmem uio_pdrv_genirq uio drm i2c_dev fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6 [ 8.196129] CPU: 1 PID: 138 Comm: systemd-journal Tainted: G C O 6.1.21-v7l+ #1642 [ 8.205041] Hardware name: BCM2711 [ 8.208486] PC is at __of_find_property+0x3c/0x68 [ 8.213262] LR is at of_find_property+0x3c/0x54 [ 8.217856] pc : [] lr : [] psr: 20000093 [ 8.224210] sp : f1069de0 ip : 00000000 fp : 00000001 [ 8.229505] r10: c3b31478 r9 : 00400cc0 r8 : 00000000 [ 8.234799] r7 : c0e8aa58 r6 : 00000000 r5 : c0e8aa58 r4 : 000f4240 [ 8.241417] r3 : 0000a168 r2 : 00000000 r1 : c0e8aa58 r0 : efee6b0c [ 8.248033] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user [ 8.255357] Control: 30c5383d Table: 031b9940 DAC: 55555555 [ 8.261181] Register r0 information: non-slab/vmalloc memory [ 8.266920] Register r1 information: non-slab/vmalloc memory [ 8.272658] Register r2 information: NULL pointer [ 8.277427] Register r3 information: non-paged memory [ 8.282546] Register r4 information: non-paged memory [ 8.287667] Register r5 information: non-slab/vmalloc memory [ 8.293404] Register r6 information: NULL pointer [ 8.298172] Register r7 information: non-slab/vmalloc memory [ 8.303909] Register r8 information: NULL pointer [ 8.308678] Register r9 information: non-paged memory [ 8.313798] Register r10 information: slab vm_area_struct start c3b31460 pointer offset 24 [ 8.322189] Register r11 information: non-paged memory [ 8.327397] Register r12 information: NULL pointer [ 8.332253] Process systemd-journal (pid: 138, stack limit = 0x70166787) [ 8.339048] Stack: (0xf1069de0 to 0xf106a000) [ 8.343463] 9de0: c13eff20 efee6b0c 60000013 c09cb9b8 c1b4b820 c1b65000 c1b65000 c1b4b820 [ 8.351756] 9e00: c2cf8000 c09cb9e0 c1b4b820 c09ced8c c1b4b820 c1b65000 c1205048 c1b4b820 [ 8.360049] 9e20: c2cf8000 00400cc0 c3b31478 c0843a50 00004004 c0447490 c1b89e00 c1990680 [ 8.368342] 9e40: c1b4b820 c2cf8000 c1b4b820 2ee21c51 c1990680 c1b4b820 c1b65000 c0840e30 [ 8.376634] 9e60: c130c7c0 c0840d94 c2cf8000 c1b4b820 c33dad80 00400cc0 c3b31478 c083e6c0 [ 8.384927] 9e80: c3b31460 c0c57a20 c2cf8000 c04faaec c3b31460 00001000 c04f95a0 f1069f20 [ 8.393219] 9ea0: 7ffff000 c048b658 01c04000 00000000 c3b31488 f1069f08 f473c75f c045e190 [ 8.401512] 9ec0: 64599479 01c9c37e 64599479 c1205048 c3f44cc0 c04f95a0 00001000 f1069f78 [ 8.409804] 9ee0: 01c02f50 00000001 00004004 c045e190 01c04000 00000a55 c30da070 00000003 [ 8.418097] 9f00: 00000000 00000000 01000006 00000000 00001000 01c02f50 00000000 00000000 [ 8.426390] 9f20: c3f44cc0 00000000 00000000 00000000 00000000 00000000 00000000 00004004 [ 8.434682] 9f40: 00000000 00000000 00000000 2ee21c51 c1205048 c1205048 c3f44cc0 00000000 [ 8.442975] 9f60: 00000000 c3f44cc0 01c02f50 00001000 be9d03cc c045ea84 00000000 00000000 [ 8.451268] 9f80: c2ed9280 2ee21c51 00000020 b6f90240 00001000 00000003 c0200264 c2ed9280 [ 8.459561] 9fa0: 00000003 c0200254 00000020 b6f90240 00000020 01c02f50 00001000 00000000 [ 8.467853] 9fc0: 00000020 b6f90240 00001000 00000003 00001001 b6c91780 01c02f50 be9d03cc [ 8.476146] 9fe0: 00000000 be9d00a8 00000000 b6c0cce8 80000010 00000020 00000000 00000000 [ 8.484441] __of_find_property from of_find_property+0x3c/0x54 [ 8.490451] of_find_property from of_get_property+0x10/0x1c [ 8.496196] of_get_property from of_device_uevent+0x5c/0x170 [ 8.502032] of_device_uevent from dev_uevent+0x88/0x210 [ 8.507425] dev_uevent from uevent_show+0x9c/0x110 [ 8.512376] uevent_show from dev_attr_show+0x20/0x4c [ 8.517506] dev_attr_show from sysfs_kf_seq_show+0x94/0x120 [ 8.523252] sysfs_kf_seq_show from seq_read_iter+0x194/0x4d8 [ 8.529084] seq_read_iter from vfs_read+0x1ec/0x2ac [ 8.534121] vfs_read from ksys_read+0x60/0xd8 [ 8.538626] ksys_read from __sys_trace_return+0x0/0x10 [ 8.543925] Exception stack(0xf1069fa8 to 0xf1069ff0) [ 8.549045] 9fa0: 00000020 b6f90240 00000020 01c02f50 00001000 00000000 [ 8.557338] 9fc0: 00000020 b6f90240 00001000 00000003 00001001 b6c91780 01c02f50 be9d03cc [ 8.565630] 9fe0: 00000000 be9d00a8 00000000 b6c0cce8 [ 8.570752] Code: e594400c e3540000 0a000007 e1a01005 (e5940000) [ 8.576930] ---[ end trace 0000000000000000 ]--- [ 8.581608] note: systemd-journal[138] exited with irqs disabled [ 8.614420] CAN device driver interface [ 29.122920] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 29.128930] (detected by 3, t=2103 jiffies, g=-199, q=1588 ncpus=4) [ 29.135373] rcu: All QSes seen, last rcu_sched kthread activity 2101 (-27087--29188), jiffies_till_next_fqs=1, root ->qsmask 0x0 [ 29.147105] rcu: rcu_sched kthread timer wakeup didn't happen for 2100 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 [ 29.158396] rcu: Possible timer handling issue on cpu=0 timer-softirq=135 [ 29.165365] rcu: rcu_sched kthread starved for 2101 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0 [ 29.175685] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior. [ 29.184770] rcu: RCU grace-period kthread stack dump: [ 29.189888] task:rcu_sched state:R stack:0 pid:14 ppid:2 flags:0x00000000 [ 29.198365] __schedule from schedule+0x58/0xf0 [ 29.202974] schedule from schedule_timeout+0x1c0/0x330 [ 29.208280] schedule_timeout from rcu_gp_fqs_loop+0x118/0x39c [ 29.214204] rcu_gp_fqs_loop from rcu_gp_kthread+0x120/0x158 [ 29.219944] rcu_gp_kthread from kthread+0xe4/0x100 [ 29.224894] kthread from ret_from_fork+0x14/0x34 [ 29.229665] Exception stack(0xf0851fb0 to 0xf0851ff8) [ 29.234785] 1fa0: 00000000 00000000 00000000 00000000 [ 29.243077] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 29.251369] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 29.258075] rcu: Stack dump where RCU GP kthread last ran: [ 29.263634] Sending NMI from CPU 3 to CPUs 0: [ 39.302967] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 2-...D } 3073 jiffies s: 153 root: 0x4/. [ 39.313663] rcu: blocking rcu_node structures (internal RCU debug): [ 39.320020] Sending NMI from CPU 3 to CPUs 2: [ 92.202920] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 92.208923] (detected by 3, t=8411 jiffies, g=-199, q=1592 ncpus=4) [ 92.215365] rcu: All QSes seen, last rcu_sched kthread activity 8409 (-20779--29188), jiffies_till_next_fqs=1, root ->qsmask 0x0 [ 92.227096] rcu: rcu_sched kthread timer wakeup didn't happen for 8408 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 [ 92.238386] rcu: Possible timer handling issue on cpu=0 timer-softirq=135 [ 92.245355] rcu: rcu_sched kthread starved for 8409 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0 [ 92.255675] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior. [ 92.264760] rcu: RCU grace-period kthread stack dump: [ 92.269878] task:rcu_sched state:R stack:0 pid:14 ppid:2 flags:0x00000000 [ 92.278352] __schedule from schedule+0x58/0xf0 [ 92.282955] schedule from schedule_timeout+0x1c0/0x330 [ 92.288261] schedule_timeout from rcu_gp_fqs_loop+0x118/0x39c [ 92.294181] rcu_gp_fqs_loop from rcu_gp_kthread+0x120/0x158 [ 92.299922] rcu_gp_kthread from kthread+0xe4/0x100 [ 92.304869] kthread from ret_from_fork+0x14/0x34 [ 92.309640] Exception stack(0xf0851fb0 to 0xf0851ff8) [ 92.314759] 1fa0: 00000000 00000000 00000000 00000000 [ 92.323051] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 92.331343] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 92.338048] rcu: Stack dump where RCU GP kthread last ran: [ 92.343607] Sending NMI from CPU 3 to CPUs 0: [ 115.682931] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 2-...D } 10711 jiffies s: 153 root: 0x4/. [ 115.693710] rcu: blocking rcu_node structures (internal RCU debug): [ 115.700067] Sending NMI from CPU 3 to CPUs 2: [ 155.282919] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 155.288924] (detected by 3, t=14719 jiffies, g=-199, q=1594 ncpus=4) [ 155.295455] rcu: All QSes seen, last rcu_sched kthread activity 14717 (-14471--29188), jiffies_till_next_fqs=1, root ->qsmask 0x0 [ 155.307275] rcu: rcu_sched kthread timer wakeup didn't happen for 14716 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 [ 155.318654] rcu: Possible timer handling issue on cpu=0 timer-softirq=135 [ 155.325624] rcu: rcu_sched kthread starved for 14717 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0 [ 155.336032] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior. [ 155.345116] rcu: RCU grace-period kthread stack dump: [ 155.350234] task:rcu_sched state:R stack:0 pid:14 ppid:2 flags:0x00000000 [ 155.358709] __schedule from schedule+0x58/0xf0 [ 155.363310] schedule from schedule_timeout+0x1c0/0x330 [ 155.368615] schedule_timeout from rcu_gp_fqs_loop+0x118/0x39c [ 155.374536] rcu_gp_fqs_loop from rcu_gp_kthread+0x120/0x158 [ 155.380276] rcu_gp_kthread from kthread+0xe4/0x100 [ 155.385224] kthread from ret_from_fork+0x14/0x34 [ 155.389994] Exception stack(0xf0851fb0 to 0xf0851ff8) [ 155.395114] 1fa0: 00000000 00000000 00000000 00000000 [ 155.403406] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 155.411697] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 155.418403] rcu: Stack dump where RCU GP kthread last ran: [ 155.423961] Sending NMI from CPU 3 to CPUs 0: [ 192.512941] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 2-...D } 18394 jiffies s: 153 root: 0x4/. [ 192.523718] rcu: blocking rcu_node structures (internal RCU debug): [ 192.530074] Sending NMI from CPU 3 to CPUs 2: [ 218.362919] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 218.368922] (detected by 3, t=21027 jiffies, g=-199, q=1594 ncpus=4) [ 218.375452] rcu: All QSes seen, last rcu_sched kthread activity 21025 (-8163--29188), jiffies_till_next_fqs=1, root ->qsmask 0x0 [ 218.387184] rcu: rcu_sched kthread timer wakeup didn't happen for 21024 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 [ 218.398563] rcu: Possible timer handling issue on cpu=0 timer-softirq=135 [ 218.405533] rcu: rcu_sched kthread starved for 21025 jiffies! g-199 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0 [ 218.415942] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior. [ 218.425026] rcu: RCU grace-period kthread stack dump: [ 218.430145] task:rcu_sched state:R stack:0 pid:14 ppid:2 flags:0x00000000 [ 218.438623] __schedule from schedule+0x58/0xf0 [ 218.443232] schedule from schedule_timeout+0x1c0/0x330 [ 218.448539] schedule_timeout from rcu_gp_fqs_loop+0x118/0x39c [ 218.454462] rcu_gp_fqs_loop from rcu_gp_kthread+0x120/0x158 [ 218.460204] rcu_gp_kthread from kthread+0xe4/0x100 [ 218.465154] kthread from ret_from_fork+0x14/0x34 [ 218.469926] Exception stack(0xf0851fb0 to 0xf0851ff8) [ 218.475046] 1fa0: 00000000 00000000 00000000 00000000 [ 218.483340] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 218.491632] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 218.498338] rcu: Stack dump where RCU GP kthread last ran: [ 218.503899] Sending NMI from CPU 3 to CPUs 0: ```