linux-image-debug should create a symlink

Bug #244315 reported by f3a97
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-debug-generic

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-2.6.24-19-generic -> vmlinux-debug-2.6.24-19-generic

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.function("vfs_read").return
semantic error: no match while resolving probe point kernel.function("vfs_write").return
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-debug-generic
linux-image-debug-generic:
  Installed: 2.6.24.19.21
  Candidate: 2.6.24.19.21
  Version table:
 *** 2.6.24.19.21 0
        500 http://sm.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     2.6.24.18.20 0
        500 http://security.ubuntu.com hardy-security/main Packages
     2.6.24.16.18 0
        500 http://sm.archive.ubuntu.com hardy/main Packages

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://sm.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Thanks!

Revision history for this message
Frank Ch. Eigler (fche) wrote :

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.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi stek79,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . Please then run following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 244315

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.