Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fatal: Error inserting tg3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gte881s
n00b
n00b


Joined: 27 Jun 2004
Posts: 6

PostPosted: Mon Jun 28, 2004 6:02 pm    Post subject: Fatal: Error inserting tg3 Reply with quote

I am working with a new installation of gentoo and have been unable to load the ethernet modules. The proper module is tg3 and on modprobe i receive
Code:
FATAL: Error inserting tg3 (/lib/modules/2.6.7-gentoo-r7/kernel/drivers/net/tg3.ko): Invalid module format


I would appreciate any and all help that you might give me. Thanks!
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Mon Jun 28, 2004 6:35 pm    Post subject: Reply with quote

Have you been able to get it to work compiled in the kernel as opposed to compiling it as a module? I'd be curious to see if it works at all, then figure out the module loading problem.
Back to top
View user's profile Send private message
gte881s
n00b
n00b


Joined: 27 Jun 2004
Posts: 6

PostPosted: Mon Jun 28, 2004 8:23 pm    Post subject: Reply with quote

yes, i have compiled it into kernel and as a module. when compiled as into the kernel i recieve the error
Code:
SIOCSIFFLAGS: Function not implemented
when i run
Code:
ifconfig eth0 up


in summary the module will not load when in module form and the adapter refuses to activate when compiled into the kernel.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Mon Jun 28, 2004 8:28 pm    Post subject: Reply with quote

hmm I think we'll have to leave this one up to someone who's got some tg3 experience. Sorry I couldn't help you out.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Mon Jun 28, 2004 8:30 pm    Post subject: Reply with quote

Wait, you've been able to get it to work correctly with the livecd, right? Are you doing modules-update when you recompile the kernel? If it works on livecd it's possible to get it to work.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Mon Jun 28, 2004 8:33 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=180320
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Mon Jun 28, 2004 8:56 pm    Post subject: Reply with quote

I've been using tg3 driver without a hitch in several IBM xSeries boxes for a long time (=years). The error message about the invalid module format sounds like a compilation problem. Have you tried to recompile your kernel from scratch, giving command make clean in your kernel directory before compiling the kernel?

Also, if you have enabled 4k stacks in kernel config, you may want to try to disable those unless you really need them.

Tight compiler flags or experimental gcc version could also lead to problems.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Fri Jan 14, 2005 6:49 pm    Post subject: Reply with quote

ok, i have the same problem.. the only thing is that i change my gcc from 3.3.4 to 3.4.3 and i did recompile my kernel with that vercion os gcc.. lasnight i did
Code:
emerge -uvD world --emptytree
just in case..

by now i havent have time to see if it works since im at work. as son as a get home.. i will confirmyou guys if it worked... mean while i wuold like to read some especulations if it have worked or not.. :D

PS: al the problem began when i desite to install ATI-DRIVERS
Code:
emerge ati-drivers

_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Sat Jan 15, 2005 1:55 am    Post subject: nop it didn't Reply with quote

nop it didn't work I still have the same problem
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
js78
n00b
n00b


Joined: 14 Apr 2006
Posts: 13

PostPosted: Tue Apr 18, 2006 2:54 pm    Post subject: Reply with quote

Hello,

I am on amd64 installation 2006.0.
When I install my gentoo with genkernell all works.
After few installations, my network card does not works.
It use tg3 module , I try modprobe tg3 I have the same error like you:
FATAL: Error inserting tg3 (/lib/modules/2.6.15-gentoo-r5/kernel/drivers/net/tg3.ko): Invalid module format

Someone find a solution to this?

[Edit]
I launch a genkernell all and when I reboot all works...
I think it is a problem with the kernel compilation (perhaps SMP support)
[/Edit]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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