Linux: modprobe ndiswrapper dies w/o error

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Dave
Jedi Knight
Posts: 901
Joined: 2004-02-06 11:55pm
Location: Kansas City, MO

Linux: modprobe ndiswrapper dies w/o error

Post by Dave »

I'm trying to get ndiswrapper to work with a D-Link WUA-1340 USB-to-WiFi adapter.

All my checks with ndiswrapper seem to work, (i.e. ndiswrapper -l shows "Drivers present, Hardware present" or equivalent, etc.) but when I actually run modprobe ndiswrapper, it sits there and stares at me, without returning to the usual <username>@<computername>#

dmesg gives:

Code: Select all


<*snip* --unimportant dmesg entries-- *snip*>

ndiswrapper version 1.1 loaded (preempt=yes,smp=no)
ndiswrapper: driver dr71wu (D-Link,11/03/2005, 1.0.1.0) loaded
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c9a49083
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: ndiswrapper ipv6 xirc2ps_cs ds af_packet floppy parport_pc parport analog ns558 gameport pcspkr rtc 
uhci_hcd usbcore yenta_socket pcmcia_core tsdev mousedev evdev capability commoncap psmouse ide_cd cdrom ext3 jbd 
ide_generic piix ide_disk ide_core sd_mod ata_piix libata scsi_mod unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU:    0
EIP:    0060:[<c9a49083>]    Not tainted
EFLAGS: 00010246   (2.6.8-3-386)
EIP is at 0xc9a49083
eax: 00000000   ebx: c45c8000   ecx: 00000000   edx: 00000000
esi: ffffffed   edi: c46a1800   ebp: c532ddd8   esp: c532ddd0
ds: 007b   es: 007b   ss: 0068
Process loadndisdriver (pid: 3338, threadinfo=c532c000 task=c67e74a0)
Stack: 00000000 00000000 c532de58 c9a476cb 00000000 0000000c c64b62c0 00000001
       c9a1bcdf 00000000 00000000 00000000 c9a74295 00000000 00000000 00000020
       c9a8e748 ffffffed 00000000 c9a1ed9c c9a8e748 c45c8220 c45c8000 c9a49774
Call Trace:
 [<c9a1bcdf>] wrap_kmalloc+0x42/0x7d [ndiswrapper]
 [<c9a1ed9c>] NdisMInitializeTimer+0xf/0x2c [ndiswrapper]
 [<c01e08ec>] ether_setup+0x0/0x86
 [<c9a23bb0>] miniport_init+0x57/0x61 [ndiswrapper]
 [<c9a1aa27>] ndiswrapper_add_one_usb_dev+0x93/0x15a [ndiswrapper]
 [<c994703c>] usb_probe_interface+0x36/0x40 [usbcore]
 [<c01d4af7>] bus_match+0x2e/0x4d
 [<c01d4bcc>] driver_attach+0x39/0x6e
 [<c01d4f30>] bus_add_driver+0x58/0x70
 [<c01d527f>] driver_register+0x2d/0x31
 [<c99470db>] usb_register+0x3a/0x7a [usbcore]
 [<c9a1b79c>] register_devices+0x45b/0x4f3 [ndiswrapper]
 [<c9a1b86a>] wrapper_ioctl+0x36/0xab [ndiswrapper]
 [<c0153e09>] sys_ioctl+0x1cd/0x214
 [<c0105f97>] syscall_call+0x7/0xb
Code: c6 00 00 eb e4 8b e5 5d c2 08 00 cc cc 55 8b ec 83 ec 0c 8b
 <3>ndiswrapper (wrapper_init:1534): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
usbcore: deregistering driver ndiswrapper

I'm running vanilla Debian, BTW.

The line Unable to handle kernel NULL pointer dereference at virtual address 00000000 looks ugly. Is that a problem?

Thanks in Advance (I hope) for any help anyone could give me.
User avatar
Drooling Iguana
Sith Marauder
Posts: 4975
Joined: 2003-05-13 01:07am
Location: Sector ZZ9 Plural Z Alpha

Post by Drooling Iguana »

You'd probably have better luck posting this in the discussion forums for your distribution, if you haven't done so already.
Image
"Stop! No one can survive these deadly rays!"
"These deadly rays will be your death!"
- Thor and Akton, Starcrash

"Before man reaches the moon your mail will be delivered within hours from New York to California, to England, to India or to Australia by guided missiles.... We stand on the threshold of rocket mail."
- Arthur Summerfield, US Postmaster General 1953 - 1961
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Have you tried using the native drivers? It looks like that adapter should work w/ the Ralink rt2500 or something driver....

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Post Reply