LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2011, 02:33 AM   #1
judoka
Member
 
Registered: Jul 2009
Distribution: Ubuntu 14.04 LTS, CentOS
Posts: 218

Rep: Reputation: 16
Can't install drivers


I'm trying to install drivers for my Ralink 2573 USB rt73usb ethrnet card; however when I go to the cite and download them then extract them go to the Module folder and do ~$make I get this
Quote:
make[1]: Entering directory `/usr/src/linux-source-2.6.38'

WARNING: Symbol version dump /usr/src/linux-source-2.6.38/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 0 modules
make[1]: Leaving directory `/usr/src/linux-source-2.6.38'
rt73.ko failed to build!
make: *** [module] Error 1
What am I doing wrong?
 
Old 05-31-2011, 10:48 AM   #2
judoka
Member
 
Registered: Jul 2009
Distribution: Ubuntu 14.04 LTS, CentOS
Posts: 218

Original Poster
Rep: Reputation: 16
I installed GNOME build tools to make GNOME modules and found the site that explains how to install so I followed the instructions and did:
Blacklist the mac80211-based rt73usb & rt* drivers to avoid conflicts
create a new file in /etc/modprobe.d called blacklist-rt73.conf
Code:

sudo nano /etc/modprobe.d/blacklist-rt73.conf

and paste the following in it:
Code:

# Blacklist rt73usb (mac80211) as it's beta and conflicts with the
# stable ieee80211 based rt73 module
blacklist rt73usb

# Other modules that possibly conflict with rt73
blacklist rt2500usb
blacklist rt2x00lib
blacklist rt2x00usb

Download the latest version of the RT73 USB Enhanced Driver
(in your home directory or in /tmp or wherever you like, it will no longer be needed after)
Code:

wget http://homepages.tu-darmstadt.de/~p_...-3.0.3.tar.bz2
tar xjf rt73-k2wrlz-3.0.3.tar.bz2
cd rt73-k2wrlz-3.0.3

you should now be in the top-level directory you just extracted ( rt73-k2wrlz-3.0.3 )

Prepare DKMS config
create a file in rt73-k2wrlz-3.0.3 directory, called dkms.conf
Code:

nano dkms.conf

and paste the following in it:
Code:

PACKAGE_NAME="rt73-k2wrlz"
PACKAGE_VERSION="3.0.3"

# make sure kernel is 2.6.27 or newer, just in case
# http://homepages.tu-darmstadt.de/~p_larbig/wlan/
BUILD_EXCLUSIVE_KERNEL="2.6.(27|28|29|[3-9][0-9])"

MAKE[0]="make -C Module"
CLEAN="make -C Module clean"

BUILT_MODULE_NAME[0]="rt73"
BUILT_MODULE_LOCATION[0]="Module"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"

AUTOINSTALL="yes"

Create a traball archive of the source directory (with our dkms.conf in it)
Code:

tar czf rt73-k2wrlz-3.0.3-dkms.tar.gz rt73-k2wrlz-3.0.3

Load the rt73-k2wrlz tarball to DKMS source tree
Code:

sudo dkms ldtarball --archive=rt73-k2wrlz-3.0.3-dkms.tar.gz

but when I get to this line and do:

Build rt73 module with DKMS
Code:

sudo dkms build -m rt73-k2wrlz -v 3.0.3

I get:
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-28-generic -C Module....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.35-28-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/rt73-k2wrlz/3.0.3/build/ for more information.
0
0
ERROR: binary package for rt73-k2wrlz: 3.0.3 not found


Any ideas what to do now?
 
  


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
How to install Drivers for Tata Photon Plus? How to Install anything on Linux neilsequeira Linux - Newbie 6 07-09-2010 11:26 AM
Install drivers -- boot install file Halsafar Linux - General 3 09-25-2005 05:05 AM
On a Fresh install of 10.1, the Nforce drivers refuse to install.. K@rl` Slackware 2 02-25-2005 02:55 AM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM
Transferring drivers between KNPX cd install to hd install...... stakhous Linux - Software 1 01-14-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 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
Open Source Consulting | Domain Registration