-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Ubuntu 14.04LTS)Make all error - FATAL ERROR: cannot find old_rsp FATAL ERROR: build.pl aborting #113
Comments
same issue, any update for this?.... |
Noupdate. Can u send me a copy of /proc/kallsyms? Thanks
|
Facing same issue in ubuntu 13.04(kernel version: 3.8.0.19-generic) |
Same here with kernel-4.1.10-200.fc22.x86_64 |
Same here. Might that be related to me trying to install |
did you pick up the latest release of dtrace? On 15 November 2015 at 17:12, Volkan Özçelik [email protected]
|
Thanks, the new version compiles fine for me now on 4.2.5-300.fc23.x86_64 |
Similar issue with Archlinux 4.2.5-1 and 4.3.1. Using commit fbd8847 |
same issue: Ubuntu 4.2.0-18-generic getfree@LifeBookC:~/PycharmProjects/dtrace4linux/linux$ tools/get-deps.pl make all |
Looks to me like libdw is missing in the output - so "stuff" isnt going to On 2 December 2015 at 00:59, bitfree [email protected] wrote:
|
getfree@LifeBookC:~/down/dtrace4linux$ sudo apt-get install libdw-dev getfree@LifeBookC:~/down/dtrace4linux$ make all same issue ? getfree@LifeBookC: |
any news here? |
Did you download the latest dtrace release?
|
yes. |
of course. I downloaded latest.. 2015-12-10 21:07 GMT+09:00 dtrace4linux [email protected]:
mailto : [email protected] |
there are no problems in 3.x kernel
2015-12-10 21:51 GMT+09:00 Marcus Alvares [email protected]:
mailto : [email protected] |
Well, they renamed old_rsp into rsp_scratch at kernel version 4.2. But then removed rsp_scratch at version 4.20 (this patch). So, as for kernels 4.20+ it fails to get rsp. We need to get rsp value somehow according to this patch. |
I have the same problem on Kernel 5.8.16_1 |
I can get the symbol So, I guess that adding some lines like the following will work, but I dont' know how to get the offset to
|
I have the same problem on Kernel 5.4.0, Ubuntu 20.04.1 |
This comment has been minimized.
This comment has been minimized.
Same problem on Kernel 5.10.0, Debian 11 |
I have the same problem on Linux version 5.15.0-105-generic (buildd@lcy02-amd64-007) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 |
Hello! I try a lot to use Dtrace for my project, but this time I found another error. Please give me some advice to solve these two problems. Thank you!
Below is the error message:
BUILD_DIR=build-3.16.0-38-generic
tools/mkdriver.pl driver-kmem ;
tools/build.pl build-3.16.0-38-generic
uname -m
symlink ../../driver-kmem/Makefile build-3.16.0-38-generic/driver-kmem/Makefile
symlink ../../driver-kmem/dtrace_kmem.c build-3.16.0-38-generic/driver-kmem/dtrace_kmem.c
Executing: /home/tommy/dtrace-20150521/tools/make-me
make -C /lib/modules/3.16.0-38-generic/build M=/home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem
LD /home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/built-in.o
CC [M] /home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/dtrace_kmem.o
/home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/dtrace_kmem.c: In function 'kmem_read':
/home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/dtrace_kmem.c:44:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
n = copy_to_user(buf, (char ) off2, len);
^
Building modules, stage 2.
MODPOST 1 modules
CC /home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/dtrace_kmem.mod.o
LD [M] /home/tommy/dtrace-20150521/build-3.16.0-38-generic/driver-kmem/dtrace_kmem.ko
gcc -o build-3.16.0-38-generic/kcore tools/kcore.c
tools/check_dep.pl
tools/mkport.pl
/usr/bin/ld: cannot find -ldw
collect2: error: ld returned 1 exit status
Failed to find stub_execve
old_rsp=
We cannot find old_rsp or per_cpu__old_rsp in your kernel.
Additionally, it looks like /proc/kcore is broken on your kernel,
meaning we cannot poke to find this variable, which helps identify
kernel thread offsets.
FATAL ERROR: cannot find old_rsp
FATAL ERROR: build.pl aborting
make: ** [all] Error 25
The text was updated successfully, but these errors were encountered: