LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-04-2005, 11:48 PM   #1
SuSE starter
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Rep: Reputation: 0
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.
 
Old 03-05-2005, 01:19 AM   #2
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
Do you recall the exact error message?
 
Old 03-05-2005, 12:20 PM   #3
SuSE starter
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless D-link DWL-G120 USB Adapter Prism54 Driver installation?? howto please!! geninblaze Linux - Wireless Networking 13 05-01-2006 01:11 AM
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 03:27 PM
DWL-122 D-link USB adapter with SUSE 9.3 bitsnedker Linux - Newbie 2 04-29-2005 09:33 AM
D-Link DWL-G122 (USB) not working with ndiswrapper Anders1 Linux - Wireless Networking 8 02-27-2005 11:57 AM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 08:13 AM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration