make rt73 in sabayon results error??

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

make rt73 in sabayon results error??

Postby dfaj21 » Tue Dec 25, 2007 12:45

localhost Module # make && make install
make: *** /lib/modules/2.6.20-sabayon-r3/build: No such file or directory. Stop.
rt73.ko failed to build!
make: *** [module] Error 1
localhost Module # mkdir /lib/modules/2.6.20-sabayon-r3/build
mkdir: cannot create directory `/lib/modules/2.6.20-sabayon-r3/build': File exists

the above is the report after i tried to make and install the package. I saved the tar file in /home/user1.

I did remove all other ones in the portage by emerge -C rt2500, emerge -C rt73
I did remove rm /lib/modules/2.6.20-sabayon-r3/net/rt2500.ko

As indicated, I tried to make build directory, but I cant because a file by the name of build is already there, so I delete it, and make build directory.

I tried make agein, but it is still error, this time:

localhost Module # make
make[1]: Entering directory `/lib/modules/2.6.20-sabayon-r3/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.20-sabayon-r3/build'
rt73.ko failed to build!
make: *** [module] Error 1

I kind of think maybe i should leave the build file inside the build directory, but its too late. Well can you please suggest what I should do?

Thanks
dfaj21
Baby Hen
 
Posts: 4
Joined: Tue Dec 25, 2007 12:34

Re: make rt73 in sabayon results error??

Postby WarraWarra » Tue Dec 25, 2007 14:29

Code: Select all
localhost ~ # emerge -s rt73
Searching...
[ Results for search key : rt73 ]
[ Applications found : 2 ]

*  net-wireless/rt73 [ Masked ]
      Latest version available: 1.0.3.6-r1
      Latest version installed: [ Not Installed ]
      Size of files: 330 kB
      Homepage:      http://www.ralink.com.tw
      Description:   Driver for the RaLink RT73/2571 wireless chipsets
      License:       GPL-2

*  net-wireless/rt73-firmware [ Masked ]
      Latest version available: 1.8
      Latest version installed: 1.8
      Size of files: 2 kB
      Homepage:      http://www.ralinktech.com/ralink/Home/Support/Linux.html
      Description:   Firmware for Wireless Ralink RT61 based cards
      License:       AS-IS


localhost ~ #   


Try
# emerge rt73
Provided you have unmasked it or have ~x86 in /etc/make.conf or both.

Also check if or what kernel is now the default.
# eselect kernel list
then set the correct one if installed with
# eselect kernel set 3
replacing the number with correct one.

Likely the /usr/src/linux or /usr/src/ does not have the 2.6.20-sabayon-r3 kernel installed or something along this lines.

Hope this helps.
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Re: make rt73 in sabayon results error??

Postby dfaj21 » Thu Dec 27, 2007 1:20

Thanks for the guide.
I did #emerge -s rt73, result is as follows
localhost ~ # emerge -s rt73
Searching...
[ Results for search key : rt73 ]
[ Applications found : 2 ]

* net-wireless/rt73
Latest version available: 1.0.3.6-r1
Latest version installed: [ Not Installed ]
Size of files: 330 kB
Homepage: http://www.ralink.com.tw
Description: Driver for the RaLink RT73/2571 wireless chipsets
License: GPL-2

* net-wireless/rt73-firmware
Latest version available: 1.8
Latest version installed: [ Not Installed ]
Size of files: 1 kB
Homepage: http://www.ralinktech.com/supp-1.htm
Description: Firmware for Wireless Ralink RT61 based cards
License: AS-IS


And also:
localhost ~ # eselect kernel list
Available kernel symlink targets:
(none found)

localhost ~ # emerge rt73
Calculating dependencies... done!

