Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fglrx.... invalid module format
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Tue Mar 28, 2006 5:41 pm    Post subject: fglrx.... invalid module format Reply with quote

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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Tue Mar 28, 2006 9:28 pm    Post subject: Reply with quote

Are there any further information in "dmesg"?

Regards,

Sino
_________________
Help to answer the unanswered
Back to top
View user's profile Send private message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Wed Mar 29, 2006 1:49 pm    Post subject: Reply with quote

argh I'm stupid :D
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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Wed Mar 29, 2006 2:22 pm    Post subject: Reply with quote

Brain Fury wrote:
argh I'm stupid :D
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
View user's profile Send private message
Entropius
n00b
n00b


Joined: 24 Aug 2004
Posts: 16

PostPosted: Tue Apr 04, 2006 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Wed Apr 05, 2006 2:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
konna
n00b
n00b


Joined: 29 Jun 2005
Posts: 24
Location: Jõgeva, Estonia

PostPosted: Mon May 01, 2006 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Mon May 01, 2006 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
konna
n00b
n00b


Joined: 29 Jun 2005
Posts: 24
Location: Jõgeva, Estonia

PostPosted: Mon May 01, 2006 1:16 pm    Post subject: Reply with quote

Tnx m8 it helped. 3D aint working still but it just caused by my own stupidity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum