Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103287 - ndiswrapper-1.2 throws unresolved symbol pci_set_consistent_dma_mask
Summary: ndiswrapper-1.2 throws unresolved symbol pci_set_consistent_dma_mask
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-21 15:28 UTC by Ralf Eichelsdörfer
Modified: 2005-10-26 11:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Eichelsdörfer 2005-08-21 15:28:21 UTC
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
Comment 1 Henrik Brix Andersen 2005-08-22 06:53:41 UTC
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.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-10-23 10:39:39 UTC
please test again with version 1.4 and re-open if the problem presists.
Comment 3 Ralf Eichelsdörfer 2005-10-26 11:52:34 UTC
Hi Doug, sorry I cant test this anymore. I have switched to a new amd64
platform. Can anyone else confirm?