Maybe this modules doesn't work 'yet' with that kernel, one Question, How do you build your kernel? it´s suggested by linux that the sources of the kernel must not be placed in /usr/src
for example my kernel sources are in /kernelsource El Dom, 12 de Agosto de 2007, 2:08 pm, L.V.Gandhi escribió: > I was trying to compile kernel src from backports with alsa modules > and ipw3945 modules. src was tar-.gz files fo this modules. > I get error like this > > /usr/src/modules/alsa-driver/include/adriver.h: In function > 'snd_pci_orig_save_state': > /usr/src/modules/alsa-driver/include/adriver.h:1099: error: too many > arguments to function 'pci_save_state' > /usr/src/modules/alsa-driver/include/adriver.h: In function > 'snd_pci_orig_restore_state': > /usr/src/modules/alsa-driver/include/adriver.h:1103: error: too many > arguments to function 'pci_restore_state' > make[7]: *** [/usr/src/modules/alsa-driver/acore/hwdep.o] Error 1 > make[6]: *** [/usr/src/modules/alsa-driver/acore] Error 2 > make[5]: *** [_module_/usr/src/modules/alsa-driver] Error 2 > make[4]: *** [modules] Error 2 > make[4]: Leaving directory `/usr/src/linux-source-2.6.21' > make[3]: *** [compile] Error 2 > make[3]: Leaving directory `/usr/src/modules/alsa-driver' > make[2]: *** [build-stamp] Error 2 > make[2]: Leaving directory `/usr/src/modules/alsa-driver' > make[1]: *** [kdist_image] Error 2 > make[1]: Leaving directory `/usr/src/modules/alsa-driver' > Module /usr/src/modules/alsa-driver failed. > Hit return to Continue > make[4]: Entering directory `/usr/src/linux-source-2.6.21' > CC [M] /usr/src/modules/ipw3945/ipw3945.o > /usr/src/modules/ipw3945/ipw3945.c: In function > 'ipw_setup_activity_timer': > /usr/src/modules/ipw3945/ipw3945.c:1351: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_bg_activity_timer': > /usr/src/modules/ipw3945/ipw3945.c:1371: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_scan_schedule': > /usr/src/modules/ipw3945/ipw3945.c:2436: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_scan_cancel': > /usr/src/modules/ipw3945/ipw3945.c:2502: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_scan_completed': > /usr/src/modules/ipw3945/ipw3945.c:2533: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_bg_calibrated_work': > /usr/src/modules/ipw3945/ipw3945.c:4570: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:4582: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_disassociate': > /usr/src/modules/ipw3945/ipw3945.c:6756: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_gather_stats': > /usr/src/modules/ipw3945/ipw3945.c:7140: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_bg_request_scan': > /usr/src/modules/ipw3945/ipw3945.c:8392: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function > 'ipw_handle_assoc_response': > /usr/src/modules/ipw3945/ipw3945.c:9816: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_associate_network': > /usr/src/modules/ipw3945/ipw3945.c:10000: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_rx_handle': > /usr/src/modules/ipw3945/ipw3945.c:11381: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_wx_set_mode': > /usr/src/modules/ipw3945/ipw3945.c:11824: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:11825: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_bg_rate_scale_flush': > /usr/src/modules/ipw3945/ipw3945.c:13983: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:14010: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function > 'ipw_rate_scale_tx_resp_handle': > /usr/src/modules/ipw3945/ipw3945.c:14267: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_link_down': > /usr/src/modules/ipw3945/ipw3945.c:15320: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15321: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15431:52: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_setup_deferred_work': > /usr/src/modules/ipw3945/ipw3945.c:15431: error: 'INIT_WORK' > undeclared (first use in this function) > /usr/src/modules/ipw3945/ipw3945.c:15431: error: (Each undeclared > identifier is reported only once > /usr/src/modules/ipw3945/ipw3945.c:15431: error: for each function it > appears in.) > /usr/src/modules/ipw3945/ipw3945.c:15432:64: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15433:58: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15434:64: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15435:48: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15436:38: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15437:42: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15438:58: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15439:58: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15440:54: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15441:42: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15442:54: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15443:48: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15444:64: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15445:52: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15446:49: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15447:64: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15448:65: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15450:56: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15451:56: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15459:56: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15461:62: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15463:62: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15465:59: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15467:39: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c:15469:66: error: macro "INIT_WORK" > passed 3 arguments, but takes just 2 > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_down': > /usr/src/modules/ipw3945/ipw3945.c:15961: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15962: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15963: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15964: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15965: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15966: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15967: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15968: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15969: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15970: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15971: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:15972: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_pci_probe': > /usr/src/modules/ipw3945/ipw3945.c:16406: warning: passing argument 2 > of 'request_irq' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:16496: warning: passing argument 1 > of 'cancel_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c: In function 'ipw_pci_resume': > /usr/src/modules/ipw3945/ipw3945.c:16692: warning: passing argument 2 > of 'queue_delayed_work' from incompatible pointer type > /usr/src/modules/ipw3945/ipw3945.c:16673: warning: ignoring return > value of 'pci_enable_device', declared with attribute > warn_unused_result > make[5]: *** [/usr/src/modules/ipw3945/ipw3945.o] Error 1 > make[4]: *** [_module_/usr/src/modules/ipw3945] Error 2 > make[4]: Leaving directory `/usr/src/linux-source-2.6.21' > make[3]: *** [modules] Error 2 > make[3]: Leaving directory `/usr/src/modules/ipw3945' > make[2]: *** [binary-modules] Error 2 > make[2]: Leaving directory `/usr/src/modules/ipw3945' > make[1]: *** [kdist_build] Error 2 > make[1]: Leaving directory `/usr/src/modules/ipw3945' > Module /usr/src/modules/ipw3945 failed. > Hit return to Continue > I think src files may be from etch > ipw3945-source 1.1.2-7 Source for the Intel > PRO/Wireless 3945ABG (ipw3945) driver > alsa-source 1.0.13-5 ALSA driver sources > What do to get ipw to work with this new kernel. > -- > L.V.Gandhi > http://lvgandhi.tripod.com/ > linux user No.205042 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >