Skip to content

【BUG】cpu型号无法显示 #1685

Description

@c0make

描述 Bug

连接脚本srvboxm_v82.sh,读取cpu参数使用 /proc/cpuinfo,有的ARM机器 cpu型号没有model name,导致无法识别,请添加备用方案,例如lscpu 来辅助识别

Image

Activity

  1. winnowl commented on Oct 11, 2026

    @winnowl

    Issue triage

    Feasibility:needs-clarification | Risk:low

    Related code:

    • srvboxm_v82.sh

    Information needed to reproduce:

    • Which ARM device/model and operating system exhibit the issue?
    • What output do /proc/cpuinfo and lscpu produce on the affected machine?
    • What CPU model does the script display, if any, and what result is expected?
    • Does the issue occur when lscpu is installed, or should the fallback also work when it is unavailable?

    Suggested labels(not applied automatically):bug, ARM, CPU detection

  2. c0make commented on Oct 11, 2026

    @c0make
    Author

    异构cpu型号例如 4+2 ,监控卡片只会显示ARMv8 Processor rev 4 (v8l),而不是 ARMv8 Processor rev 6 (v8l)

  3. lollipopkit commented on Oct 11, 2026

    @lollipopkit
    Owner

    Thanks for the report. The plan is to read the core type from CPU implementer / CPU part in /proc/cpuinfo (the same table lscpu uses), so it works without lscpu installed and names each core type of a big.LITTLE CPU, e.g. 2× Cortex-A76 + 4× Cortex-A55.

    To check the table against your machines, could you post the output of these on both of them (FnOS and OES-FT-162)?

    grep -E '^(processor|model name|CPU implementer|CPU architecture|CPU variant|CPU part|CPU revision|Hardware)' /proc/cpuinfo
    lscpu

    And what is the CPU / board of each (e.g. Phytium FT-2000/4, RK3588)?


    感谢反馈。计划改为从 /proc/cpuinfo 的 CPU implementer / CPU part 识别核心型号(与 lscpu 使用同一张表),这样不依赖 lscpu,异构 CPU 也会分别显示,例如 2× Cortex-A76 + 4× Cortex-A55。

    为了核对型号表,麻烦在两台机器(FnOS 和 OES-FT-162)上分别执行上面两条命令并贴出结果,另外说明一下各自的 CPU / 主板型号(例如 飞腾 FT-2000/4、RK3588)。

  4. c0make commented on Oct 11, 2026

    @c0make
    Author
    Image Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions