[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#582810: add symlink for vmlinux to /boot



Package: linux-2.6
Severity: normal

Hi,

The systemtap tool, when executed, searches for the vmlinux image in /boot/. 
The currently shipped vmlinux image in Debian is with the -dbg package that
installs it into /usr/lib/debug.

Could you please handle a symlink to /boot for vmlinux ?

This is required for systemtap. I have manually verified it by creating
the symlink and it works.

Without it, following error is seen:

00:52:38 rrs@champaran:/usr/share/doc/systemtap-doc/examples/process $
stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 68 library script(s) using
49924virt/20852res/1740shr kb, in 130usr/10sys/135real ms.                                                             
semantic error: missing x86_64 kernel/module debuginfo under
'/lib/modules/2.6.34-1-amd64/build' while resolving probe point
kernel.function("vfs_read")                         
semantic error: no match while resolving probe point vfs.read                                                                                                                    
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0
global(s) using 50532virt/21772res/2008shr kb, in 10usr/370sys/1771real
ms.                                    
Pass 2: analysis failed.  Try again with another '--vp 01' option.                                                                                                               


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: