On Sun, Jan 11, 2009 at 5:31 PM, Abraham
<abraham.varric...@gdatech.co.in> wrote:
> I added the Jaunty repository and installed 2.6.28 into my Ubuntu. Now,
> when I run "uname -r" I get,
> 2.6.28-4-generic
>
> I still got the "Invalid module format" error with this, so I downloaded
> the kernel sources from the Ubuntu repository. As a result, I got the

At what point do you get the error? The kernel should ship with the
modules you need, no need to compile your own?

> following 2 folders on my system,
> /usr/src/linux-headers-2.6.28-4
> /usr/src/linux-headers-2.6.28-4-generic
>
> They appear to contain the kernel sources I need. In fact, I could run
> "make menuconfig" in both of them. (From what I can tell, the generic
> folder contains symbolic links for most of the directories & files to
> the other one)

You should use only the -generic folder if you compile something for
your -generic kernel.

> I copied the folders to my home directory and when I run,
> make drivers/gpu/drm
>
> I get this reply,
> make: Nothing to be done for `drivers/gpu/drm'.
> At this point, the .o files are not even created.

You would need to run a few other make commands first. But again, use
the shipped modules instead.

Tormod

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to