New Fedora 9 kernel wreaks rt2570

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

degraaf

23-07-2008 15:20:15

The rt2570 driver fails to compile with the newest kernel in Fedora 9,
kernel-2.6.25.10-86.fc9.x86_64.
It compiles perfectly with the kernel on the Fedora 9 distribution
DVD, kernel-2.6.25-14.fc9.x86_64.

Two of my computers communicate solely via D-Link DWL-G122, ver. B1
wireless USB adapters, so I'm completely dependent on the reliable
performance of the rt2570 driver. The driver included in Fedora 9,
rt2x00usb.ko, doesn't work. More precisely, the command
ifup wlan0
installs the driver, lights the Lnk led, but produces no activity on
the Act led. There's no evidence of succesful wireless communication.
Therefore, it's important to be able to build the rt2570 driver, which
has always worked well for me.

I've pulled the latest rt2570-cvs-2008072016 code, hoping that the new
kernel idiosyncrasies would be dealt with. However, compilation fails
in rtusb_info.c with recurring objections to the arguments of
iwe_stream_add_event. The full output of make is attached.

Attaching didn't work. Here's the make output, in-line

make[1] Entering directory `/usr/src/kernels/2.6.25.10-86.fc9.x86_64'
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_main.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/mlme.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_bulk.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/connect.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/sync.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_init.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtmp_tkip.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/wpa.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtmp_wep.o
CC [M] /home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.o
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c In function ‘rtusb_ioctl_giwscan’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c654 warning passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c654 warning passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c654 warning passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c654 error too few arguments to function ‘iwe_stream_add_event’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c672 warning passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c672 warning passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c672 warning passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c672 error too few arguments to function ‘iwe_stream_add_event’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c678 warning passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c678 warning passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c678 warning passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c678 error too few arguments to function ‘iwe_stream_add_point’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c686 warning passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c686 warning passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c686 warning passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c686 error too few arguments to function ‘iwe_stream_add_point’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c699 warning passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c699 warning passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c699 warning passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c699 error too few a
rguments to function ‘iwe_stream_add_value’
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c710 warning passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c710 warning passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c710 warning passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.c710 error too few arguments to function ‘iwe_stream_add_event’
make[2] *** [/home/dad/rt2570/rt2570-cvs-2008072016/Module/rtusb_info.o] Error 1
make[1] *** [_module_/home/dad/rt2570/rt2570-cvs-2008072016/Module] Error 2
make[1] Leaving directory `/usr/src/kernels/2.6.25.10-86.fc9.x86_64'
rt2570.ko failed to build!
make *** [module] Error 1

Vern

23-07-2008 17:11:17

Hi degraaf,

What is the output of "uname -r" on your system? Please post your reply on rt2570 CVS compilation error[/url1zo6j50k]

Thanks,