Bug#582810: install vmlinux into /usr/lib/debug/boot [Was: add symlink for vmlinux to /boot]

2010-05-27 Thread Ritesh Raj Sarraf
Ben,

Is this request justified now ? Just want your acknowledgement.

elfutils checks for the vmlinux-`uname-r` images at a set of pre-defined 
locations, none of which matches /usr/lib/debug exactly. Under /usr, vmlinux 
needs to be installed at /usr/lib/debug/boot/


Regards,
Ritesh


On Tuesday 25 May 2010 21:29:38 Ritesh Raj Sarraf wrote:
 reassign 582810 linux-2.6
 retitle 582810 install vmlinux into /usr/lib/debug/boot/
 thanks
 
 
 Thanks Kurt. I am assigning it to the linux team.
 
 Regards,
 Ritesh
 
 On Tuesday 25 May 2010 12:14:00 Ritesh Raj Sarraf wrote:
  On Tuesday 25 May 2010 02:06:29 Kurt Roeckx wrote:
   Does creating a symlink at /usr/lib/debug/boot/vmlinux-`uname -r`
   work?  If it does, this bug should be reassigned to linux-2.6
   again asking them to move the file to /usr/lib/debug/boot/
   where it belongs.
  
  Yes, the symlink creation fixes the problem. So if the kernel team can
  ship it into /usr/lib/debug/boot/vmlinux-`uname -r` , we should be good.
  
  These are the paths stap looks at for.
  
  open(/usr/lib/debug//boot/vmlinux-2.6.34-1-amd64, O_RDONLY) = -1 ENOENT
  (No such file or directory)
  lstat(/boot, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  lstat(/boot/vmlinux-2.6.34-1-amd64, 0x7fffc8bf3380) = -1 ENOENT (No
  such file or directory)
  open(/usr/lib/debug//boot/vmlinux-2.6.34-1-amd64.debug, O_RDONLY) = -1
  ENOENT (No such file or directory)
  lstat(/boot, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  lstat(/boot/vmlinux-2.6.34-1-amd64, 0x7fffc8bf3380) = -1 ENOENT (No
  such file or directory)
  open(/lib/modules/2.6.34-1-amd64/vmlinux, O_RDONLY) = -1 ENOENT (No
  such file or directory)
  open(/usr/lib/debug//lib/modules/2.6.34-1-amd64/vmlinux, O_RDONLY) = -1
  ENOENT (No such file or directory)
  lstat(/lib, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
  lstat(/lib/modules, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  lstat(/lib/modules/2.6.34-1-amd64, {st_mode=S_IFDIR|0755, st_size=4096,
  ...}) = 0
  lstat(/lib/modules/2.6.34-1-amd64/vmlinux, 0x7fffc8bf33a0) = -1 ENOENT
  (No such file or directory)
  open(/usr/lib/debug//lib/modules/2.6.34-1-amd64/vmlinux.debug,
  O_RDONLY) = -1 ENOENT (No such file or directory)
  lstat(/lib, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
  
  
  
  Regards,
  Ritesh

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs


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


Bug#582810: install vmlinux into /usr/lib/debug/boot [Was: add symlink for vmlinux to /boot]

2010-05-27 Thread Ben Hutchings
On Thu, May 27, 2010 at 07:13:36PM +0530, Ritesh Raj Sarraf wrote:
 Ben,
 
 Is this request justified now ? Just want your acknowledgement.

Yes, this will be fixed in the next upload.  (Hence it is tagged 'pending'.)

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100527152843.gg5...@decadent.org.uk