瑞芯微Rockchip开发者社区
直播中

LL-LING宁

8年用户 1319经验值
擅长:电源/新能源
私信 关注
[问答]

使用RK3588核心板自制的底板启动ubuntu内核报错是何原因?

使用3588J核心板,自制的底板,启动ubuntu 内核报错,麻烦看下什么问题

[    5.513776] mpp_rkvdec2 fdc30000.rkvdec-ccu: probing finish
[    5.513848] mpp_rkvdec2 fdc38100.rkvdec-core: Adding to iommu group 12
[    5.713701] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.739255] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.765920] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.792587] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.819253] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.845920] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.872587] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.899253] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.925920] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    5.952587] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    8.379252] rk-pcie fe170000.pcie: PCIe Link Fail
[    8.379258] rk-pcie fe170000.pcie: failed to initialize host
[   95.089233] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[   95.089257] rcu:     4-...!: (1 GPs behind) idle=c32/1/0x4000000000000000 softirq=131/134 fqs=103
[   95.089269] rcu:     5-...!: (1 GPs behind) idle=aca/1/0x4000000000000000 softirq=28/29 fqs=103
[   95.089281]  (detected by 1, t=26871 jiffies, g=-1091, q=24)
[   95.089289] Task dump for CPU 4:
[   95.089297] task:swapper/0       state:R  running task     stack:    0 pid:    1 ppid:     0 flags:0x00000008
[   95.089314] Call trace:
[   95.089329]  __switch_to+0x130/0x1a0
[   95.089339]  0xffffffc0115b22e0
[   95.089346] Task dump for CPU 5:
[   95.089354] task:rk-pcie         state:R  running task     stack:    0 pid:  143 ppid:     2 flags:0x00000008
[   95.089370] Call trace:
[   95.089380]  __switch_to+0x130/0x1a0
[   95.089392]  of_find_node_by_phandle+0xa0/0xd4
[   95.089404] rcu: rcu_sched kthread starved for 26012 jiffies! g-1091 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
[   95.089413] rcu:     Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.
[   95.089420] rcu: RCU grace-period kthread stack dump:
[   95.089428] task:rcu_sched       state:I stack:    0 pid:   11 ppid:     2 flags:0x00000008
[   95.089440] Call trace:
[   95.089449]  __switch_to+0x130/0x1a0
[   95.089460]  __schedule+0x3e8/0x5bc
[   95.089470]  schedule+0x80/0xc8
[   95.089479]  schedule_timeout+0xcc/0xf0
[   95.089491]  rcu_gp_kthread+0x2ac/0x840
[   95.089501]  kthread+0xf8/0x108
[   95.089511]  ret_from_fork+0x10/0x30

回帖(3)

王杰

2023-1-10 13:55:24
自制底板需要自己调通 kernel 才行,没有用到的功能得关闭,例如 pcie
举报

h1654155275.5748

2023-1-10 13:55:31
多半是你开了pcie,没给pcie对应controler的clk
举报

张波

2023-1-10 13:55:39
你把PCIE相关的设备树全部关了试一下
举报

更多回帖

发帖
×
20
完善资料,
赚取积分