Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2008-07-07 Thread Riku Voipio
The problem is that the vmlinuz file in /boot and modules in
/lib/modules do not carry debug symbols. Therefor the vmlinux
and unstripped modules would be needed in a linux-debug-2.6.x-x-all
package carrying these would be nice. See the following discussion
about systemtap for example:

http://sources.redhat.com/ml/systemtap/2008-q3/msg00048.html

This is not a issue for people building their own kernels, but
for people tracing production systems running released debian
kernels, where no debuginfo is preserved from the build.

-- 
rm -rf only sounds scary if you don't have backups



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2008-07-07 Thread Johan Walles
As a workaround for this if you want the kernel symbols for OProfile,
you can use this script instead of opreport:
http://marc.info/?l=oprofile-listm=121514749918466q=p3

It fetches kernel symbol information from /proc/kallsyms and lists
them in a format identical to what opreport -l uses.

  //Johan

2008/7/7 Riku Voipio [EMAIL PROTECTED]:
 The problem is that the vmlinuz file in /boot and modules in
 /lib/modules do not carry debug symbols. Therefor the vmlinux
 and unstripped modules would be needed in a linux-debug-2.6.x-x-all
 package carrying these would be nice. See the following discussion
 about systemtap for example:

 http://sources.redhat.com/ml/systemtap/2008-q3/msg00048.html

 This is not a issue for people building their own kernels, but
 for people tracing production systems running released debian
 kernels, where no debuginfo is preserved from the build.

 --
 rm -rf only sounds scary if you don't have backups



 --
 To unsubscribe, send mail to [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2008-04-21 Thread Hing-Wah Wan

Hi,
   +!.  I also wish the vmlinux can also be shipped for use by oprofile 
without the need to recompile the kernel.


Regards,
hingwah



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2008-01-03 Thread Robert Edmonds
Ping.

Bastian Blank wrote:
 On Sat, Jan 06, 2007 at 02:50:46PM +0100, Philippe Teuwen wrote:
  To use oprofile with kernel profiling enabled, we need the uncompressed 
  version 
  of the kernel image, vmlinux.
 
 Use gunzip to get them (at least for architectures which simply
 compresses it with gzip). Some architectures also uses uncompressed
 files.

This is not the case on at least amd64/i386.

  I saw on 
  http://bonglonglong.com/2006/12/06/oprofile-kernel-images-and-innodb-oh-my/
  that this is much easier on redhat which features a package called 
  kernel-debuginfo
 
 I don't see such a package in the development fedora tree, please
 provide more informations.
 
  So could we also have sth like linux-debuginfo-2.6.18-1-686_i386.deb ?
 
 What should it contain? Only the uncompressed image? Or the unstripped?

The uncompressed, unstripped vmlinux file at the top of the upstream
linux build tree.  For amd64 it is this file in the linux-2.6 build
tree:

[EMAIL PROTECTED]:~/src/linux/linux-2.6$ file 
linux-2.6-2.6.23/debian/build/build_amd64_none_amd64/vmlinux
linux-2.6-2.6.23/debian/build/build_amd64_none_amd64/vmlinux: ELF 64-bit LSB 
executable, x86-64, version 1 (SYSV), statically linked, not stripped

 The later is not possible for size constraints.

Why?

[EMAIL PROTECTED]:~/src/linux/linux-2.6$ ls -1sh 
linux-2.6-2.6.23/debian/build/build_amd64_none_amd64/vmlinux
5.0M linux-2.6-2.6.23/debian/build/build_amd64_none_amd64/vmlinux*

-- 
Robert Edmonds
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2007-01-06 Thread Philippe Teuwen
Package: linux-source-2.6.18
Severity: wishlist

Hello,
To use oprofile with kernel profiling enabled, we need the uncompressed version 
of the kernel image, vmlinux.
When using the debian kernel image this is not possible, it is required to take
the kernel sources and to compile a new image with make vmlinux.
I saw on 
http://bonglonglong.com/2006/12/06/oprofile-kernel-images-and-innodb-oh-my/
that this is much easier on redhat which features a package called 
kernel-debuginfo
So could we also have sth like linux-debuginfo-2.6.18-1-686_i386.deb ?

Phil

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2007-01-06 Thread Bastian Blank
reassign 405810 linux-2.6
tags 405810 moreinfo
thanks

On Sat, Jan 06, 2007 at 02:50:46PM +0100, Philippe Teuwen wrote:
 To use oprofile with kernel profiling enabled, we need the uncompressed 
 version 
 of the kernel image, vmlinux.

Use gunzip to get them (at least for architectures which simply
compresses it with gzip). Some architectures also uses uncompressed
files.

 I saw on 
 http://bonglonglong.com/2006/12/06/oprofile-kernel-images-and-innodb-oh-my/
 that this is much easier on redhat which features a package called 
 kernel-debuginfo

I don't see such a package in the development fedora tree, please
provide more informations.

 So could we also have sth like linux-debuginfo-2.6.18-1-686_i386.deb ?

What should it contain? Only the uncompressed image? Or the unstripped?
The later is not possible for size constraints.

Bastian

-- 
A little suffering is good for the soul.
-- Kirk, The Corbomite Maneuver, stardate 1514.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2007-01-06 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 405810 linux-2.6
Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on 
redhat
Bug reassigned from package `linux-source-2.6.18' to `linux-2.6'.

 tags 405810 moreinfo
Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on 
redhat
There were no tags set.
Tags added: moreinfo

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#405810: Please provide package with vmlinuX, similar to kernel-debuginfo on redhat

2007-01-06 Thread Philippe Teuwen


To use oprofile with kernel profiling enabled, we need the uncompressed version 
of the kernel image, vmlinux.



Use gunzip to get them (at least for architectures which simply
compresses it with gzip). Some architectures also uses uncompressed
files.
  

I'm using i386 and I tried many things...

(rename vmlinuz then) gunzip -f vmlinux-2.6.18-1-686.gz
gunzip: vmlinux-2.6.18-1-686.gz: not in gzip format

objcopy -j .kernel:vmlinux -O binary vmlinuz-2.6.18-1-686 vmlinux.gz
objcopy: vmlinuz-2.6.18-1-686: File format not recognized

Maybe I'm too stupid, how do you do that on i386?

I don't see such a package in the development fedora tree, please
provide more informations.
  

Here is an example for Fedora 5:
the content of package kernel-debuginfo-2.6.18-1.2257.fc5.x86_64.rpm
can be see here http://rpm.pbone.net/index.php3/stat/6/idpl/3685636

What should it contain? Only the uncompressed image? Or the unstripped?
The later is not possible for size constraints.

Apparently the Fedora package contain also all debug symbols.
Oops, this package is 720Mb :-(

But for oprofiler we don't need all that,
/usr/share/doc/oprofile/README.Debian.gz says:
If you wish to have make-kpkg automatically build a vmlinux image
so you can profile the kernel, edit the file /etc/kernel-pkg.conf
(or ~/.kernel-pkg.conf) and add this line:
   install_vmlinux=YES


So is there a magic command to get vmlinux out of vmlinuz
whatever the architecture is and if not, could it be possible
to create a package with the uncompressed kernel for each
binary kernel?

Phil



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]