刷入社区版的驱动/固件后无法开机,如何补救
收藏回复举报
刷入社区版的驱动/固件后无法开机,如何补救
t('forum.solved') 已解决
新人帖
发表于2025-04-29 02:14:52
0 查看

如题,系统是香橙派官方今年二月发的 Ubuntu Desktop:opiaipro_20t_ubuntu22.04_desktop_aarch64_20250211.img.xz。因为发现有 API 缺失,无法使用 CANN 8.0,故从 社区版-固件与驱动-Atlas 200I A2 加速模块 这里下载并安装了下面两个文件:

  • 驱动:Ascend-hdk-310b-npu-driver-soc_24.1.0_linux-aarch64.run
  • 固件:Ascend-hdk-310b-npu-firmware-soc_7.5.0.2.220.run

安装后重启,就开不了机了。串口输出到这里就卡住了:

true

文字版:

[    1.747130] [ascend] [drv_pcie_rc] [drv_pcierc_probe 295] <swapper/0:1:1> PCIe rc probe start. (core_id=0)
[    1.756826] ascend-pci-rc-driver 820000000.pcie: host bridge /pcie@0x820000000 ranges:
[    1.764755] ascend-pci-rc-driver 820000000.pcie:      MEM 0x00b0000000..0x00b3ffffff -> 0x00b0000000
[    1.773888] ascend-pci-rc-driver 820000000.pcie:      MEM 0x0830000000..0x083fffffff -> 0x0830000000
[    1.783041] ascend-pci-rc-driver 820000000.pcie: ECAM at [mem 0x820000000-0x8203fffff] for [bus 00-03]
[    1.792405] ascend-pci-rc-driver 820000000.pcie: PCI host bridge to bus 0000:00
[    1.799711] pci_bus 0000:00: Unknown NUMA node; performance will be reduced
[    1.806669] pci_bus 0000:00: root bus resource [bus 00-03]
[    1.812151] pci_bus 0000:00: root bus resource [mem 0xb0000000-0xb3ffffff]
[    1.819022] pci_bus 0000:00: root bus resource [mem 0x830000000-0x83fffffff pref]

然后过大概十分钟,机器就自己重置了,一直重复以上过程,无法正常开机

出现这个问题之后,我看到这个相同问题的今年一月份帖子,但他似乎等 30 分钟就自己启动了。我这里无论等多久都只会重置,然后死循环上述过程


我还尝试重新烧写了一月份之前的 Ubuntu 系统:opiaipro_20t_ubuntu22.04_minimal_aarch64_20240924.img.xz,但除了过一会儿会打印出 RCU Stalled,没有其他区别:

true

文字版:

[  423.977553] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[  423.983476] rcu:     0-...0: (30 ticks this GP) idle=276/1/0x4000000000000000 softirq=26/28 fqs=369 
[  423.992341] rcu:     (detected by 3, t=15119 jiffies, g=-1131, q=2)
[  423.998344] Sending NMI from CPU 3 to CPUs 0:
[  434.003856] rcu: rcu_sched kthread timer wakeup didn't happen for 2559 jiffies! g-1131 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
[  434.015063] rcu:     Possible timer handling issue on cpu=3 timer-softirq=118
[  434.021930] rcu: rcu_sched kthread starved for 2560 jiffies! g-1131 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=3
[  434.032182] rcu:     Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.
[  434.041131] rcu: RCU grace-period kthread stack dump:
[  434.046174] task:rcu_sched       state:I stack:    0 pid:   12 ppid:     2 flags:0x00000008
[  434.054521] Call trace:
[  434.056970]  __switch_to+0xb4/0x118
[  434.060456]  __schedule+0x378/0x800
(以下略)

之后还是卡住,然后重置。

有没有办法回滚固件和驱动?或者临时加启动参数、禁用一些功能,让机器能启动?谢谢各位。

本帖最后由 匿名用户2025/04/29 02:18:39 编辑

我要发帖子