Giter Site home page Giter Site logo

Comments (6)

joelagnel avatar joelagnel commented on June 24, 2024

from adeb.

ErickReyesR avatar ErickReyesR commented on June 24, 2024

Hi,

The warnings on your console appear to indicate a problem with your kernel headers. We recently added the option to use pre-built headers for kernels 4.9 and 4.14 on arm64. Could you please try to prepare you device using: adeb prepare --full with no other options?

from adeb.

lipf1987 avatar lipf1987 commented on June 24, 2024

Hi

adeb prepare --full
adeb: v0.99g
--------------
11:09:49 - INFO : Looking for device..
11:09:49 - INFO : Preparing device...
11:09:49 - INFO : Doing a full install.
11:09:49 - INFO :
11:09:49 - INFO : Downloading Androdeb from the web...
11:09:49 - INFO :
11:09:49 - INFO : No repository URL provided in enviromnent. Attempting to auto-detect it
11:09:49 - INFO : Detected URL: github.com/joelagnel/adeb/
% Total % Received % Xferd Average Speed Time Time Time Current
                             Dload  Upload   Total   Spent    Left  Speed

100 610 0 610 0 0 376 0 --:--:-- 0:00:01 --:--:-- 377
100 295M 100 295M 0 0 1754k 0 0:02:52 0:02:52 --:--:-- 1307k
Archive: /tmp/tmp.KiUIYmKTYc/androdeb-fs.tgz.zip
inflating: /tmp/tmp.KiUIYmKTYc/androdeb-fs.tgz
11:09:43 - INFO : Kernel headers are needed but none were provided. Downloading pre-built headers
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 619 0 619 0 0 521 0 --:--:-- 0:00:01 --:--:-- 521
100 11.6M 100 11.6M 0 0 422k 0 0:00:28 0:00:28 --:--:-- 699k
Archive: /tmp/tmp.KiUIYmKTYc/headers-arm64-4.9.tar.gz.zip
inflating: /tmp/tmp.KiUIYmKTYc/headers-arm64-4.9.tar.gz
11:09:12 - INFO : Building updating kernel headers from supplied tar.gz (/tmp/tmp.KiUIYmKTYc/headers-arm64-4.9.tar.gz)
11:09:12 - INFO : Using archive at /tmp/tmp.KiUIYmKTYc/androdeb-fs.tgz for filesystem preparation
11:09:12 - INFO : Pushing filesystem to device..
11:09:36 - INFO : Pushing addons to device..
11:09:36 - INFO : Unpacking filesystem in device..

root@localhost:/# biosnoop
WARNING: Linux version for eBPF program is being overridden with: 264475
WARNING: Due to this, the results of the program may be unpredictable
TIME(s) COMM PID DISK T SECTOR BYTES LAT(ms)

^CTraceback (most recent call last):
File "/usr/share/bcc/tools/biosnoop", line 189, in
b.perf_buffer_poll()
File "/usr/lib/python2.7/dist-packages/bcc/init.py", line 1216, in perf_buffer_poll
lib.perf_reader_poll(len(readers), readers, timeout)
KeyboardInterrupt
root@localhost:/#
but still no log out put.

from adeb.

lipf1987 avatar lipf1987 commented on June 24, 2024

Hi ErickReyesR

Could you give me a patch how to fix the warnings on my console or any suggestions?
Thank you very much

from adeb.

ErickReyesR avatar ErickReyesR commented on June 24, 2024

Hi,

The warnings you are seeing are normal when using the pre-built headers.

These tools rely on kprobes. I suspect something in your kernel is preventing kprobes from working. Could you share more details about your platform? (SoC and Kernel config file if possible).

from adeb.

lipf1987 avatar lipf1987 commented on June 24, 2024

Hi ErickReyesR
Thanks for your help.
I know why no log out put,
I did not config kprobes in my kernel.
now it can work.
I will close this issue.

from adeb.

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.