View previous topic :: View next topic |
Author |
Message |
col l33t


Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Mon Feb 05, 2007 10:42 pm Post subject: rt2500 does not compile with 2.6.20-gentoo |
|
|
Here is the error:
Code: |
CC [M] /var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/auth_rsp.o
CC [M] /var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_data.o
CC [M] /var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.o
/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.c:978:62: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.c: In function `NICInitializeAdapter':
/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: `INIT_WORK' undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: for each function it appears in.)
make[1]: *** [/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module/rtmp_init.o] Error 1
make: *** [_module_/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module] Error 2
make: Leaving directory `/usr/src/linux-2.6.20-gentoo'
!!! ERROR: net-wireless/rt2500-1.1.0_beta4 failed.
Call stack:
ebuild.sh, line 1613: Called dyn_compile
ebuild.sh, line 970: Called qa_call 'src_compile'
environment, line 4445: Called src_compile
rt2500-1.1.0_beta4.ebuild, line 45: Called linux-mod_src_compile
linux-mod.eclass, line 510: Called die
!!! Unable to make -C /usr/src/linux M=/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/work/rt2500-1.1.0-b4/Module modules.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/rt2500-1.1.0_beta4/temp/build.log'.
|
|
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
|
Back to top |
|
 |
col l33t


Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Fri Feb 09, 2007 5:23 am Post subject: |
|
|
no the rt2x00 module is the cvs/experimental version & not marked as stable yet.
the rt2500 driver is not yet working on 2.6.20 .... I am going back to 2.6.19 |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Fri Feb 09, 2007 10:15 pm Post subject: |
|
|
col wrote: | no the rt2x00 module is the cvs/experimental version & not marked as stable yet.
the rt2500 driver is not yet working on 2.6.20 .... I am going back to 2.6.19 |
the rt2500pci legacy drivers are the original drivers released by realtek. Serial monkey decided to rewrite the drivers from scratch (as rt2x00) and include all the relevant modules together. The legacy drivers are no longer being developed. The rt2x00 drivers have reached beta stage, and should be stable very soon. _________________ He who calls for full employment calls for war! |
|
Back to top |
|
 |
didumos Guru

Joined: 19 Jan 2006 Posts: 322 Location: uk
|
Posted: Fri Feb 09, 2007 10:28 pm Post subject: |
|
|
sugar wrote: | Serial monkey decided to rewrite the drivers from scratch (as rt2x00) and include all the relevant modules together. |
It's my understanding that the main purpose of the rewrite is to get the drivers into a state where they can be accepted into the kernel.
sugar wrote: | The legacy drivers are no longer being developed. |
Are you certain about that? The cvs snapshots include patches for the 2.6.20 kernel so they seem to me to be maintained. Indeed, a cvs snapshot has just been added to portage by uberlord. I'm about to try it out. |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Fri Feb 09, 2007 10:41 pm Post subject: |
|
|
didumos wrote: | sugar wrote: | Serial monkey decided to rewrite the drivers from scratch (as rt2x00) and include all the relevant modules together. |
It's my understanding that the main purpose of the rewrite is to get the drivers into a state where they can be accepted into the kernel.
sugar wrote: | The legacy drivers are no longer being developed. |
Are you certain about that? The cvs snapshots include patches for the 2.6.20 kernel so they seem to me to be maintained. Indeed, a cvs snapshot has just been added to portage by uberlord. I'm about to try it out. |
I'll double check. _________________ He who calls for full employment calls for war! |
|
Back to top |
|
 |
didumos Guru

Joined: 19 Jan 2006 Posts: 322 Location: uk
|
Posted: Fri Feb 09, 2007 10:48 pm Post subject: |
|
|
Well the new snapshot (net-wireless/rt2500-1.1.0_pre2007020911) works fine with the 2.6.20 kernel. I'm using the /etc/Wireless/RT2500STA/RT2500STA.dat file to set it up so I will try and see how this version works with configuring it through baselayout (/etc/conf.d/net). |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Fri Feb 09, 2007 10:58 pm Post subject: |
|
|
didumos wrote: | Well the new snapshot (net-wireless/rt2500-1.1.0_pre2007020911) works fine with the 2.6.20 kernel. I'm using the /etc/Wireless/RT2500STA/RT2500STA.dat file to set it up so I will try and see how this version works with configuring it through baselayout (/etc/conf.d/net). |
yeah, you're right. It is still under development. I wonder why I thought it wasn't. Good to hear its working with the new kernel. _________________ He who calls for full employment calls for war! |
|
Back to top |
|
 |
col l33t


Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Sat Feb 10, 2007 8:57 pm Post subject: |
|
|
I tried the CVS from about 1 week ago....they did not work very well. My wireless started dropping out when I installed them. I will stick with b4 until the next stable release. |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6074 Location: Removed by Neddy
|
Posted: Sun Feb 11, 2007 10:50 am Post subject: |
|
|
sugar wrote: | col wrote: | no the rt2x00 module is the cvs/experimental version & not marked as stable yet.
the rt2500 driver is not yet working on 2.6.20 .... I am going back to 2.6.19 |
the rt2500pci legacy drivers are the original drivers released by realtek. Serial monkey decided to rewrite the drivers from scratch (as rt2x00) and include all the relevant modules together. The legacy drivers are no longer being developed. The rt2x00 drivers have reached beta stage, and should be stable very soon. |
you mean RaLink
But anywho the rt2500 compiles but I get a sandbox violation before it can be merged into my system _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
Posted: Sun Feb 11, 2007 6:39 pm Post subject: |
|
|
The new snapshot (net-wireless/rt2500-1.1.0_pre2007020911) compiles and works for me with 2.6.20-gentoo.
But I have to activate the connection with RaConfig2500 on every boot by clicking "Connect" and entering the WEP-key.
1.1.0-beta4 + 2.6.20 compiles now but finds no AP (no ping) and gives error messages like described in the bug-report.
With 1.1.0-beta4 and 2.6.18-r6 in connects automatically (configuration is the same).
Unfortunately WPA does not work in any case. _________________ Gruß Thomas |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6074 Location: Removed by Neddy
|
Posted: Sun Feb 11, 2007 7:09 pm Post subject: |
|
|
I used FEATURES="-sandbox" and all compiled fine and I can auto-connect to my WPA-encripted router now _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
 |
titoucha Advocate


Joined: 21 Jul 2005 Posts: 2374 Location: Genève
|
Posted: Mon Feb 12, 2007 5:06 am Post subject: |
|
|
Psycho Dad wrote: | The new snapshot (net-wireless/rt2500-1.1.0_pre2007020911) compiles and works for me with 2.6.20-gentoo.
But I have to activate the connection with RaConfig2500 on every boot by clicking "Connect" and entering the WEP-key.
1.1.0-beta4 + 2.6.20 compiles now but finds no AP (no ping) and gives error messages like described in the bug-report.
With 1.1.0-beta4 and 2.6.18-r6 in connects automatically (configuration is the same).
Unfortunately WPA does not work in any case. |
I have exactly the same problem  _________________ Assurez-vous que le titre de votre message soit conforme aux conventions de ce forum (paragraphe 3/3 : Comment poster sur le forum ??) |
|
Back to top |
|
 |
col l33t


Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Mon Feb 12, 2007 10:21 am Post subject: |
|
|
yeah same problem with me....also it drops out randomly |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
Posted: Thu Mar 22, 2007 2:26 pm Post subject: |
|
|
It starts now automatically with the latest nightly snapshot from
http://rt2x00.serialmonkey.com/wiki/...itle=Downloads
But I had to enter
Code: |
iwconfig ra0 AP Mac-address of router
|
in /etc/conf.d/local.start
At least with kernel 2.6.18-gentoo-r6 (did not test newer kernel yet).
Dont know if it works with the original ebuild too, but in contrast to beta4 specifying the routers MAC-adress seems to be important.
Emerged rt2500 with USE="-qt3" _________________ Gruß Thomas |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
Posted: Sat Mar 31, 2007 12:21 pm Post subject: |
|
|
Even if it automatic connect works with the
Code: | iwconfig ra0 AP Mac-address of router |
command, the connection is unstable then (can be restored with the above command).
Here is a patched beta4 that should compile and! work with 2.6.19 and 2.6.20.
ftp://mum.dyns.cx/rt2500 _________________ Gruß Thomas |
|
Back to top |
|
 |
syouth Apprentice


Joined: 18 Sep 2004 Posts: 275
|
|
Back to top |
|
 |
syouth Apprentice


Joined: 18 Sep 2004 Posts: 275
|
Posted: Sat Apr 07, 2007 9:10 am Post subject: |
|
|
Maybe I should make a new topic, but since some last update or something, my wireless doesn't connect anymore. I have to do it by hand:
Code: | $ sux -
#RaConfig2500
| And use connect there.
Code: | kosmos ~ # cat /etc/conf.d/net
#config_eth0=( "192.168.0.2/24" )
#config_ra0=( "dhcp" )
config_eth0=( "dhcp" )
config_ra0=( "192.168.0.40/24" )
routes_ra0=( "default via 192.168.0.1" )
kosmos ~ # cat /etc/conf.d/wireless
essid_ra0="55 637 827"
#channel_ra0="11": |
And when machine is booting up, it says something about this essid_ra0 and shows only first 55 there. Maybe I'm using deprecated configuration or something.... _________________ psylove |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
|
Back to top |
|
 |
syouth Apprentice


Joined: 18 Sep 2004 Posts: 275
|
Posted: Sat Apr 07, 2007 2:50 pm Post subject: |
|
|
Thank you for your quick reply. I will try those other sources then... _________________ psylove |
|
Back to top |
|
 |
syouth Apprentice


Joined: 18 Sep 2004 Posts: 275
|
Posted: Sun Apr 08, 2007 9:42 am Post subject: |
|
|
Those patches don't seem to work with 2.6.20. It dies to this message:
Code: | /var/tmp/portage/net-wireless/rt2500-9999/work/rt2500-1.1.0-b4-rob/Module/rtmp_init.c:978:62: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 |
This error is corrected in CVS drivers though...
EDIT: I think I must make a new topic, because I think the problem I have is unrelated... My problems started after one update where baselayout got upgraded I think. It occurs with gentoo-sources-2.6.20-r4 and -r5. rt2500 are from daily snapshot.
On bootup it prints out:
Code: | * Configuring wireless network for ra0
iwconfig: unknown command "637"
* ra0 does not support setting ESSID to "55 637 827"
* ra0 connected to ESSID ""
* in managed mode on channel 1 (WEP disabled)
* Bringing up ra0
* 192.168.0.40/24 [ ok ]
* Adding routes
* default via 192.168.0.1 ... [ ok ] |
_________________ psylove |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
Posted: Sun Apr 08, 2007 8:24 pm Post subject: |
|
|
The patch file "rt2500-b4-patch.gz" at
ftp://mum.dyns.cx/rt2500
is against the original 1.1.0-b4 not against cvs!
The file rt2500-b4-rob.tar.gz is the ready-patched 1.1.0-b4, the only difference to 1.1.0-b4 is that it works with 2.6.19.x/2.6.20.x.
I have it successfully working with the latest stable baselayout (1.12.9) and kernel 2.6.18-gentoo-r7 on my laptop and 2.6.20-gentoo-r4 on a desktop computer.
The cvs drivers work with 2.6.20 as they are, but have the described problems with autostart and unstable connection (with older kernels too). _________________ Gruß Thomas |
|
Back to top |
|
 |
bendy Apprentice


Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Wed Apr 18, 2007 4:18 pm Post subject: |
|
|
Hi - just discovered this thread after running into some rt2500 problems. I updated my girlfriend's laptop at the week end for the first time in around 6 months. This updated the kernel to gentoo-sources-2.6.19-r5 and the rt2500 driver to rt2500-1.1.0_pre2007020911.
However when I boot into the new kernel the pcmcia wireless card does not get activated - the lights don't even come on. During the boot process I can see that udev had loaded the rt2500 module (and it also appears in lsmod) and the pcmcia card is visible in lspci.
I still have the older 2.6.17 kernel with an older rt2500 module (I forget which one), and when I boot using the old kernel and rt2500 module it works fine. I assume this means that it's not a pcmciautils, udev or wireless-tools issue.
I notice that gentoo-sources-2.6.20-r6 has been marked as stable on x86 today. Can anyone confirm which combinations of kernel and rt2500 module work well together?
Thanks. |
|
Back to top |
|
 |
Psycho Dad Apprentice


Joined: 10 Dec 2005 Posts: 168 Location: BW
|
Posted: Wed Apr 18, 2007 9:23 pm Post subject: |
|
|
rt2500-beta4 from portage works with kernel 2.6.18 and older ones (dont know about 2.6.19 but I heard it also makes problems there).
It does not work with 2.6.20.
The patched rt2500-beta4 from the link above
ftp://mum.dyns.cx/rt2500
works with 2.6.20, 2.6.19, 2.6.18 and some older ones.
The current cvs from
http://rt2x00.serialmonkey.com/
does work with 2.6.20, 2.6.19, 2.6.18 and some older ones, but when you use WEP the connection has to be activated with
Code: | iwconfig ra0 AP Mac of your router |
But maybe this problem is solved soon.
http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=3552
At least this is the current situation for me.
Short hint for now:
use the patched rt2500-beta4 from ftp://mum.dyns.cx/rt2500 with the current stable gentoo-sources. _________________ Gruß Thomas
Last edited by Psycho Dad on Thu Apr 19, 2007 11:44 am; edited 1 time in total |
|
Back to top |
|
 |
bendy Apprentice


Joined: 18 May 2002 Posts: 274 Location: Gloucester, UK
|
Posted: Thu Apr 19, 2007 11:34 am Post subject: |
|
|
Thanks for the summary Psycho Dad - a very clear explanation! |
|
Back to top |
|
 |
|