View previous topic :: View next topic |
Author |
Message |
Brain Fury Guru

Joined: 10 Jul 2003 Posts: 357 Location: Düsseldorf (Germany)
|
Posted: Tue Mar 28, 2006 5:41 pm Post subject: fglrx.... invalid module format |
|
|
I just reinstalled gentoo and now I have a problem with the fglrx module.
I'm using gentoo-sources-2.6.16 and ati-drivers-8.23.7.
When I want to load the module I get the following Code: | # modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.16-gentoo/video/fglrx.ko): Invalid module format |
I can't imagine why it doesn't wok, because before it worked with just this configuration.
Any idea what this could be? _________________ shift HAPPENS |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Tue Mar 28, 2006 9:28 pm Post subject: |
|
|
Are there any further information in "dmesg"?
Regards,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
 |
Brain Fury Guru

Joined: 10 Jul 2003 Posts: 357 Location: Düsseldorf (Germany)
|
Posted: Wed Mar 29, 2006 1:49 pm Post subject: |
|
|
argh I'm stupid  Code: | fglrx: version magic '2.6.16-gentoo gcc-4.1' should be '2.6.16-gentoo gcc-3.4' |
It works now... _________________ shift HAPPENS |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Wed Mar 29, 2006 2:22 pm Post subject: |
|
|
Brain Fury wrote: | argh I'm stupid  Code: | fglrx: version magic '2.6.16-gentoo gcc-4.1' should be '2.6.16-gentoo gcc-3.4' |
It works now... |
Hehe .. shit happens.
(For those that don't see the solution: "When building a kernelmodule you've to use the same gcc as you've used when building the kernel.").
Regards,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
 |
Entropius n00b

Joined: 24 Aug 2004 Posts: 16
|
Posted: Tue Apr 04, 2006 11:02 pm Post subject: |
|
|
Stupid newbie question:
I've got the same problem. Is there any way to fix this short of recompiling the kernel (which I don't really have time to do at the moment) or emerging the earlier version of gcc and then re-emerging ati-drivers? |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Wed Apr 05, 2006 2:43 pm Post subject: |
|
|
Entropius wrote: | Stupid newbie question:
I've got the same problem. Is there any way to fix this short of recompiling the kernel (which I don't really have time to do at the moment) or emerging the earlier version of gcc and then re-emerging ati-drivers? |
As mentioned above, the kernel and its modules must be compiled using the same gcc. So if you have updated your system, but not recompiled your kernel with the new gcc, I recomment to do that, since it won't take that much time (the configuration need not to be modified. You've just to recompile it). If the kernel is already re-compiled using the new gcc, but the mentioned kernel module is still compiled using the old gcc, re-emerge the needed package to solve the problem.
BTW you can also force modprobe to load a module even if there is a versioning conflict. Think the "-f" switch should do the trick (but that is not the recommendet way ).
Anyway, recompiling the needed stuff should not take that much time, and therefore I recomment that.
regards,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
 |
konna n00b


Joined: 29 Jun 2005 Posts: 24 Location: Jõgeva, Estonia
|
Posted: Mon May 01, 2006 6:49 am Post subject: |
|
|
Mhh same error with loading module but dmesg error is different.
dmesg Code: | fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol inter_module_unregister
fglrx: Unknown symbol inter_module_get_request
fglrx: Unknown symbol inter_module_put
fglrx: Unknown symbol inter_module_register
|
Anyideas |
|
Back to top |
|
 |
SinoTech Advocate

Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Mon May 01, 2006 9:15 am Post subject: |
|
|
konna wrote: | Mhh same error with loading module but dmesg error is different.
dmesg Code: | fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol inter_module_unregister
fglrx: Unknown symbol inter_module_get_request
fglrx: Unknown symbol inter_module_put
fglrx: Unknown symbol inter_module_register
|
Anyideas |
Think the problem is that the installed version of ati-drivers is to old for your used kernel. So either downgrade your kernel or emerge a newer version of the ati-drivers package.
Regards,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
 |
konna n00b


Joined: 29 Jun 2005 Posts: 24 Location: Jõgeva, Estonia
|
Posted: Mon May 01, 2006 1:16 pm Post subject: |
|
|
Tnx m8 it helped. 3D aint working still but it just caused by my own stupidity |
|
Back to top |
|
 |
|