cxhome213 发表于 2022-10-12 12:14:57

使用3588J核心板,自制的底板,启动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:Rrunning 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:Rrunning 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



板蓝根 发表于 2022-10-12 14:15:26

自制底板需要自己调通 kernel 才行,没有用到的功能得关闭,例如 pcie

feixiang3839 发表于 2022-10-25 15:46:01

多半是你开了pcie,没给pcie对应controler的clk

KualaShaker 发表于 2022-12-18 20:38:47

你把PCIE相关的设备树全部关了试一下
页: [1]
查看完整版本: 使用3588J核心板,自制的底板,启动ubuntu 内核报错,麻烦看下什么问题