After upgrading to ndiswrapper-1.2 I cant load the module anymore. #modprobe ndiswrapper /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: unresolved symbol pci_set_consistent_dma_mask /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: insmod /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o failed /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: insmod ndiswrapper failed I've seen posts in the forum that this also happens on a 2.4.22-gentoo-r3 kernel. See last page of http://forums.gentoo.org/viewtopic-t-125627-start-250.html for more detail. The relevant system information (emerge --info): Portage 2.0.51.22-r2 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.4.28-gentoo-r9 i686) ================================================================= System uname: 2.4.28-gentoo-r9 i686 AMD-K7(tm) Processor Gentoo Base System version 1.6.13 dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux dvd dvdread eds emboss encode esd ethereal fam ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit libg++ libwww lirc mad matrox mikmod mmx mmxext motif mozilla mp3 mpeg mysql ncurses network nls ogg oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python quicktime readline samba sdl slang speex spell sqlite ssl svga tcltk tcpd threads tiff truetype truetype-fonts trusted type1-fonts usb v4l vorbis wavelan xine xml xml2 xmms xv xvid zlib video_cards_matrox userland_GNU kernel_linux elibc_glibc" After going back to ndiswrapper-1.1-r1 things work again. Reproducible: Always Steps to Reproduce: 1. Compile net-wireless/ndiswrapper-1.2 2. Reboot Actual Results: #modprobe ndiswrapper /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: unresolved symbol pci_set_consistent_dma_mask /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: insmod /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o failed /lib/modules/2.4.28-gentoo-r9/misc/ndiswrapper.o: insmod ndiswrapper failed
Under linux-2.4.x, pci_set_consistent_dma_mask() is defined in include/linux/libata-compat.h: #define pci_set_consistent_dma_mask(pdev,mask) (0) This file needs to be included in driver/loader.c for KVERS=24 for ndiswrapper to work on linux-2.4.x.
please test again with version 1.4 and re-open if the problem presists.
Hi Doug, sorry I cant test this anymore. I have switched to a new amd64 platform. Can anyone else confirm?