2006-03-07 06:03:31

by tim tim

[permalink] [raw]
Subject: kernel installation --depmod

hello andrew.. i even tried with modutils & mod init tools but even
after that we r getting the depmod errors.. i don't think there is a
problem in make modules.. since Sam Ravnborg has mentioned something
that make modules is problem.. can any other suggestions u can offer
for us..
--
--->> Experience is the wise man's toll <<----


2006-03-07 06:41:45

by Sam Ravnborg

[permalink] [raw]
Subject: Re: kernel installation --depmod

On Tue, Mar 07, 2006 at 11:33:30AM +0530, tim tim wrote:
> hello andrew.. i even tried with modutils & mod init tools but even
> after that we r getting the depmod errors.. i don't think there is a
> problem in make modules.. since Sam Ravnborg has mentioned something
> that make modules is problem.. can any other suggestions u can offer
> for us..

Try to drop me the output of
make V=1

Use something like: make V=1 > sam 2>&1
And send me the file sam offline (probarly too big for lkml anyway)
And then also the output of scripts/ver_linux

I expect this to be a simple problem when we find it.

Sam

2006-03-07 06:42:12

by Andrew Haninger

[permalink] [raw]
Subject: Re: kernel installation --depmod

On 3/7/06, tim tim <[email protected]> wrote:
> hello andrew.. i even tried with modutils & mod init tools but even
> after that we r getting the depmod errors.. i don't think there is a
> problem in make modules.. since Sam Ravnborg has mentioned something
> that make modules is problem.. can any other suggestions u can offer
> for us..
I don't know what else I can really suggest. Perhaps it's time to find
a distribution that includes the kernel release you want (or a more
recent one).

Please answer the questions Sam asked:

> The warnings you see is a module that references symbols that it cannot
> resolve.
> Do you have a vmlinux in the root of your kernel tree?
Look in your kernel source directory. Is there a file there called "vmlinux"?

> Does Module.symvers include the symbols that you get warnings on?
This file should be found in the root of your kernel tree, too.

> You need to do a successful build of the kernel before you can build
> the modules.
Is the build of the kernel failing, thus leaving certain dependancies
not met for the build of the modules? Do you get any error messages
when you run "make" in the kernel source directory?

Again, unless this is a "just for fun" exercise, it might be more
worth your while to get a different distribution with all of this
stuff preconfigured.

-Andy