LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Is it possible to install the D-Link DWL-G122 wireless USB adapter on SuSE 8.2 ? (https://www.linuxquestions.org/questions/linux-hardware-18/is-it-possible-to-install-the-d-link-dwl-g122-wireless-usb-adapter-on-suse-8-2-a-297813/)

SuSE starter 03-04-2005 10:48 PM

Is it possible to install the D-Link DWL-G122 wireless USB adapter on SuSE 8.2 ?
 
I have the D-Link DWL-G122 wireless USB adapter but I'm facing lots of problems trying to install its driver on SuSE 8.2 kernel 2.4.20

I have attempted to use the ndiswrapper 0.11 but the modprobe ndiswrapper command always shows me error messages indicating unresolved symbols and that ndiswrapper failed to load.

Before using ndiswrapper, I installed the kernel source and the wireless tools from the SuSE CD using YaST and then I went on to install ndiswrapper according to the installation guidelines using the make and make install commands.

The driver I have tried to use with ndsiwrapper is the NetRTUSB.inf for WinXP and after installing the driver using ndiswrapper -i , I checked with ndiswrapper -l and it shows me that both the driver and hardware are present.

When I continue with the modprobe ndiswrapper command however, I receive the errors I mentioned before so I can't proceed any further.

I have also tried to disable the EHCI module with the rmmod ehci_hcd command because the DWL-G122 is a USB 2.0 device that I have to connect to the USB 1.0 port of the laptop I use, and I have read that this might conflict with the ndiswrapper loading correctly if the EHCI module isn't turned off, but still the same errors arise with the modprobe ndiswrapper command and it does not load.

I would be very grateful for any help and advice concerning this issue because I don't know what is preventing the ndiswrapper from loading correctly and according to the forum threads I have looked at, there shouldn't be any problems with the modprode ndiswrapper command.

JSpired 03-05-2005 12:19 AM

Do you recall the exact error message?

SuSE starter 03-05-2005 11:20 AM

ndiswrapper errors
 
These are the errors that are displayed when I use the modprobe ndiswrapper command to load ndiswrapper after the drivers have been installed


/lib/modules/2.4.20-4GB/misc/ndiswrapper.o: unresolved symbol usb_wrap_funcs
/lib/modules/2.4.20-4GB/misc/ndiswrapper.o: unresolved symbol usb_reset_port
/lib/modules/2.4.20-4GB/misc/ndiswrapper.o: unresolved symbol usb_submit_nt_urb
/lib/modules/2.4.20-4GB/misc/ndiswrapper.o: insmod /lib/modules/2.4.20-4GB/misc/ndiswrapper.o failed
/lib/modules/2.4.20-4GB/misc/ndiswrapper.o: insmod ndiswrapper failed


I have also added the following messages that appeared as ndiswrapper was installing when I used the make install command


make -C driver install
make[1]: Entering directory `/usr/src/ndiswrapper-0.11/driver'
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o wrapper.o wrapper.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from wrapper.c:27:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
wrapper.c: In function `call_entry':
wrapper.c:313: warning: comparison between signed and unsigned
wrapper.c: In function `load_driver':
wrapper.c:1928: warning: comparison between signed and unsigned
wrapper.c:1969: warning: comparison between signed and unsigned
wrapper.c: In function `add_file':
wrapper.c:2024: warning: comparison between signed and unsigned
wrapper.c: In function `unload_driver':
wrapper.c:2204: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o iw_ndis.o iw_ndis.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from iw_ndis.c:16:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from iw_ndis.h:18,
from iw_ndis.c:24:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
iw_ndis.c: In function `set_mode':
iw_ndis.c:117: warning: comparison between signed and unsigned
iw_ndis.c: In function `net_type_to_name':
iw_ndis.c:197: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_set_freq':
iw_ndis.c:274: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_set_bitrate':
iw_ndis.c:398: warning: comparison between signed and unsigned
iw_ndis.c:400: warning: comparison between signed and unsigned
iw_ndis.c:414: warning: comparison between signed and unsigned
iw_ndis.c:416: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_get_rts_threshold':
iw_ndis.c:437: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_get_frag_threshold':
iw_ndis.c:453: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_get_encr':
iw_ndis.c:582: warning: comparison between signed and unsigned
iw_ndis.c:604: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_set_encr':
iw_ndis.c:658: warning: comparison between signed and unsigned
iw_ndis.c:702: warning: comparison between signed and unsigned
iw_ndis.c: In function `ndis_translate_scan':
iw_ndis.c:848: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_set_power_mode':
iw_ndis.c:1001: warning: comparison between signed and unsigned
iw_ndis.c: In function `iw_get_power_mode':
iw_ndis.c:1018: warning: comparison between signed and unsigned
iw_ndis.c: In function `remove_key':
iw_ndis.c:1318: warning: comparison between signed and unsigned
iw_ndis.c: In function `wpa_set_key':
iw_ndis.c:1425: warning: comparison between signed and unsigned
iw_ndis.c:1456: warning: comparison between signed and unsigned
iw_ndis.c: In function `set_privacy_filter':
iw_ndis.c:1642: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o pe_loader.o pe_loader.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndiswrapper.h:22,
from pe_loader.c:33:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from pe_loader.c:33:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
pe_loader.c: In function `read_exports':
pe_loader.c:265: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o ntoskernel.o ntoskernel.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndiswrapper.h:22,
from ntoskernel.h:17,
from ntoskernel.c:16:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ntoskernel.c:16:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o ndis.o ndis.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndis.c:20:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from ndis.c:26:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
ndis.c: In function `NdisMRegisterMiniport':
ndis.c:87: warning: comparison between signed and unsigned
ndis.c: In function `ndis_encode_setting':
ndis.c:380: warning: comparison between signed and unsigned
ndis.c: In function `NdisReadPciSlotInformation':
ndis.c:745: warning: comparison between signed and unsigned
ndis.c: In function `NdisWritePciSlotInformation':
ndis.c:757: warning: comparison between signed and unsigned
ndis.c: In function `NdisMIndicateReceivePacket':
ndis.c:1534: warning: comparison between signed and unsigned
ndis.c: In function `NdisMStartBufferPhysicalMapping':
ndis.c:2331: warning: comparison between signed and unsigned
ndis.c: In function `NdisMCompleteBufferPhysicalMapping':
ndis.c:2368: warning: comparison between signed and unsigned
ndis.c: In function `NdisMGetDeviceProperty':
ndis.c:2430: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o misc_funcs.o misc_funcs.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndiswrapper.h:22,
from ntoskernel.h:17,
from ndis.h:18,
from misc_funcs.c:22:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from misc_funcs.c:22:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
misc_funcs.c: In function `RtlIntegerToUnicodeString':
misc_funcs.c:563: warning: comparison between signed and unsigned
misc_funcs.c:574: warning: comparison between signed and unsigned
misc_funcs.c: In function `rand':
misc_funcs.c:616: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o proc.o proc.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndiswrapper.h:22,
from ntoskernel.h:17,
from ndis.h:18,
from proc.c:19:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from proc.c:19:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe
en signed and unsigned
proc.c: In function `procfs_read_encr':
proc.c:117: warning: comparison between signed and unsigned
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o divdi3.o divdi3.c
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-4GB/build/include/
linux/modversions.h -DNDISWRAPPER_VERSION=\"0.11\" -DEXTRA_VERSION=\"\" -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-4GB/build/include -Wall -Wstrict-pro
totypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-bounda
ry=2 -O2 -c -o hal.o hal.c
In file included from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:14
7,
from ndiswrapper.h:22,
from ntoskernel.h:17,
from ndis.h:18,
from hal.c:16:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning: comparison be
tween signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function `pskb_may_pull
':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning: comparison be
tween signed and unsigned
In file included from ndiswrapper.h:31,
from ntoskernel.h:17,
from ndis.h:18,
from hal.c:16:
/lib/modules/2.4.20-4GB/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-4GB/build/include/linux/usb.h:935: warning: comparison betwe en signed and unsigned
ld -r -o ndiswrapper.o wrapper.o iw_ndis.o pe_loader.o ntoskernel.o ndis.o misc_ funcs.o proc.o divdi3.o hal.o
mkdir -p /lib/modules/2.4.20-4GB/misc
install -m 0644 ndiswrapper.o /lib/modules/2.4.20-4GB/misc
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.20-4GB/misc/ndiswrapper.o
make[1]: Leaving directory `/usr/src/ndiswrapper-0.11/driver'
make -C utils install
make[1]: Entering directory `/usr/src/ndiswrapper-0.11/utils'
cc -Wall -g -DNDISWRAPPER_VERSION=\"0.11\" -c -o loadndisdriver.o loadndisdri ver.c
gcc -o loadndisdriver loadndisdriver.o
install -m 755 loadndisdriver /sbin
install -m 755 ndiswrapper /usr/sbin
install -m 755 ndiswrapper-buginfo /usr/sbin
make[1]: Leaving directory `/usr/src/ndiswrapper-0.11/utils'


I hope you will be able to make something from all this because unfortunately I don't understand what it all really means


All times are GMT -5. The time now is 10:44 PM.