LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-28-2009, 07:25 AM   #1
ravichandran_swamy
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Red face Invalid module format. Unable to insert tg3.ko!! Please help


Hi
The NIC card, Broadcom Netlink BCM5787 Gigabit ethernet PCI Express
is not detected in my ACER5920 laptop in Redhat 4 Enterprise edition.
Kernel is 2.6.9-78EL
When I tried with Fedora 10 it is detected automatically.
So I tried with the same tg3.ko in the Redhat 4
(I have to use Redhat 4 for installing the Oracle applications.)
I am getting the following error while using the command Insmod tg3.ko
Invalid module format. Unable to insert tg3.ko
How can I correct this error to activate the NIC
Your help on this is highly appreciated.
Thanks
 
Old 01-28-2009, 08:55 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You should get yourself the tg3 rpm for red hat 4 or compile it from source with your red hat 4 kernel header files.

Last edited by Agrouf; 01-28-2009 at 09:00 AM.
 
Old 01-29-2009, 01:34 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
A module only works when .....

1) compiled for the used kernel
2) with the right 'kernel-devel'
3) with the same compiler as the used kernel.

....
 
Old 01-29-2009, 01:41 AM   #4
ravichandran_swamy
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your immediate response.
I am new to linux and I don't know how complex is compiling the tg3.
Can you pls tell me how to compile the tg3 for the redhat 4 or provide me any link which explains compiling the tg3. Is there any tool available for this.
Or where can I get the tg3 for Redhat 4
Any input from you will be more useful to me.
Thanks in advance.

Last edited by ravichandran_swamy; 01-29-2009 at 01:48 AM.
 
Old 01-29-2009, 07:35 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Like Agrouf said in # 2 : Get tg3-3.71b-1.src.rpm ....

http://docs.hp.com/en/5991-8659/ar01s05.html
and read the 400 lines instruction.

Keyword for Google to find tg3-3.71b-1.src.rpm
within 2 seconds .. tg3 rpm for red hat 4 ..

....

Last edited by knudfl; 01-29-2009 at 07:37 AM.
 
  


Reply

Tags
format, invalid, module, redhat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 04:50 AM
module.ko: make, install & used many times. Suddenly modprobe=invalid module format?? GrapefruiTgirl Linux - General 16 08-04-2007 06:40 AM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 08:29 AM
Invalid module format king111 Linux - Newbie 4 07-19-2005 02:14 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-28-2004 12:40 AM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration