LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06: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, 07:55 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
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 08:00 AM.
 
Old 01-29-2009, 12:34 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 12: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 12:48 AM.
 
Old 01-29-2009, 06:35 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 06:37 AM.
 
  


Reply

Tags
format, invalid, module, redhat



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 03:50 AM
module.ko: make, install & used many times. Suddenly modprobe=invalid module format?? GrapefruiTgirl Linux - General 16 08-04-2007 05:40 AM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 07:29 AM
Invalid module format king111 Linux - Newbie 4 07-19-2005 01:14 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 PM.

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
Open Source Consulting | Domain Registration