Problem of compilation of rt2X00 drivers

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

allainx95

11-03-2008 19:00:09

I compiled the last kernel 2.6.24.3, and I have a problem of freeze with the rt2x00 driver included in the kernel.

I have An Ovis link Usb dongle (Evo-W54USB) with ralink rt 2570 chip.
My sytem is AMD Athlon X2 3800 +
Main bord is Asrock dual sata 2.

In fact all works well with Kernel 2.6.23.14 and last RT2570 module.

But with the kernel 2.6.24.3 I have a freeze of my PC after the activation of the Dongle
If I neutralize the start of the network the PC start well, but when I start the network, the network start well but after few seconds my PC freeze. Morover if I start without neutralize the network my Pc freeze during the start of linux.

Then.

With this Kernel 2.6.24.3
I tried to use the rt2570 module but I have a problem because it cannot run in managed mode with this kernel 2.6.24.3

Then I disable the module inserted in the kernel, and I tried to compile the last RT2x00 cvs but I have the following message when I tried to compile it

CC [M] /usr/local/src/rt2x00-cvs-2008031104/rt2500usb.o
In file included from /usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c34
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h363 erreur field ‘conf’ has incomplete type
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h390 attention ‘struct ieee80211_vif’ declared inside parameter list
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h390 attention visible uniquement depuis cette définition ou déclaration, ce qui n'est probablement pas ce que vous désirez
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h In function ‘vif_to_intf’
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h392 erreur déréférencement d'un pointeur de type incomplet
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h Hors de toute fonction
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h442 erreur field ‘band’ has incomplete type
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h666 erreur ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h667 erreur field ‘curr_band’ has incomplete type
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h990 attention ‘struct ieee80211_vif’ declared inside parameter list
/usr/local/src/rt2x00-cvs-2008031104/rt2x00.h998 attention ‘struct ieee80211_vif’ declared inside parameter list
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c In function ‘rt2500usb_beacon_update’
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c1730 erreur ‘struct ieee80211_tx_control’ has no member named ‘vif’
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c Hors de toute fonction
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c1819 attention initialization from incompatible pointer type
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c1822 erreur unknown field ‘bss_info_changed’ specified in initializer
/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.c1822 attention initialization from incompatible pointer type
make[2] *** [/usr/local/src/rt2x00-cvs-2008031104/rt2500usb.o] Erreur 1
make[1] *** [_module_/usr/local/src/rt2x00-cvs-2008031104] Erreur 2
make *** [default] Erreur 2

Could you help to told me what to do, and I would like know if the last rt2X00 work with my configuration.

For the moment I use kernel 2.6.23.14 and the last rt2570 Cvs module and it works well.
But I would like update my kernel in the future but I am bloked because the last rt2570 cvs and the last rt2x00 module doesn't work with my config.

Thank by advance for your help

Regards

IvD

11-03-2008 19:15:15

rt2x00 cvs does _not_ support any released kernels.
If you want the latest version, either grab a vanilla kernel release, or rt2x00.git (see website for instructions).