Invalid module format ?
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 ([email protected]) (gcc version 3.4.1 (Mandrakelinux (Cooker) 3.4.1-0.2mdk)) #1 SMP Fri Jun 11 01:49:52 CEST 2004
Any idea ?
Signature · 4 lines
J.A. Magallon <jamagallon()able!es> \ Software is like sex: werewolf!able!es \ It's better when it's free Mandrakelinux release 10.1 (Cooker) for i586 Linux 2.6.7-rc3-jam1 (gcc 3.4.1 (Mandrakelinux (Cooker) 3.4.1-0.2mdk)) #1
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.
Quoted 25 lines · J.A. Magallon
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 formatsyslog:
Jun 12 02:35:44 werewolf kernel: No module found in objectwerewolf:~# cat /proc/version Linux version 2.6.7-rc3-jam1 ([email protected]) (gcc version 3.4.1 (Mandrakelinux (Cooker) 3.4.1-0.2mdk)) #1 SMP Fri Jun 11 01:49:52 CEST 2004Any idea ?
Quoted 6 lines · Matt H.
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 ).
I've got that patches ;).
I think the problem is gcc-3.4.1.
Why can a module give that error ? Any header info, some MODULE_INFO, what ?
werewolf:~> rpm -q module-init-tools module-init-tools-3.0-2mdk
TIA
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.1 (Cooker) for i586
Linux 2.6.5-rc1-jam3 (gcc 3.4.1 (Mandrakelinux (Cooker) 3.4.1-0.3mdk)) #3