rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Fri May 24, 2013 3:29 pm

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Oct 04, 2008 3:12 pm 
Offline

Joined: Sat Oct 04, 2008 3:03 pm
Posts: 1
Hi there,

I cannot compile the driver with a 2.6.27 kernel... please let me know if I did something wrong.
Please find below the error message.

thanks for your help.

Code:
[rom@localhost Module]$ make
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.27-desktop-0.rc8.2mnb »
  CC [M]  /home/rom/Téléchargement/rt2570-cvs-2008093011/Module/rtusb_init.o
/home/rom/Téléchargement/rt2570-cvs-2008093011/Module/rtusb_init.c: In function ‘KillThreads’:
/home/rom/Téléchargement/rt2570-cvs-2008093011/Module/rtusb_init.c:1300: erreur: implicit declaration of function ‘kill_proc’
make[2]: *** [/home/rom/Téléchargement/rt2570-cvs-2008093011/Module/rtusb_init.o] Erreur 1
make[1]: *** [_module_/home/rom/Téléchargement/rt2570-cvs-2008093011/Module] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.27-desktop-0.rc8.2mnb »
rt2570.ko failed to build!
make: *** [module] Erreur 1
[rom@localhost Module]$ uname -r
2.6.27-desktop-0.rc8.2mnb


Top
 Profile  
 
PostPosted: Sun Oct 05, 2008 10:59 am 
Offline
User avatar

Joined: Sun Oct 05, 2008 10:46 am
Posts: 1
I have try in Ubuntu 8.10 and I don't compile:

