Giter VIP home page Giter VIP logo

Comments (5)

dohyunkim-dev avatar dohyunkim-dev commented on July 28, 2024

Hi @aghari19 , this seems to be related to another issue #3. Could you:

  1. make sure you are in ghOSt kernel (uname -a)
  2. run make headers_install INSTALL_HDR_PATH=/usr in the ghost-kernel's directory
  3. check whether you see the declaration for enum bpf_stats_type in /usr/src/linux-headers-VERSION/include/uapi/linux/bpf.h? Replace VERSION in the path with the ghOSt kernel version (5.11 or so).

from ghost-userspace.

aghari19 avatar aghari19 commented on July 28, 2024

Hello @dohyunkim-dev
Thank you for your pointers. I rebuilt the system and ran the make command and was able to successfully build the user-space.

However, soon after I run into the following issue when I run the following command:
bazel-bin/fifo_per_cpu_agent --ghost_cpus 0-1

Screenshot from 2022-11-22 13-40-40

from ghost-userspace.

jackhumphries avatar jackhumphries commented on July 28, 2024

Hello,

It appears that you may not have the ghOSt kernel installed, or if you do, then perhaps CONFIG_SCHED_CLASS_GHOST was not set.

To check if the ghOSt kernel was installed with ghOSt enabled, can you let me know if you see the ghost directory under /sys/fs?

Thanks,
Jack

from ghost-userspace.

aghari19 avatar aghari19 commented on July 28, 2024

Hello Jack,
Yes, I think the ghost kernel was not installed or if it did it was not proper. I do not see the ghost directory under /sys/fs and when I looked for the CONFIG_SCHED_CLASS_GHOST in the .config file it was not set.
I see this in the config file.
Screenshot from 2022-11-23 11-13-20

While configuring the kernel do you recommend doing 'make menuconfig' and enabling the ghost class or doing 'make defconfig'.

I have been doing defconfig all this while. Please let me know,

Thank you,
Haritha

from ghost-userspace.

dohyunkim-dev avatar dohyunkim-dev commented on July 28, 2024

Hi aghari19, sorry for the delayed response. As long as you can get the setting that works, you can use either menuconfig or defconfig. I personally use ./scripts/config --enable CONFIG_SCHED_CLASS_GHOST before doing make to make sure ghOSt is properly configured for compilation. Marking this thread as closed, but feel free to reopen and follow up if you have any further questions.

from ghost-userspace.

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.