linux-image-debug should create a symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-
Hi,
I wanted to install this package in order to use Systemtap.
Well, just installing this package does not work, since systemtap doesn't find the debug file.
However, a simple link into the /boot dir fixes the problem:
vmlinux-
Can you fix the package? Or fix the systemtap one?
As I said currently systemtap is not usable, if you don't make this link the error is:
semantic error: libdwfl failure (missing kernel debuginfo): No such file or directory while resolving probe point kernel.
semantic error: no match while resolving probe point kernel.
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
ste@ste-ubuntu:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
ste@ste-ubuntu:~$ apt-cache policy linux-image-
linux-image-
Installed: 2.6.24.19.21
Candidate: 2.6.24.19.21
Version table:
*** 2.6.24.19.21 0
500 http://
100 /var/lib/
2.6.24.18.20 0
500 http://
2.6.24.16.18 0
500 http://
ste@ste-ubuntu:~$ apt-cache policy systemtap
systemtap:
Installed: 0.0.20071201-1
Candidate: 0.0.20071201-1
Version table:
*** 0.0.20071201-1 0
500 http://
100 /var/lib/
Thanks!
It may make sense to just move the vmlinux-FOO-debug file out of /boot and right into
/lib/modules/`uname -r`/vmlinux, since /boot is typically space-constrained anyway.