big endian machine - dwl-g122 rev B1 - PowerPC G4

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4350

dave

10-10-2007 17:23:31

Hi all!
A few months ago, I tried to compile almost any rt2570 driver I could find on my ppc g4. Today, thinking that it might be some improvement, I've tried again with no result.
The only driver I can compile on my g4 is the rt2570-k2wrlz-1.6.1 (wich works like a charm on a intel pc) but unlike the pc, even if I set it manually in monitor mode, It simply won't inject. The drivers on your site don't even compile. I'm having trouble with the rt2570-cvs-daily.tar.gz and t2x00-cvs-daily.tar.gz. A few months ago, someone confirmed it was impossible. My aircrack stalls when i start the interface.
I'm using Fedora 7 on PPC.
Any ideas please ? thanks!
Regards

Spy84464

11-10-2007 06:48:47

Hello,
There are many issue with the legacy drivers on big endian architectures. Your best bet is rt2x00. Can you post the compilation error, so maybe we can look into it?

Regards,
Romain

dave

11-10-2007 08:42:10

Hi ! thanks for the reply.
------------------------------------------------------------------------------------------
This is the output of make. I'm using fedora for ppc 7 fully updated.
Any ideas ?

CC [M] /root/wireless/rt2x00-cvs-2007101103/eeprom_93cx6/eeprom_93cx6.o
CC [M] /root/wireless/rt2x00-cvs-2007101103/rt2x00dev.o
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c In function ‘rt2x00lib_stop_link_tuner’
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c97 warning implicit declaration of function ‘cancel_delayed_work_sync’
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c In function ‘rt2x00lib_packetfilter_scheduled’
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c434 error ‘const struct ieee80211_ops’ has no member named ‘configure_filter’
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c In function ‘rt2x00lib_probe_dev’
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c1158 error ‘IEEE80211_IF_TYPE_INVALID’ undeclared (first use in this function)
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c1158 error (Each undeclared identifier is reported only once
/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.c1158 error for each function it appears in.)
make[2] *** [/root/wireless/rt2x00-cvs-2007101103/rt2x00dev.o] Error 1
make[1] *** [_module_/root/wireless/rt2x00-cvs-2007101103] Error 2
make *** [default] Error 2
-----------------------------------------------------------------------------------------

Spy84464

12-10-2007 07:35:20

What is your kernel? I'm not sure what are the requirements for rt2x00 CVS though. The recommended way is to download and use the whole git tree.

dave

12-10-2007 08:37:57

Hi! I'm using a 2.6.22.9-91 kernel
thanks.
Regards

Starcrasher

12-10-2007 09:35:47

Hi Dave,
At the moment, due to changes in mac80211, it seems that a 2.6.24 kernel is required. Your best bet is the one in rt2x00 git. Anyway, as Romain said, it's the recommended way.

dave

12-10-2007 10:57:52

Hi! so I have to wait until a new kernel is released for my distribuition.
I wouldn't like to compile the kernel... I might forget something.
Anyway, I've disabled any mac80211 related module. I've found that the main module is b43, wich then loads the others. But even with all disabled....no can do.... I guess I'll wait.

Vern

17-10-2007 01:34:30

Hi dave,

The functions and files shown in your make output don't correspond to anything in the legacy rt2570 driver.

Was it your intent to compile that driver?

tomer.out

22-10-2007 06:48:49

i am also getting same error ........
[root@localhost rt2x00-cvs-2007101504]# make
CC [M] /root/rt2x00-cvs-2007101504/eeprom_93cx6/eeprom_93cx6.o
CC [M] /root/rt2x00-cvs-2007101504/rt2x00dev.o
/root/rt2x00-cvs-2007101504/rt2x00dev.c In function ârt2x00lib_stop_link_tunerâ
/root/rt2x00-cvs-2007101504/rt2x00dev.c97 warning implicit declaration of function âcancel_delayed_work_syncâ
/root/rt2x00-cvs-2007101504/rt2x00dev.c In function ârt2x00lib_packetfilter_scheduledâ
/root/rt2x00-cvs-2007101504/rt2x00dev.c434 error âconst struct ieee80211_opsâ has no member named âconfigure_filterâ
/root/rt2x00-cvs-2007101504/rt2x00dev.c In function ârt2x00lib_probe_devâ
/root/rt2x00-cvs-2007101504/rt2x00dev.c1158 error âIEEE80211_IF_TYPE_INVALIDâ undeclared (first use in this function)
/root/rt2x00-cvs-2007101504/rt2x00dev.c1158 error (Each undeclared identifier is reported only once
/root/rt2x00-cvs-2007101504/rt2x00dev.c1158 error for each function it appears in.)
make[2] *** [/root/rt2x00-cvs-2007101504/rt2x00dev.o] Error 1
make[1] *** [_module_/root/rt2x00-cvs-2007101504] Error 2
make *** [default] Error 2
[root@localhost rt2x00-cvs-2007101504]#


then i tried rt2x00 git tree as suggested by above persons.......but when i try to clone it it gives me this eror

[root@localhost ~]# cg clone git//git.kernel.org/pub/scm/linux/kern ... t2x00.git/
Initialized empty Git repository in .git/
Fetching pack (head and objects)...
fatal unable to connect a socket (Connection timed out)
cg-fetch fetching pack failed
[root@localhost ~]#


Can someone help me out??