Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-04-2008, 04:58 AM   #1
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile compile NIC driver on other kernel linux box?

Hi, i want to install wifi card driver(rt73.ko) to my "small linux" which is kernel, i have download this driver from official product website *.tar.bz2 , i have success follow the step from this website to install into my CentOS 5.2 linux box(kernel 2.6.18-92). But when i try to install to my "small linux"(kernel than having error, so i try to copy the driver file rt73.ko from my CentOS(kernel 2.6.18-92) to this "small linux"(kernel box to load the driver command: modprobe rt73.ko but fail....

1. If currect linux box kernel is 2.6.18 can use this driver, so other version linux box kernel is it totally cannot compatible(cannot use)?

2. is it can use a linux box(example CenOS 5.2)kernel 2.6.18-92 as a driver compiler, than i have many linux box(kernel 2.4. 2.5 ....) than download the individual kernel source code, than copy it to my CentOS to compile it than copy it out to individual other linux box?
Old 10-04-2008, 05:54 AM   #2
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
What error did you have when installing driver on kernel?
Old 10-26-2008, 01:53 PM   #3
LQ Newbie
Registered: Sep 2008
Posts: 7

Rep: Reputation: 0
You may have better luck getting the source code and compiling a fresh driver than copying the module and firmware. I've noticed that my drivers would either become unstable or break outright when using a *.ko file compiled on an even slightly older kernel.

Any actual progress yet? It may work, but don't let compiling drivers scare you. Sometimes you have to wait a long time before the latest packages get into the repositories.

I've got some recent RT73 and RT2860 code and compiling info on my site - it may be useful.


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
Broadcom NIC driver compile error cyberwiz Slackware 12 06-29-2006 07:04 PM
How to compile device driver code for linux kernel 2.4.21 shrikantpwr245 Programming 1 06-04-2006 07:51 AM
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 07:51 AM
how to compile the linux driver to support SMP kernel? beast Programming 1 08-01-2005 11:28 PM
how to compile the linux driver to support SMP kernel beast Programming 1 08-01-2005 11:19 AM

All times are GMT -5. The time now is 02:36 PM.

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