Comments (6)
from adeb.
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.
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.
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.
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.
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)
- Tracing user space functions outside the chroot
- eBPF C: cannot use strcmp and strncmp HOT 2
- `adeb prepare` or `adeb prepare --full` download failed HOT 1
- can not find /data/androdeb/run
- Got failed for building arm32 arch bcc HOT 3
- What is the "supported" Android kernel with `CONFIG_IKHEADERS`? HOT 1
- Exception: Failed to compile BPF module <text> HOT 1
- Failed to run some commands HOT 2
- why have aosp removed adeb?
- bpftrace uprobe pthread_create on android adeb env HOT 1
- suggestion for supporting bpftrace HOT 2
- Question: Should I be able to execute AOSP binaries via the adeb shell? HOT 3
- Have this supported Android11 with kernel-5.4? HOT 1
- `/apex` isn't mounted HOT 1
- Why are there so many '[unknown]' address info while using uprobe?
- adeb prepare advertises --distro flag but doesn't accept it HOT 7
- Support Debian Bullseye HOT 3
- how to build with su environment? HOT 1
- /data/androdeb/run: can't execute: Permission denied
- i used ./adeb prepare --archive '/home/android/Downloads/androdeb-fs.tgz.zip' and run adeb shell error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adeb.