品风无声 2022-07-22 10:55 采纳率: 0%
浏览 26

Ubuntu系统启动后无法使用终端,打开终端整个屏幕变黑

问题遇到的现象和发生背景

Ubuntu 18.04版本,运行在Nx主板上。

img

问题相关代码,请勿粘贴截图

查看系统日志后,感觉有些错误。但没有分析到具体原因。


Sep 23 13:50:58 bekl-desktop dbus-daemon[7049]: [session uid=1000 pid=7049] Successfully activated service 'org.gnome.Terminal'
Sep 23 13:50:58 bekl-desktop systemd[6468]: Started GNOME Terminal Server.
Sep 23 13:50:58 bekl-desktop kernel: [   35.583262] serial-tegra 3100000.serial: RxData DMA copy to tty layer failed
Sep 23 13:50:58 bekl-desktop compiz[7638]: WARN  2021-09-23 13:50:58 unity.filemanager.gnome GnomeFileManager.cpp:69 Locations have been invalidated, maybe there's no filemanager around...
Sep 23 13:50:58 bekl-desktop kernel: [   35.938786] serial-tegra 3100000.serial: RxData DMA copy to tty layer failed
Sep 23 13:50:59 bekl-desktop kernel: [   36.540214] CPU4: SError detected, daif=140, spsr=0x80c00045, mpidr=80000200, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540228] CPU2: SError detected, daif=140, spsr=0x20000000, mpidr=80000100, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540234] CPU3: SError detected, daif=140, spsr=0x80000000, mpidr=80000101, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540247] CPU1: SError detected, daif=1c0, spsr=0x80c000c5, mpidr=80000001, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540268] CPU0: SError detected, daif=1c0, spsr=0x4000c5, mpidr=80000000, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540347] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540350] * For more Internal Decode Help
Sep 23 13:50:59 bekl-desktop kernel: [   36.540353] *     http://nv/cbberr
Sep 23 13:50:59 bekl-desktop kernel: [   36.540355] * NVIDIA userID is required to access
Sep 23 13:50:59 bekl-desktop kernel: [   36.540357] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540363] CPU:2, Error:CBB-NOC
Sep 23 13:50:59 bekl-desktop kernel: [   36.540369]     Error Logger        : 0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540380] CPU5: SError detected, daif=1c0, spsr=0x80c000c5, mpidr=80000201, esr=be000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540384]     ErrLog0            : 0x80030008
Sep 23 13:50:59 bekl-desktop kernel: [   36.540388]       Transaction Type    : WR  - Write, Incrementing
Sep 23 13:50:59 bekl-desktop kernel: [   36.540391]       Error Code        : SLV
Sep 23 13:50:59 bekl-desktop kernel: [   36.540394]       Error Source        : Target
Sep 23 13:50:59 bekl-desktop kernel: [   36.540397]       Error Description    : Target error detected by CBB slave
Sep 23 13:50:59 bekl-desktop kernel: [   36.540411]       AXI2APB_3 bridge error: SFIFONE - Status FIFO Not Empty interrupt
Sep 23 13:50:59 bekl-desktop kernel: [   36.540416]       AXI2APB_3 bridge error: TIM - Timer(Timeout) interrupt
Sep 23 13:50:59 bekl-desktop kernel: [   36.540423]       AXI2APB_4 bridge error: RDFIFOF - Read Response FIFO Full interrupt
Sep 23 13:50:59 bekl-desktop kernel: [   36.540424]       Packet header Lock    : 0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540433]       Packet header Len1    : 3
Sep 23 13:50:59 bekl-desktop kernel: [   36.540436]       NOC protocol version    : version >= 2.7
Sep 23 13:50:59 bekl-desktop kernel: [   36.540439]     ErrLog1            : 0x320011
Sep 23 13:50:59 bekl-desktop kernel: [   36.540442]     ErrLog2            : 0x0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540444]       RouteId        : 0x320011
Sep 23 13:50:59 bekl-desktop kernel: [   36.540448]       InitFlow        : ccroc_p2ps/I/ccroc_p2ps
Sep 23 13:50:59 bekl-desktop kernel: [   36.540451]       Targflow        : axis_satellite_grout/T/axis_satellite_grout
Sep 23 13:50:59 bekl-desktop kernel: [   36.540454]       TargSubRange        : 0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540456]       SeqId            : 0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540459]     ErrLog3            : 0x3100004
Sep 23 13:50:59 bekl-desktop kernel: [   36.540462]     ErrLog4            : 0x0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540480]       Address        : 0x3100004 -- /serial@3100000 + 0x4
Sep 23 13:50:59 bekl-desktop kernel: [   36.540483]     ErrLog5            : 0x409f851
Sep 23 13:50:59 bekl-desktop kernel: [   36.540486]       Non-Modify        : 0x1
Sep 23 13:50:59 bekl-desktop kernel: [   36.540489]       AXI ID        : 0x8
Sep 23 13:50:59 bekl-desktop kernel: [   36.540492]       Master ID        : CCPLEX
Sep 23 13:50:59 bekl-desktop kernel: [   36.540495]       Security Group(GRPSEC): 0x7e
Sep 23 13:50:59 bekl-desktop kernel: [   36.540498]       Cache            : 0x1 -- Device
Sep 23 13:50:59 bekl-desktop kernel: [   36.540501]       Protection        : 0x2 -- Unprivileged, Non-Secure, Data Access
Sep 23 13:50:59 bekl-desktop kernel: [   36.540504]       FALCONSEC        : 0x0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540507]       Virtual Queuing Channel(VQC): 0x0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540510]     **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540515] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.540545] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540548] RAS Error in SCF:IOB, ERRSELR_EL1=1025:
Sep 23 13:50:59 bekl-desktop kernel: [   36.540551]     Status = 0xf4009604
Sep 23 13:50:59 bekl-desktop kernel: [   36.540555]     IERR = CBB Interface Error: 0x96
Sep 23 13:50:59 bekl-desktop kernel: [   36.540557]     SERR = Assertion Failure: 0x4
Sep 23 13:50:59 bekl-desktop kernel: [   36.540560]     Uncorrectable (this is fatal)
Sep 23 13:50:59 bekl-desktop kernel: [   36.540569]     MISC0 = 0x40
Sep 23 13:50:59 bekl-desktop kernel: [   36.540572]     MISC1 = 0xaa4a404221
Sep 23 13:50:59 bekl-desktop kernel: [   36.540578]     ADDR = 0x8000000003100000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540597] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540604] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.540617] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540620] RAS Error in L2, ERRSELR_EL1=512:
Sep 23 13:50:59 bekl-desktop kernel: [   36.540622]     Status = 0xf4006512
Sep 23 13:50:59 bekl-desktop kernel: [   36.540625]     IERR = SCF to L2 Slave Error Write: 0x65
Sep 23 13:50:59 bekl-desktop kernel: [   36.540628]     SERR = Error response from slave: 0x12
Sep 23 13:50:59 bekl-desktop kernel: [   36.540631]     Uncorrectable (this is fatal)
Sep 23 13:50:59 bekl-desktop kernel: [   36.540639]     MISC0 = 0x80000000200000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540642]     MISC1 = 0x20ac0000002
Sep 23 13:50:59 bekl-desktop kernel: [   36.540648]     ADDR = 0x8000000003100000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540654] **************************************
Sep 23 13:50:59 bekl-desktop kernel: [   36.540701] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.540813] Bad mode in Error handler detected on CPU2, code 0xbe000000 -- SError
Sep 23 13:50:59 bekl-desktop kernel: [   36.540853] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
Sep 23 13:50:59 bekl-desktop kernel: [   36.540898] Modules linked in: bnep fuse xt_multiport iptable_filter ip6table_filter ip6_tables zram ch341 overlay spidev nvgpu bluedroid_pm ip_tables
Sep 23 13:50:59 bekl-desktop kernel: [   36.540899] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.540904]  x_tables
Sep 23 13:50:59 bekl-desktop kernel: [   36.540915] CPU: 2 PID: 7938 Comm: gnome-terminal- Not tainted 4.9.140-tegra #1
Sep 23 13:50:59 bekl-desktop kernel: [   36.540918] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
Sep 23 13:50:59 bekl-desktop kernel: [   36.540922] task: ffffffc385e77000 task.stack: ffffffc39c25c000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540927] PC is at 0x7f9bf95c90
Sep 23 13:50:59 bekl-desktop kernel: [   36.540931] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.540934] LR is at 0x7f9bf95c58
Sep 23 13:50:59 bekl-desktop kernel: [   36.540939] pc : [<0000007f9bf95c90>] lr : [<0000007f9bf95c58>] pstate: 20000000
Sep 23 13:50:59 bekl-desktop kernel: [   36.540942] sp : 0000007ffb53d0a0
Sep 23 13:50:59 bekl-desktop kernel: [   36.540950] x29: 0000007ffb53d0a0 x28: 0000007f9c056348 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540958] x27: 0000005586651c30 x26: 0000000000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540966] x25: 0000000000000000 x24: 0000005586404700 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540975] x23: 0000005586404700 x22: 0000000000000001 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540983] x21: 0000000000000000 x20: 00000055863fb9d0 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540992] x19: 0000005586651c30 x18: 0000007f9bf01a70 
Sep 23 13:50:59 bekl-desktop kernel: [   36.540994] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.541003] x17: 0000007f9be25838 x16: 0000007f9c055cb8 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541011] x15: 00002e9270000000 x14: 000b71b000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541024] x13: 00000000614c15c3 x12: 0000000000000017 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541032] x11: 0000000008f4efe0 x10: 0000000000000024 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541041] x9 : 001dcd6500000000 x8 : 0000000000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541048] x7 : 0000000000000011 x6 : 0000000000000033 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541057] x5 : 0000000000000001 x4 : 0000000000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541064] x3 : 0000000000000001 x2 : 0000000000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541072] x1 : 00000055864962c0 x0 : 0000000000000000 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541075] 
Sep 23 13:50:59 bekl-desktop kernel: [   36.541079] Process gnome-terminal- (pid: 7938, stack limit = 0xffffffc39c25c000)
Sep 23 13:50:59 bekl-desktop kernel: [   36.541088] ---[ end trace fd99d5cd7e33bc43 ]---
Sep 23 13:50:59 bekl-desktop kernel: [   36.543832] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.543868] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.543934] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544135] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544166] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544223] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544424] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544458] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   36.544518] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   37.034854] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   37.043187] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
Sep 23 13:50:59 bekl-desktop kernel: [   37.052659] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors

我的解答思路和尝试过的方法

重启操作系统后恢复

我想要达到的结果

找到彻底杜绝问题的原因及措施。

  • 写回答

1条回答 默认 最新

  • wang 恒 嵌入式领域新星创作者 2022-07-22 13:53
    关注

    楼主是自己开发的吗?手上是否有源码?该问题应该是由串口使用时kernel使用DMA方式方式导致,可以尝试kernel中关闭DMA使用

    评论

报告相同问题?

问题事件

  • 创建了问题 7月22日

悬赏问题

  • ¥15 微软硬件驱动认证账号申请
  • ¥15 有人知道怎么在R语言里下载Git上的miceco这个包吗
  • ¥15 GPT写作提示指令词
  • ¥20 如何在cst中建立这种螺旋扇叶结构
  • ¥20 根据动态演化博弈支付矩阵完成复制动态方程求解和演化相图分析等
  • ¥20 关于DAC输出1.000V对分辨率和精度的要求
  • ¥20 想写一个文件管理器,加载全部子文件夹后,要一级一级返回
  • ¥15 华为超融合部署环境下RedHat虚拟机分区扩容问题
  • ¥15 哪位能做百度地图导航触点播报?
  • ¥15 请问GPT语言模型怎么训练?