GithubHelp home page GithubHelp logo

基本硬件:树莓派4B,安装ubuntu 24.04服务器版本,使用daed的armv7版本,我在使用daed项目时,提示nanotime returning zero about daed HOT 10 CLOSED

hedove avatar hedove commented on August 26, 2024
基本硬件:树莓派4B,安装ubuntu 24.04服务器版本,使用daed的armv7版本,我在使用daed项目时,提示nanotime returning zero

from daed.

Comments (10)

dae-prow avatar dae-prow commented on August 26, 2024

Thanks for opening this issue!

from daed.

mzz2017 avatar mzz2017 commented on August 26, 2024

journalctl -b -u daed -o cat

from daed.

hedove avatar hedove commented on August 26, 2024

journalctl -b -u daed -o cat

root@raspberrypi:/opt/daed# journalctl -b -u daed -o cat
root@raspberrypi:/opt/daed# /opt/daed/daed run -c /opt/daed/
fatal error:
^Cnanotime returning zero

goroutine 1 gp=0x3802128 m=0 mp=0x21373c0 [running, locked to thread
root@raspberrypi:/opt/daed# journalctl -b -u daed -o cat

nothing else.

from daed.

hedove avatar hedove commented on August 26, 2024

root@raspberrypi:/opt/daed# systemctl status daed.service
● daed.service - daed is a integration solution of dae, API and UI.
Loaded: loaded (/etc/systemd/system/daed.service; disabled; preset: enabled)
Active: active (running) since Mon 2024-07-01 00:09:17 CST; 2s ago
Docs: https://github.com/daeuniverse/daed
Main PID: 1327 (daed)
Tasks: 2 (limit: 8686)
Memory: 492.0K (peak: 948.0K)
CPU: 5.015s
CGroup: /system.slice/daed.service
└─1327 /opt/daed/daed run -c /opt/daed/

Jul 01 00:09:17 raspberrypi systemd[1]: Started daed.service - daed is a integration solution of dae, API and UI..
Jul 01 00:09:17 raspberrypi daed[1327]: fatal error: nanotime returning zero

nanotime returning zero.that's all.

from daed.

MarksonHon avatar MarksonHon commented on August 26, 2024

@hedove Please send us detailed information about your system version and CPU architecture.

from daed.

mzz2017 avatar mzz2017 commented on August 26, 2024

树莓派4B是arm64的,你下载armv7的daed使用可能会有问题,

uname -a

from daed.

hedove avatar hedove commented on August 26, 2024

root@raspberrypi:/opt/daed# uname -r
6.8.0-1004-raspi
root@raspberrypi:/opt/daed# (zcat /proc/config.gz || cat /boot/{config,config-$(uname -r)}) | grep -E 'CONFIG_(DEBUG_INFO|DEBUG_INFO_BTF|KPROBES|KPROBE_EVENTS|BPF|BPF_SYSCALL|BPF_JIT|BPF_STREAM_PARSER|NET_CLS_ACT|NET_SCH_INGRESS|NET_INGRESS|NET_EGRESS|NET_CLS_BPF|BPF_EVENTS|CGROUPS)=|# CONFIG_DEBUG_INFO_REDUCED is not set'
gzip: /proc/config.gz: No such file or directory
cat: /boot/config: No such file or directory
CONFIG_BPF=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_CGROUPS=y
CONFIG_KPROBES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_CLS_BPF=m
CONFIG_NET_CLS_ACT=y
CONFIG_BPF_STREAM_PARSER=y
CONFIG_DEBUG_INFO=y

CONFIG_DEBUG_INFO_REDUCED is not set

CONFIG_KPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y

树莓派4B是arm64,你下载的armv7的daed使用可能会有问题,

uname -a

似乎是没有CONFIG_DEBUG_INFO_BTF=y 这一项吗? 我看到官方要求的内核是需要开启这一项,如果是树莓派需要如何开启它呢?

from daed.

hedove avatar hedove commented on August 26, 2024

@hedove请您发送有关您的系统版本和 CPU 架构的详细信息。

root@raspberrypi:/opt/daed# uname -r
6.8.0-1004-raspi
root@raspberrypi:/opt/daed# (zcat /proc/config.gz || cat /boot/{config,config-$(uname -r)}) | grep -E 'CONFIG_(DEBUG_INFO|DEBUG_INFO_BTF|KPROBES|KPROBE_EVENTS|BPF|BPF_SYSCALL|BPF_JIT|BPF_STREAM_PARSER|NET_CLS_ACT|NET_SCH_INGRESS|NET_INGRESS|NET_EGRESS|NET_CLS_BPF|BPF_EVENTS|CGROUPS)=|# CONFIG_DEBUG_INFO_REDUCED 未设置'
gzip:/proc/config.gz:没有此文件或目录
cat:/boot/config:没有此文件或目录
CONFIG_BPF=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_CGROUPS=y
CONFIG_KPROBES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_CLS_BPF=m
CONFIG_NET_CLS_ACT=y
CONFIG_BPF_STREAM_PARSER=y
CONFIG_DEBUG_INFO=y

#CONFIG_DEBUG_INFO_REDUCED
CONFIG_KPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y

树莓派4B是arm64,你下载的armv7的daed使用可能会有问题,

uname -a

似乎没有 CONFIG_DEBUG_INFO_BTF=y 这一项? 看到官​​方要求的内核是需要开启这一项,如果是树莓需要如何开启它呢?

from daed.

hedove avatar hedove commented on August 26, 2024

我更换了arm64版本依然无法运行。

from daed.

mzz2017 avatar mzz2017 commented on August 26, 2024
  1. 你的操作系统要选 arm64(aarch64)
  2. 你需要重新编译内核以加入 btf 支持
  3. “依然无法运行”没有任何日志反馈

from daed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.