Code:
intropedro@pcpedro:~/rt2570-cvs-2008093011/Module$ make
  make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.27-4-generic'
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/rtusb_main.o
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/mlme.o
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/rtusb_bulk.o
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/connect.o
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/sync.o
    CC [M]  /home/intropedro/rt2570-cvs-2008093011/Module/rtusb_init.o
  /home/intropedro/rt2570-cvs-2008093011/Module/rtusb_init.c: In function ‘[b]KillThreads[/b]’:
  /home/intropedro/rt2570-cvs-2008093011/Module/rtusb_init.c:1300: error: implicit declaration of function ‘kill_proc’
  make[2]: *** [/home/intropedro/rt2570-cvs-2008093011/Module/rtusb_init.o] Error 1
  make[1]: *** [_module_/home/intropedro/rt2570-cvs-2008093011/Module] Error 2
  make[1]: se sale del directorio `/usr/src/linux-headers-2.6.27-4-generic'
  rt2570.ko failed to build!
  make: *** [module] Error 1


Code:
>> uname -r
   2.6.27-4-generic


But it work with rt2500usb and the led the transfer data is never on.

Code:
>> lsusb
  ...
  Bus 001 Device 003: ID 14b2:3c02 Atheros Communications Inc C54RU WLAN
  ..


Code:
>> lsmod | grep rt2
  [b]rt2500usb[/b]              27904  0
  rt2x00usb              18816  1 [b]rt2500usb[/b]
  rt2x00lib              36224  2 [b]rt2500usb[/b],rt2x00usb
  rfkill                 17048  1 rt2x00lib
  led_class              12164  1 rt2x00lib
  mac80211              216820  2 rt2x00usb,rt2x00lib
  cfg80211               32392  2 rt2x00lib,mac80211
  usbcore               148848  7 [b]rt2500usb[/b],rt2x00usb,btusb,usbhid,ohci_hcd,ehci_hcd


Greetings


Top
 Profile  
 
PostPosted: Mon Oct 06, 2008 3:00 pm 
Offline
User avatar

Joined: Mon Oct 06, 2008 12:53 pm
Posts: 5
I solved the build making a "chapuza". I deleted the variable killthreads on the code, then "make" works. The module rt2570 now is working fine in my ubuntu intrepid. Perhaps this can cause some problems like scanning networks, but in a fixed configuration the module works very fine.

You can do the same, editing the source code on your own risk


Last edited by danitool on Thu Oct 16, 2008 10:47 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Oct 06, 2008 4:58 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi fek, intropedro,

Looks like 2.6.27 deletes the kill_proc() function. This problem is also cropping up with the rt73 legacy driver - see here.

In addition to breaking their kernel api yet again, these turkeys are also going to make me switch to cifs, which I'm not yet ready to do. So it'll be a while before I sully my system with kernel 2.6.27.

Re. the "chapuza" patch: You understand by not killing the threads, an attempt to unload the module can be made while still leaving the two kernel threads it has spawned active, right?

If I make a patch, will you try it?

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Mon Oct 06, 2008 6:05 pm 
Offline
User avatar

Joined: Mon Oct 06, 2008 12:53 pm
Posts: 5
yes, I expemiremented that, in certain times i was not be able to shutdown the system... but, sometimes a temporaly solution is required. Now I can use the system without problems, before that i had a "brick" without internet connection.

yes, i will try any patch
thanks


Top
 Profile  
 
PostPosted: Mon Oct 13, 2008 1:30 am 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi danitool,

There's a fix for the 2.6.27 compile problem on the RT73 legacy driver which I've adapted to the legacy RT2570 driver and put into CVS. So you should see that starting to show up soon in the hourly tarballs. If not, post a message here.

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Wed Oct 15, 2008 9:11 am 
Offline
User avatar

Joined: Mon Oct 06, 2008 12:53 pm
Posts: 5
I downloaded the tarball a minute ago

rt2570-cvs-2008093011

it seems nothing updated, and it does not build (the killthreads error)


Top
 Profile  
 
PostPosted: Wed Oct 15, 2008 3:41 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
You're right. I tried it myself and got the same thing. I would expect at least something like "rt2570-cvs-2008101508" for today.

Maybe the admins can look into this?

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Wed Oct 15, 2008 6:56 pm 
Offline

Joined: Wed Oct 15, 2008 6:52 pm
Posts: 2
Hi folks,

i have the same probleme and need the new tarball or a patch too.
When will it be updated?

thx


Top
 Profile  
 
PostPosted: Wed Oct 15, 2008 10:14 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Try this (all one line):
Code:
cvs -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400 co -P source/rt2570
Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Thu Oct 16, 2008 10:45 am 
Offline
User avatar

Joined: Mon Oct 06, 2008 12:53 pm
Posts: 5
I downloaded it, builded, and installed the module. Now all working correctly

thanks, very much


Top
 Profile  
 
PostPosted: Thu Oct 16, 2008 6:52 pm 
Offline

Joined: Thu Oct 16, 2008 6:33 pm
Posts: 4
Hello, I'm new in ubuntu and I have had enough problems with the rt73.
I use intrepid in the beta version. I need to leave my card in monitor mode. Use your last method (cvs -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400 co -P source/rt2570) and be hanged after the "sudo make install", I don't now what to do. If I write the command "iwconfig" says my device is called "wlan0" instead of "rausb0." If someone can get me a manual or explain me what to do, would be of great help, I hope it can be, I need you.
Super good their task, they were grateful for any questions you have with what I said, I warn. Thank you.
PS: Sorry for my English, I'm using the google translator, I'm Latin and I don't speak much English.


Top
 Profile  
 
PostPosted: Thu Oct 16, 2008 7:40 pm 
Offline
User avatar

Joined: Mon Oct 06, 2008 12:53 pm
Posts: 5
i think you are in the wrong thread, rt73 is not rt2570.

But if you want to install properly any driver in ubuntu recent versions, the first i do is to remove the network manager, also doing a blacklist of the old drivers, that come as default on the system will help .... And wlan0 is only an alias for rausb0

And again.... rt73 is not rt2570.


Top
 Profile  
 
PostPosted: Thu Oct 16, 2008 8:30 pm 
Offline

Joined: Thu Oct 16, 2008 6:33 pm
Posts: 4
danitool wrote:
i think you are in the wrong thread, rt73 is not rt2570.

But if you want to install properly any driver in ubuntu recent versions, the first i do is to remove the network manager, also doing a blacklist of the old drivers, that come as default on the system will help .... And wlan0 is only an alias for rausb0

And again.... rt73 is not rt2570.


Thanks, i have to read a little more.


Top
 Profile  
 
PostPosted: Sat Oct 18, 2008 11:37 am 
Offline

Joined: Wed Oct 15, 2008 6:52 pm
Posts: 2
Vern wrote:
Try this (all one line):
Code:
cvs -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400 co -P source/rt2570
Thanks,


Big thx. It works


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group