Re: Invalid module format ?

Matt H.
2004-06-12T00:51:10Z

J.A. Magallon ,

Grab the latest offical nvidia driver 5336 , then patch it with the patch
aviable from http://www.minion.de/nvidia.html ( there patch allows the nvidia
driver to compile and work under gcc 3.4 ).

You also may want to make sure your using the latest module-init-tools.

Matt H.

On Friday 11 June 2004 5:38 pm, J.A. Magallon wrote:
> Hi all...
>
> First of all, I'm aware of the 'ask the vendor' answer. I just would like
> the reasons.
>
> With gcc-3.4.1 cvs, the nvidia module is miscompiled or something.
> The same sources that build and install with gcc-3.3, now build and give
> me this:
>
> werewolf:~# modinfo nvidia
> filename: /lib/modules/2.6.7-rc3-jam1/video/nvidia.ko
> license: NVIDIA
> werewolf:~# modprobe nvidia
> FATAL: Error inserting nvidia
> (/lib/modules/2.6.7-rc3-jam1/video/nvidia.ko): Invalid module format
>
> syslog:
>
> Jun 12 02:35:44 werewolf kernel: No module found in object
>
> werewolf:~# cat /proc/version
> Linux version 2.6.7-rc3-jam1 (root@werewolf.able.es) (gcc version 3.4.1
> (Mandrakelinux (Cooker) 3.4.1-0.2mdk)) #1 SMP Fri Jun 11 01:49:52 CEST 2004
>
> Any idea ?