>>> Emerging (1 of 1) net-wireless/rt73-1.0.3.6-r1 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
--11:05:08-- http://distfiles.gentoo.org/distfiles/R ... 3.6.tar.gz
=> `/usr/portage/distfiles/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
Resolving distfiles.gentoo.org... failed: Name or service not known.
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
--11:05:08-- http://distro.ibiblio.org/pub/linux/dis ... 3.6.tar.gz
=> `/usr/portage/distfiles/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
Resolving distro.ibiblio.org... failed: Name or service not known.
>>> Downloading 'http://www.ralinktech.com/ralink/data/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
--11:05:08-- http://www.ralinktech.com/ralink/data/R ... 3.6.tar.gz
=> `/usr/portage/distfiles/RT73_Linux_STA_Drv1.0.3.6.tar.gz'
Resolving http://www.ralinktech.com... failed: Name or service not known.
!!! Couldn't download 'RT73_Linux_STA_Drv1.0.3.6.tar.gz'. Aborting.


This I dont understand... it says some symlink missing? I installed it from installer Sabayon Linux 3.3b I have not done anything else with it as I am very new to this. Thanks for the help, I will wait for your guide on this one.
dfaj21
Baby Hen
 
Posts: 4
Joined: Tue Dec 25, 2007 12:34

Re: make rt73 in sabayon results error??

Postby eshum » Thu Dec 27, 2007 1:44

Did you emerge --sync && layman -S then emerge portage before making changes?

ed
eshum
Technological Hen
 
Posts: 312
Joined: Tue Feb 20, 2007 20:42
Location: Oregon

Re: make rt73 in sabayon results error??

Postby dfaj21 » Thu Dec 27, 2007 5:16

You asked:
Did you emerge --sync && layman -S then emerge portage before making changes?

Well, for a start I cannot get to the internet at all, so don't see why I could sync to the portage source... (unless you mean some other thing that I do not understand... ???)

So basically at this moment if I want to try fixing it, I have to replace my harddisk and walk in the dark. If I need to use internet, I get the other disk with different OS (which I tried to get a distance with)...

Please help? Seemed that other people can just make and install easily, but not me?? Puzzling... :idea:
dfaj21
Baby Hen
 
Posts: 4
Joined: Tue Dec 25, 2007 12:34

Re: make rt73 in sabayon results error??

Postby WarraWarra » Thu Dec 27, 2007 19:48

NO internet = /etc/resolv.conf

This file should have say:
Example:
nameserver 123.456.789.123
nameserver 123.456.789.789

You can run as root in terminal
# net-setup
follow the questions and use dhcp provided it can get this from your lan / wifi router or modem.

If not fake by using either verizon or opendns dns ip's
verizon = 4.2.2.1 /2 /3 /4
opendns = 208.67.222.222 or 208.67.220.220

I use 1 of each
nameserver 4.2.2.2
nameserver 208.67.222.222

Now test internet via say firefox as it should work or there might be a problem with the router / modem and unpluging it for 1 to 5 mins each at the same time should get you a working dns ip in the modem as well as the router.

Missing symlink:
The mini versions does not have the kernel on the cd by default to save space so /usr/src/linux is empty as well as /usr/src
To fix this you would need to get on the internet and download the kernel 49mb about.

# emerge -s sabayon
or
# emerge -s genkernel
This would list the kernels available for download.

It would be good if you can get the kernel that was used to make 3.3b mini with or to just download 3.4 mini / 3.4e or f dvd and save yourself a lot of tricky text commands.

Or if lucky you could still get the ?? 2.6.18 i think it was kernel by doing:
First try to cheat this by doing:
# emerge -s sabayon
Yes it might complain but should list the older kernel 2.6.18 to 2.6.20 should be about the correct numbering you want.
Next if listed and not higher than this :
# emerge sabayon.....
replacing the ..... with correct name liek sabayon-sources or something.

If the above fails try this:
# emerge --sync
# emerge -s sabayon
PS> note NO "emerge portage" update as this will list and or remove / update the available packages to the latest version and install or only have a newer kernel available and updating portage would have you recompile the kernel or something not sure.
Hopefully it should list the same 2.6.18 to 2.6.20 and then :
# emerge correct name here
Will likely be sabayon-sources.

Once this is installed update the symlink with:
# eselect kernel list
# eselect kernel set 1

then try the rt73 install again and it should complete this time without errors.

There might be a easier way or something not sure as I have not used 3.3b mini in a long time or alternatively just download the 3.4 mini / 3.4e or 3.4f dvd if possible and get latest kernel for it + rt73 install.
DVD versions already have the kernel in it and possibly even the rt73 driver for your wifi card.

Hope this helps.

PS> Top right of this page is a wiki / how-to part of this website or the webchat or irc chat on your SL desktop should be able to get you live help as well. gentoo wiki's / forums could also help as this is gentoo based so any gentoo trick should work here as well.
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests

cron