lkml.org 
[lkml]   [2009]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] Re: [perf] Finding uninstalled modules Was Re: mailing list for trace users
From
Date
On Wed, 2009-09-23 at 17:39 +0300, Avi Kivity wrote:
> On 09/23/2009 05:09 PM, Mike Galbraith wrote:
> >
> >> Mine says:
> >>
> >> kernel/arch/x86/kvm/kvm.ko:
> >> kernel/arch/x86/kvm/kvm-intel.ko: kernel/arch/x86/kvm/kvm.ko
> >>
> >> Which is reasonable for /lib/modules/2.6.31, not for a source directory.
> >>
> > Yup, there's the problem. The code assumes that the path to modules.dep
> > and the path stored in modules.dep will agree.
> >
> > Wants some robustification.
> >
>
> The trace shows modules.dep was picked up from /lib/modules/2.6.31, so
> if it continued that and picked up the modules from the same place,
> everything would work. Why does it try to pick up the modules from cwd?

I don't know where that cwd is coming from off the top of my head.

The symbol loading code reads the path stored in modules.dep, and chops
at ':'.

> >> open("kernel/arch/x86/kvm/kvm-intel.ko", O_RDONLY) = -1 ENOENT (No
...
> Mine says:
>
> kernel/arch/x86/kvm/kvm.ko:
> kernel/arch/x86/kvm/kvm-intel.ko: kernel/arch/x86/kvm/kvm.ko

-Mike



\
 
 \ /
  Last update: 2009-09-23 16:55    [W:0.900 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site