LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-08-2005, 11:58 AM   #1
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Rep: Reputation: 15
3com NIC - compiling drivers


I have an old 3com network card that I couldn't find pre-compiled drivers for - it's a "3c905B-TXNM". So I went to the 3com website, they had compatible linux drivers, and I downloaded them.

I compiled the driver, but when I typed "insmod [module]", this came up:

kernel-module version mismatch
[module] was compiled for kernel version 2.4.27-4trsmp
while this kernel version is 2.4.31-3trsmp

How can I fix this?

Thanks
 
Old 07-08-2005, 12:42 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Try "insmod -f module_name".
 
Old 07-08-2005, 01:05 PM   #3
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Okay, the forced load did work, and the card seems to be working. It gave me the same warning, but also something about a tainted module...

I realized I didn't have the source installed for my kernel. I did install the kernel-source rpm and compiled it again, but the same error message.

Why would it compile the driver for the wrong kernel (version)? Is there anything I can do to fix that?
 
Old 07-08-2005, 01:13 PM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Why would it compile the driver for the wrong kernel (version)? Is there anything I can do to fix that?
I'd guess that what you download from the 3com site also had a binary component which was compiled for an older kernel.
 
Old 07-08-2005, 02:07 PM   #5
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks for your replies, Berhanie. It turns out the popular 3c59x supports my card, so I just used that instead.
 
  


Reply


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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
Compiling Drivers for a www.startech.com "UE1205CB" PCMCIA NIC in RedHat 9 vipernicus42 Linux - Newbie 1 01-31-2005 09:20 PM
3Com Nic Not Connected BittaBrotha Fedora 6 11-07-2003 05:06 PM
Issue Compiling NIC drivers JoAnywhere Linux - General 6 10-23-2003 11:40 PM
trouble with 3Com NIC in RH 7.0 paulbell Linux - Networking 2 09-12-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:28 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