ipw3945 will not install under Module-Assistant

  • burnside
Posted: Wed, 07/02/2008 - 23:06
Hi everyone. I just completed a fresh install of 64Studio 2.1 on my laptop. I've successfully installed etch on this same machine in the past with no problems, but I'm having trouble getting module assistant to install the drivers for my intel Pro wireless card. I've installed the firmware and the regulatory daemon, m-a a-i ipw3945 successfully downloads and extracts the source package, but fails at compile. Here's my log. I'd appreciate any advice on where to go from here. patch deapply-all rm -rf patch-stamp patch-stampT debian/patched dh_testdir #dh_testroot # Cleaning package /usr/bin/make clean make[1]: Entering directory `/usr/src/modules/ipw3945' rm -f *.{mod.c,mod,o,ko,rej,orig} .*.{stamp,flags,cmd} .lst *.lst *~ rm -rf /usr/src/modules/ipw3945/tmp /usr/src/modules/ipw3945/.tmp_versions for file in *.{c,h}; do \ sed -i -e "s:\ *$::g" -e "s:\t*$::g" $file; \ done make[1]: Leaving directory `/usr/src/modules/ipw3945' dh_clean /usr/bin/make -f debian/rules clean make[1]: Entering directory `/usr/src/modules/ipw3945' dpatch deapply-all rm -rf patch-stamp patch-stampT debian/patched dh_testdir #dh_testroot # Cleaning package /usr/bin/make clean make[2]: Entering directory `/usr/src/modules/ipw3945' rm -f *.{mod.c,mod,o,ko,rej,orig} .*.{stamp,flags,cmd} .lst *.lst *~ rm -rf /usr/src/modules/ipw3945/tmp /usr/src/modules/ipw3945/.tmp_versions for file in *.{c,h}; do \ sed -i -e "s:\ *$::g" -e "s:\t*$::g" $file; \ done make[2]: Leaving directory `/usr/src/modules/ipw3945' dh_clean make[1]: Leaving directory `/usr/src/modules/ipw3945' /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/ipw3945' dpatch deapply-all rm -rf patch-stamp patch-stampT debian/patched dh_testdir #dh_testroot # Cleaning package /usr/bin/make clean make[2]: Entering directory `/usr/src/modules/ipw3945' rm -f *.{mod.c,mod,o,ko,rej,orig} .*.{stamp,flags,cmd} .lst *.lst *~ rm -rf /usr/src/modules/ipw3945/tmp /usr/src/modules/ipw3945/.tmp_versions for file in *.{c,h}; do \ sed -i -e "s:\ *$::g" -e "s:\t*$::g" $file; \ done make[2]: Leaving directory `/usr/src/modules/ipw3945' dh_clean /usr/bin/make -w -f debian/rules clean make[2]: Entering directory `/usr/src/modules/ipw3945' dpatch deapply-all rm -rf patch-stamp patch-stampT debian/patched dh_testdir #dh_testroot # Cleaning package /usr/bin/make clean make[3]: Entering directory `/usr/src/modules/ipw3945' rm -f *.{mod.c,mod,o,ko,rej,orig} .*.{stamp,flags,cmd} .lst *.lst *~ rm -rf /usr/src/modules/ipw3945/tmp /usr/src/modules/ipw3945/.tmp_versions for file in *.{c,h}; do \ sed -i -e "s:\ *$::g" -e "s:\t*$::g" $file; \ done make[3]: Leaving directory `/usr/src/modules/ipw3945' dh_clean make[2]: Leaving directory `/usr/src/modules/ipw3945' make[1]: Nothing to be done for `kdist_config'. for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-1-multimedia-amd64/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.21-1-multimedia-amd64/g ;s/#KVERS#/2.6.21-1-multimedia-amd64/g ; s/_KVERS_/2.6.21-1-multimedia-amd64/g ; s/##KDREV##/2.6.21-2/g ; s/#KDREV#/2.6.21-2/g ; s/_KDREV_/2.6.21-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testroot dh_clean -k # Build the module /usr/bin/make modules KSRC=/lib/modules/2.6.21-1-multimedia-amd64/build KVER=2.6.21-1-multimedia-amd64 make[2]: Entering directory `/usr/src/modules/ipw3945' /usr/bin/make -C /lib/modules/2.6.21-1-multimedia-amd64/build M=/usr/src/modules/ipw3945 modules make[3]: Entering directory `/usr/src/linux-headers-2.6.21-1-multimedia-amd64' 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[4]: *** [/usr/src/modules/ipw3945/ipw3945.o] Error 1 make[3]: *** [_module_/usr/src/modules/ipw3945] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.21-1-multimedia-amd64' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/modules/ipw3945' make[1]: *** [binary-modules] Error 2 make[1]: Leaving directory `/usr/src/modules/ipw3945' make: *** [kdist_build] Error 2 Other then this issue the install was perfect and I'm really enjoying my new desktop.

See if this

  • gabrbedd
  • 06/29/08
  • Fri, 07/04/2008 - 14:27
See if this helps: http://nanonanonano.net/linux/debian/iwlwifi They specifically say you need a kernel >= 2.6.22... but it might work with 2.6.21 because the IntelLinuxWireless download page says that it works for 2.6.18-2.6.23. Looks like you'll have to compile a module after all. :-)

firmware-iwlwifi installs

  • burnside
  • 07/02/08
  • Thu, 07/03/2008 - 20:48
firmware-iwlwifi installs without issue, but modprobe can't find the iwl3945 module now. :/

ipw3945 is deprecated. Use iwlwifi

  • gabrbedd
  • 06/29/08
  • Thu, 07/03/2008 - 02:22
Hi burnside, According to the sourceforge project site, the ipw3945 driver is deprecated and you should use iwlwifi. There's a 'non-free' debian package in etch-backports, unstable, and testing that will probably work for you called firmware-iwlwifi. Hope this helps. Shout back if you need more instructions.