On Tue, May 25, 2010 at 01:17:01AM +0530, Ritesh Raj Sarraf wrote:
> On Tuesday 25 May 2010 00:54:45 Kurt Roeckx wrote:
> > > retitle 582810 "/usr/lib/debug path is not searched for vmlinux-`uname
> > > -r`"
> > 
> > Is this related to #555549 I asked you to look at earlier today?
> > 
> > The bug report is rather unclear to me.  Please atleast give
> > the full name of the expected file.
> 
> /usr/lib/debug/vmlinux-2.6.34-1-amd64
> 
> > The guess from the bug report would that it needs to look at:
> > /usr/lib/debug/vmlinux-`uname -r`
> > 
> Yes
> 
> > But it might make more sense if it was:
> > /usr/lib/debug/boot/vmlinux-`uname -r`
> >
> Maybe. Not sure why kernel team chose not to create it under there.
>  
> > That would be the place I was looking for it, and I'm guessing
> > that's where we look for it.

If that's what it tries to open, it really should place it there.

> The stap.log strace log is at:
> http://people.debian.org/~rrs/stap.log.gz

That's a rather strange strace file.  It for instance has:
open("/usr/lib/debug/usr/lib/debug//vmlinux", O_RDONLY) = -1 ENOENT (No such 
file or directory)

It makes me think this is a strace with your patch applied,
but the strace also shows the error message, so it's not making
much sense to me.

I don't see it trying to open it in /boot either, nor anything
with the kernel release, so I don't see how your patch could
fix it.

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.


Kurt




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

Reply via email to