LinuxQuestions.org
Help answer threads with 0 replies.
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 10-04-2008, 03:58 AM   #1
hocheetiong
Member
 
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 2.6.16.46, 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 2.6.16.46) 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 2.6.16.46) 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, 04:54 AM   #2
Samotnik
Member
 
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 2.6.16.46 kernel?
 
Old 10-26-2008, 12:53 PM   #3
AB9IL
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.

http://ab9il.net/linuxwireless/wifidrivers1.html
 
  


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


All times are GMT -5. The time now is 09:24 PM.

Main Menu
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