LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   problems w/ Linksys WUSB54Gv4 & ndiswrapper on sid (https://www.linuxquestions.org/questions/linux-wireless-networking-41/problems-w-linksys-wusb54gv4-and-ndiswrapper-on-sid-314022/)

phantom982002 04-16-2005 10:15 PM

problems w/ Linksys WUSB54Gv4 & ndiswrapper on sid
 
Ahoy,

I apologize for posing this twice but it sank to the botom like a rock in the ocean on the hardware forums and i desperatley need this up.

I'm running sid, w/ kernel 2.6.8-2, I've installed packages ndiswrapper-modules-2.6.8-2-686_1.1-2_i386 and ndiswrapper-utils_1.1-4_i386 I downloaded the windows drivers for this thing from the linksys site and then ran
Code:

ndiswrapper -i rt2500usb.inf
it installs succesfully and when i run
Code:

ndiswrapper -l
it says
Code:

rt2500usb          driver present, harware present
now the problem is that when i run

Code:

modprobe ndiswrapper
it gives me the following error and the program hangs ( the system is fine and i can use it by switching into another tty) and most importantly the adapter doesn't work :confused:

Here's the error
Code:

ndiswrapper version 1.1 loaded (preempt=yes,smp=no)
ndiswrapper: driver rt2500usb (Linksys,01/07/2005, 2.00.00.0000) loaded
Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c8b1101f
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: ndiswrapper ipv6 evdev ide_cd cdrom parport_pc parport es1371 ac97_codec shpchp pciehp pci_hotplug intel_agp snd_ens1371 snd_rawmidi snd_seq_device snd_pcm snd_page_alloc snd_timer snd_ac97_codec snd soundcore gameport usblp uhci_hcd usbcore agpgart nls_iso8859_1 nls_cp437 vfat fat dm_mod capability commoncap af_packet genrtc ext2 ext3 jbd mbcache ide_generic piix ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU:    0
EIP:    0060:[<c8b1101f>]    Not tainted
EFLAGS: 00010202  (2.6.8-2-686)
EIP is at RtlCopyUnicodeString+0x1f/0x90 [ndiswrapper]
eax: 00000004  ebx: c58f1000  ecx: c8b04728  edx: 00000008
esi: 00000004  edi: c1276000  ebp: c8b04728  esp: c5839d94
ds: 007b  es: 007b  ss: 0068
Process loadndisdriver (pid: 1811, threadinfo=c5838000 task=c6e73220)
Stack: c1276000 c58f1000 ffffffed c1276000 c5839e20 c8ae7d4b c8b04728 00000004
      c8b11dd8 00000008 00000064 00000000 00000000 00000000 c8b04728 00000000
      00000002 c1276000 c5839df0 00000000 c5875160 00000400 00000000 c5839e14
Call Trace:
 [<c8b11dd8>] NdisFreeMemory+0x238/0x240 [ndiswrapper]
 [<c8b1aae8>] miniport_init+0x48/0x80 [ndiswrapper]
 [<c8b0e81b>] ndiswrapper_add_one_usb_dev+0x8b/0x1b0 [ndiswrapper]
 [<c893d07d>] usb_probe_interface+0x5d/0x70 [usbcore]
 [<c01f7d1f>] bus_match+0x3f/0x70
 [<c01f7e4c>] driver_attach+0x5c/0xa0
 [<c01f8371>] bus_add_driver+0x91/0xb0
 [<c8b0e790>] ndiswrapper_add_one_usb_dev+0x0/0x1b0 [ndiswrapper]
 [<c01f891f>] driver_register+0x2f/0x40
 [<c893d14e>] usb_register+0x3e/0xa0 [usbcore]
 [<c014eee1>] vmalloc+0x21/0x30
 [<c8b0e940>] ndiswrapper_remove_one_usb_dev+0x0/0x30 [ndiswrapper]
 [<c8b0e790>] ndiswrapper_add_one_usb_dev+0x0/0x1b0 [ndiswrapper]
 [<c8b0f6ce>] register_devices+0x35e/0x5e0 [ndiswrapper]
 [<c016fcda>] update_atime+0x9a/0xe0
 [<c8b0fa35>] wrapper_ioctl+0xe5/0xf0 [ndiswrapper]
 [<c0167cec>] sys_ioctl+0x11c/0x280
 [<c0153c61>] sys_close+0x61/0xa0
 [<c010603b>] syscall_call+0x7/0xb
Code: 0f b7 16 0f b7 da 66 89 54 24 02 0f b7 45 02 0f b7 c8 66 39
 <3>ndiswrapper (wrapper_init:1534): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
usbcore: deregistering driver ndiswrapper

Google hasn't been much help.

Any ideas?
Thanks,
phantom982002

snecklifter 04-17-2005 05:49 AM

Hi there,

If I was faced with this situation I'd try using a later kernel, even a 2.6.11 if I could get my hands on one. I dont think this is an ndiswrapper problem, judging from the error it spat out in your post. In fact, having read it again (and seeing the "oops" in about the fourth line or so) I'd definitely take this route. I think everything else you are doing is correct and is acting as its supposed to.
Regards
Chris

grabitz 04-17-2005 06:06 AM

Hi,

I ran into the same problem (using sid - kernel 2.6.10., wusb54g and ndiswrapper 1.1).
It worked with an older driver (the one that was shipped on the CD) and unloading ehci (it would be great if anyone could explain to me, why it works this way ,)).

In the "ifconfig" listing the device shows up as wlan0 and I'm able to connect to a wlan now.

I'm nevertheless not able to put it into monitor mode, can someone help me?

Thanks

Grabitz

P.S.
I will try the new kernel version

snecklifter 04-17-2005 06:11 AM

I wasnt aware that card supported monitor mode - have you verified this as not all cards do - it is not part of the 802.11 standard you see.

snecklifter 04-17-2005 08:16 AM

See this also,
http://www.linuxquestions.org/questi...icle&artid=217

Regards
Chris

phantom982002 04-17-2005 09:02 AM

Well, I guess ill install 2.6.11 and compile the ndiswrapper module for it then,
Will report back and tell you how that goes
Thanks,
phantom982002


All times are GMT -5. The time now is 08:36 PM.