(solved) Problem compiling on 2.6.27 kernel

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

mcmlxxii

14-09-2008 14:21:07

I'm attempting to compile the latest CVS tarball and it compiles fine on the 2.6.26 kernel but on 2.6.27 I get a couple of errors

[codeehm3654c]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008091408/Module/rtmp_main.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/mlme.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/connect.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/rtusb_bulk.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/rtusb_io.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/sync.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/assoc.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/auth.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/auth_rsp.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/rtusb_data.o
CC [M] /usr/src/rt73-cvs-2008091408/Module/rtmp_init.o
/usr/src/rt73-cvs-2008091408/Module/rtmp_init.c: In function ‘KillThreads’:
/usr/src/rt73-cvs-2008091408/Module/rtmp_init.c:187: error: implicit declaration of function ‘kill_proc’
/usr/src/rt73-cvs-2008091408/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008091408/Module/rtmp_init.c:1618: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
/usr/src/rt73-cvs-2008091408/Module/rtmp_init.c:1627: warning: assignment discards qualifiers from pointer target type
make[2]: *** [/usr/src/rt73-cvs-2008091408/Module/rtmp_init.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008091408/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
rt73.ko failed to build!
make: *** [module] Error 1
[/codeehm3654c]

am I missing something simple, thanks.

chronographer

17-09-2008 21:19:01

I can confirm this problem too, it is an issue as the drivers in the kernel seem to drop my connection randomly every 5 - 20 minutes... The dropped connection is not a hard drop, websites try to load until they get a timeout, so applications like wicd, which tries to reconnect if a connection is dropped, doesn't try to reconnect as it doesn't see the connection as dropped I think...

Hope we can resolve this.


[code3kauzb3w]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-1-generic'
CC [M] /usr/src/rt73-cvs-2008091715/Module/rtmp_init.o
/usr/src/rt73-cvs-2008091715/Module/rtmp_init.c: In function ‘KillThreads’:
/usr/src/rt73-cvs-2008091715/Module/rtmp_init.c:187: error: implicit declaration of function ‘kill_proc’
/usr/src/rt73-cvs-2008091715/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008091715/Module/rtmp_init.c:1627: warning: assignment discards qualifiers from pointer target type
make[2]: *** [/usr/src/rt73-cvs-2008091715/Module/rtmp_init.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008091715/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-1-generic'
rt73.ko failed to build!
make: *** [module] Error 1

this is my uname
2.6.27-1-generic #1 SMP Sat Aug 23 23:20:09 UTC 2008 i686 GNU/Linux[/code3kauzb3w]

Vern

20-09-2008 00:55:04

Hi Guys,

Would you like to try the attached patch? If it works OK for you, I'll stick it into CVS.

Thanks,

mcmlxxii

20-09-2008 18:12:49

Hi Vern, thanks for the patch, I get a different error now

[code30315xew]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_main.o
In file included from /usr/src/rt73-cvs-2008092012/Module/rtmp_main.c:36:
/usr/src/rt73-cvs-2008092012/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: error: implicit declaration of function ‘__si_special’
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: error: implicit declaration of function ‘find_pid’
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: warning: passing argument 2 of ‘kill_pid_info’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: warning: passing argument 3 of ‘kill_pid_info’ makes pointer from integer without a cast
make[2]: *** [/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008092012/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
rt73.ko failed to build!
make: *** [module] Error 1
[/code30315xew]

I'm not all_that_familiar with the patch command, I just added your file to the Module directory and "patch <yourfile.patch".

Thanks.

Vern

20-09-2008 21:03:25

Try cd'ing to the Module directory and do[code33z5di5j]zcat <patchfile>|patch[/code33z5di5j]
Thanks,

caffeine

20-09-2008 21:53:06

Sorry -- where did you guys find 2.6.27? It doesn't appear to be on ftp.kernel.org.

mcmlxxii

20-09-2008 23:20:45

Thanks Vern, seems the patch had been applied as I'm still getting the errors

[codeonql5lah]root@charlie:/usr/src/rt73-cvs-2008092012/Module# zcat kill_proc.patch.gz | patch
patching file rt_config.h
root@charlie:/usr/src/rt73-cvs-2008092012/Module# make
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_main.o
In file included from /usr/src/rt73-cvs-2008092012/Module/rtmp_main.c:36:
/usr/src/rt73-cvs-2008092012/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: error: implicit declaration of function ‘__si_special’
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: error: implicit declaration of function ‘find_pid’
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: warning: passing argument 2 of ‘kill_pid_info’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:326: warning: passing argument 3 of ‘kill_pid_info’ makes pointer from integer without a cast
make[2]: *** [/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008092012/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
rt73.ko failed to build!
make: *** [module] Error 1
[/codeonql5lah]

Vern

21-09-2008 16:56:10

Hi mcmlxxii,

Thanks for trying the patch. Sorry it still gave you problems. I think the attached modified version may be better. Could you try it and see what happens?

Thanks,

mcmlxxii

21-09-2008 17:31:45

Hi Vern, the patch missed one of the parentheses on line 328 of rt_config.h

[code23yu2qk7]ret = kill_pid_info(sig, __si_special(priv), find_pid_ns(pid, &init_pid_ns);
[/code23yu2qk7]

but I added it in and the module compiled!

There were a few warnings

[code23yu2qk7]root@charlie:/usr/src/rt73-cvs-2008092012/Module# make
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_main.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/mlme.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/connect.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_bulk.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_io.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/sync.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/assoc.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/auth.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/auth_rsp.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_data.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_init.o
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.c:1618: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.c:1627: warning: assignment discards qualifiers from pointer target type
CC [M] /usr/src/rt73-cvs-2008092012/Module/sanity.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_wep.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_info.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_tkip.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/wpa.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/md5.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rt2x00debug.o
LD [M] /usr/src/rt73-cvs-2008092012/Module/rt73.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "kill_pid_info" [/usr/src/rt73-cvs-2008092012/Module/rt73.ko] undefined!
CC /usr/src/rt73-cvs-2008092012/Module/rt73.mod.o
LD [M] /usr/src/rt73-cvs-2008092012/Module/rt73.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
*** Module rt73.ko built successfully[/code23yu2qk7]

And when I tried to insert the module I got the following

[code23yu2qk7]FATAL: Error inserting rt73 (/lib/modules/2.6.27-3-generic/extra/rt73.ko): Unknown symbol in module, or unknown parameter (see dmesg)[/code23yu2qk7]


dmesg says

[code23yu2qk7][11926.128554] rt73: Unknown symbol kill_pid_info
[/code23yu2qk7]

Many thanks, Jon

Vern

22-09-2008 03:12:24

Hi mcmlxxii,

Thanks for the fix. The attached patch file incorporates that, and should provide a definition for kill_pid_info as well as handle the complaints about expecting type int. I'm still a little confused about the 'discards qualifiers' complaint, though.

Anyway, could you try it?

Thanks,

mcmlxxii

22-09-2008 07:27:00

A new headscratcher for you,

[codes4ohz77r]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_main.o
In file included from /usr/src/rt73-cvs-2008092012/Module/rtmp_main.c:36:
/usr/src/rt73-cvs-2008092012/Module/rt_config.h:323: error: static declaration of ‘kill_pid_info’ follows non-static declaration
include/linux/sched.h:1769: error: previous declaration of ‘kill_pid_info’ was here
make[2]: *** [/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008092012/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
rt73.ko failed to build!
make: *** [module] Error 1
[/codes4ohz77r]

Not sure if it helps at all but line 1769 in sched.h reads

[codes4ohz77r]extern int kill_pid_info(int sig, struct siginfo *info, struct pid *pid);
[/codes4ohz77r]

If I change rt_config.h so that kill_pid_info is defined as "extern int" the module compiles ok except right at the end (I guess unsurprisingly) the compiler complains about 2 declaration of kill_pid_info. You got rid of those 2 warning about type int, they've been there as long as I can remember )

[codes4ohz77r]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-3-generic'
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_main.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/mlme.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/connect.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_bulk.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_io.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/sync.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/assoc.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/auth.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/auth_rsp.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtusb_data.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_init.o
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.c:1627: warning: assignment discards qualifiers from pointer target type
CC [M] /usr/src/rt73-cvs-2008092012/Module/sanity.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_wep.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_info.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rtmp_tkip.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/wpa.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/md5.o
CC [M] /usr/src/rt73-cvs-2008092012/Module/rt2x00debug.o
LD [M] /usr/src/rt73-cvs-2008092012/Module/rt73.o
/usr/src/rt73-cvs-2008092012/Module/mlme.o: In function `kill_pid_info':
mlme.c:(.text+0x7480): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/connect.o: In function `kill_pid_info':
connect.c:(.text+0x2080): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtusb_bulk.o: In function `kill_pid_info':
rtusb_bulk.c:(.text+0x1830): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtusb_io.o: In function `kill_pid_info':
rtusb_io.c:(.text+0xb50): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/sync.o: In function `kill_pid_info':
sync.c:(.text+0x2bf0): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/assoc.o: In function `kill_pid_info':
assoc.c:(.text+0x1970): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/auth.o: In function `kill_pid_info':
auth.c:(.text+0x920): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/auth_rsp.o: In function `kill_pid_info':
auth_rsp.c:(.text+0x200): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtusb_data.o: In function `kill_pid_info':
rtusb_data.c:(.text+0x41f0): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtmp_init.o: In function `kill_pid_info':
rtmp_init.c:(.text+0x2730): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/sanity.o: In function `kill_pid_info':
sanity.c:(.text+0x1370): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtmp_wep.o: In function `kill_pid_info':
rtmp_wep.c:(.text+0x3b0): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtmp_info.o: In function `kill_pid_info':
rtmp_info.c:(.text+0x8bb0): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/rtmp_tkip.o: In function `kill_pid_info':
rtmp_tkip.c:(.text+0x580): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/wpa.o: In function `kill_pid_info':
wpa.c:(.text+0x2890): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
/usr/src/rt73-cvs-2008092012/Module/md5.o: In function `kill_pid_info':
md5.c:(.text+0x3720): multiple definition of `kill_pid_info'
/usr/src/rt73-cvs-2008092012/Module/rtmp_main.o:rtmp_main.c:(.text+0x20b0): first defined here
make[2]: *** [/usr/src/rt73-cvs-2008092012/Module/rt73.o] Error 1
make[1]: *** [_module_/usr/src/rt73-cvs-2008092012/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-3-generic'
rt73.ko failed to build!
make: *** [module] Error 1
[/codes4ohz77r]


Cheers

gregory_za

25-09-2008 14:27:41

try use

kthread_stop(thread);

mcmlxxii

27-09-2008 11:49:02

try use

kthread_stop(thread);[/quote2xdfyl3u]


Hi gregory_za, how do you mean?

thanks

chronographer

04-10-2008 09:12:06

has there been any movement with this issue? I updated Ubuntu recently and my rt73 drivers wont load now so I really need to install serial monkey drivers.

Vern

06-10-2008 16:42:19

Hi mcmlxxii,

Wrt. the "discards qualifiers" warning for line #1627 in rtmp_init.h How is struct firmware defined in "include/linux/firmware.h"?

gregory_za

Could you expand on what you mean?

Thanks,

mcmlxxii

09-10-2008 06:45:15

From /usr/src/linux-headers-2.6.27-6-generic/include/linux/firmware.h

[code3nsq7u5n]struct firmware {
size_t size;
const u8 *data;
};
[/code3nsq7u5n]

Cheers

Vern

10-10-2008 15:25:40

Hi mcmlxxii,

Thanks for the info. They changed the definition of that member in 2.6.27. Does the message about discarding qualifiers for line #1627 go away if you change it as follows?[code3ok3dkbl]data = (u8 *)fw_entry->data;[/code3ok3dkbl]I'm still looking into the kill_proc problem.

Thanks,

mcmlxxii

11-10-2008 08:24:34

Hi mcmlxxii,

Thanks for the info. They changed the definition of that member in 2.6.27. Does the message about discarding qualifiers for line #1627 go away if you change it as follows?[code2uljc8ah]data = (u8 *)fw_entry->data;[/code2uljc8ah]I'm still looking into the kill_proc problem.

Thanks,[/quote2uljc8ah]

Hi Vern, yes the message about discarding qualifiers goes away if I change the line as you suggest.

I altered the declaration of kill_pid_info as before to allow it to compile past where you'd normally see the warning - and there are now no warnings at all.

Cheers,

mcmlxxii

Vern

11-10-2008 17:17:25

Hi mcmlxxii,

Thanks for your efforts. The change is in CVS and should start showing up in the hourly tarball Soon.

Wrt. the proc_info problem, could you try the attached patch? It's a reall Hail Mary job,but it may work.

Thanks,

mcmlxxii

11-10-2008 19:37:54

Hi Vern, after carefully removing the three warnings that were showing up previously, you've now replaced them with a basketful! D

Having said that, you've cracked it; I'm posting this using the driver on 2.6.27-7. Many thanks.

[code1tnp40nc]root@charlie:/usr/src/rt73-cvs-2008093011/Module# make
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_main.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtmp_main.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/mlme.o
In file included from /usr/src/rt73-cvs-2008093011/Module/mlme.c:37:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/connect.o
In file included from /usr/src/rt73-cvs-2008093011/Module/connect.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_bulk.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtusb_bulk.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_io.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtusb_io.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/sync.o
In file included from /usr/src/rt73-cvs-2008093011/Module/sync.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/assoc.o
In file included from /usr/src/rt73-cvs-2008093011/Module/assoc.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/auth.o
In file included from /usr/src/rt73-cvs-2008093011/Module/auth.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/auth_rsp.o
In file included from /usr/src/rt73-cvs-2008093011/Module/auth_rsp.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_data.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtusb_data.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_init.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtmp_init.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
/usr/src/rt73-cvs-2008093011/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008093011/Module/rtmp_init.c:1618: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
CC [M] /usr/src/rt73-cvs-2008093011/Module/sanity.o
In file included from /usr/src/rt73-cvs-2008093011/Module/sanity.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_wep.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtmp_wep.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_info.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtmp_info.c:40:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_tkip.o
In file included from /usr/src/rt73-cvs-2008093011/Module/rtmp_tkip.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/wpa.o
In file included from /usr/src/rt73-cvs-2008093011/Module/wpa.c:36:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/md5.o
In file included from /usr/src/rt73-cvs-2008093011/Module/md5.c:35:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h: In function ‘kill_proc’:
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 1 of ‘kill_pid’ makes pointer from integer without a cast
/usr/src/rt73-cvs-2008093011/Module/rt_config.h:323: warning: passing argument 2 of ‘kill_pid’ makes integer from pointer without a cast
CC [M] /usr/src/rt73-cvs-2008093011/Module/rt2x00debug.o
LD [M] /usr/src/rt73-cvs-2008093011/Module/rt73.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/rt73-cvs-2008093011/Module/rt73.mod.o
LD [M] /usr/src/rt73-cvs-2008093011/Module/rt73.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
*** Module rt73.ko built successfully
[/code1tnp40nc]

Vern

11-10-2008 21:17:02

Hi mcmlxxii,

I'm surprised it didn't blow sky high. Please try this version.

Thanks,

mcmlxxii

12-10-2008 10:35:30

Hi Vern,

Much quieter this time. I guess that last warning will go away when your fixes hit CVS.

[code3noaivj5]make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_main.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/mlme.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/connect.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_bulk.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_io.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/sync.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/assoc.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/auth.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/auth_rsp.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtusb_data.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_init.o
/usr/src/rt73-cvs-2008093011/Module/rtmp_init.c: In function ‘LoadFirmware’:
/usr/src/rt73-cvs-2008093011/Module/rtmp_init.c:1618: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
CC [M] /usr/src/rt73-cvs-2008093011/Module/sanity.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_wep.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_info.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rtmp_tkip.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/wpa.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/md5.o
CC [M] /usr/src/rt73-cvs-2008093011/Module/rt2x00debug.o
LD [M] /usr/src/rt73-cvs-2008093011/Module/rt73.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/rt73-cvs-2008093011/Module/rt73.mod.o
LD [M] /usr/src/rt73-cvs-2008093011/Module/rt73.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
*** Module rt73.ko built successfully
[/code3noaivj5]


It works a treat too, cheers.

Vern

12-10-2008 16:34:45

Hi mcmlxxii,

In CVS, and should start appearing in the hourly tarballs soon. Thanks for your help.

The fix for that last warning message should already be in CVS. If it's still there after using the latest tarball, please post a message here.

Thanks,

mcmlxxii

12-10-2008 22:45:57

Hi Vern,

the latest CVS hourly tarball available from the downloads page untars to a directory that seems to be from the 30th Sept., and doesn't include any of your fixes as far as I can tell.

mcmlxxii

Vern

13-10-2008 01:18:53

You're right. Maybe the frequency has changed. If you're in a hurry, something like this may work (all on one line)[codewu87jh28]cvs -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400 co -P source/rt73[/codewu87jh28]Thanks,

josemar

16-10-2008 21:13:54

I need help, when I tried to do this "modprobe rt73 [ifname=wlan0] [debug=mask] [firmName=file]" appears an error.
I tried with sudo, but still the same thing "Error inserting rt73 (/lib/modules/2.6.27-7-generic/extra/rt73.ko) Unknown symbol in module, or unknown parameter (see dmesg)"

I write "dmesg" and show a lot of stuff, the most wird is
[code1jf2tdam][11500.827709] rt73: Unknown parameter `[ifname'
[/code1jf2tdam]
If anybody can help, pleas I new on linux and want to put wifi in monitor mode.

Vern

17-10-2008 01:17:46

josemar

When you have a new problem, start a new thread.

josemar

17-10-2008 14:01:33

What is the first thing to do when install the driver?
I have to uninstall the network manager?
please if anyone can help me to configure all thing to do it right, write to my email please.
Other question, how I now that have the driver installer?

Vern

26-10-2008 19:49:43

I should have mentioned that the CVS problem has been fixed. The latest hourly tarballs now have the patch.

Thanks,