Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ralink 2500 and ndiswrapper on AMD64, again
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
knifeyspoony
n00b
n00b


Joined: 01 Jun 2005
Posts: 70

PostPosted: Thu Apr 06, 2006 12:31 am    Post subject: Ralink 2500 and ndiswrapper on AMD64, again Reply with quote

This is along the lines of unknown_mosquito's recent post, in that (s)he and I are troubleshooting the same software and hardware on the same platform. But I'm getting a different error.

I'm using the 64-bit driver rt2500usb.inf (downloadable here) for my D-Link DWL-G122 USB dongle. This driver works fine in Windows x64 on my machine. Ndiswrapper appears to install it successfully ("driver installed, hardware present"), but when I modprobe, my virtual terminal locks up after spitting out this:
Code:
ndiswrapper version 1.9 loaded (preempt=no,smp=no)
ndiswrapper (load_pe_images:573): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver rt2500usb (Ralink,10/17/2005, 2.01.00.0000) loaded
Unable to handle kernel paging request at ffffffffffffffc0 RIP:
[<ffffc200007ec634>]
PGD 103027 PUD 2c08067 PMD 0
Oops: 0002 [1]
CPU 0
Modules linked in: ndiswrapper
Pid: 7632, comm: loadndisdriver Tainted: P      2.6.15-gentoo-r7 #11
RIP: 0010:[<ffffc200007ec634>] [<ffffc200007ec634>]
RSP: 0018:ffff81007876d8e0  EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffc2000080f000 RCX: ffff8100778b2e0c
RDX: ffff8100778f3200 RSI: ffff81007876daec RDI: ffff81007876d990
RBP: ffff8100780563e0 R08: 0000000000000178 R09: 0022000300000000
R10: 0000000000000005 R11: ffff81007e10c2e0 R12: ffff81007863cc00
R13: ffff81007f6b2428 R14: ffff81007f6b2428 R15: ffffc20000016000
FS:  00002aaaaade6b00(0000) GS:ffffffff805b2800(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffffffffffffffc0 CR3: 000000007eb08000 CR4: 00000000000006e0
Process loadndisdriver (pid: 7632, threadinfo ffff81007876c000, task ffff81007efb5690)
Stack: 0000000000000286 ffffffff8800b569 0000000000000000 0000000000000246
       0000000000000000 ffffffff00000000 0000000000000001 ffff81007876d940
       ffff81007876d930 ffffffff88007341
Call Trace:<ffffffff8800b569>{:ndiswrapper:ExAllocatePoolWithTag+66}
       <ffffffff88007341>{:ndiswrapper:NdisAllocateMemoryWithTag+13}
       <ffffffff88007341>{:ndiswrapper:NdisAllocateMemoryWithTag+13}
       <ffffffff88016d6e>{:ndiswrapper:lin_to_win6+30} <ffffffff8800e935>{:ndiswrapper:IofCompleteRequest+142}
       <ffffffff88012134>{:ndiswrapper:miniport_init+144} <ffffffff88013807>{:ndiswrapper:NdisDispatchPnp+151}
       <ffffffff8014da91>{cache_alloc_refill+740} <ffffffff8800b569>{:ndiswrapper:ExAllocatePoolWithTag+66}
       <ffffffff8800b6c4>{:ndiswrapper:allocate_object+261}
       <ffffffff8800cca1>{:ndiswrapper:KeInitializeEvent+94}
       <ffffffff8800b569>{:ndiswrapper:ExAllocatePoolWithTag+66}
       <ffffffff8800b6c4>{:ndiswrapper:allocate_object+261}
       <ffffffff8800d1f8>{:ndiswrapper:wrap_create_thread+213}
       <ffffffff8800e02d>{:ndiswrapper:IofCallDriver+49} <ffffffff8800ff93>{:ndiswrapper:pnp_start_device+159}
       <ffffffff880106b8>{:ndiswrapper:wrap_pnp_start_device+1194}
       <ffffffff88010764>{:ndiswrapper:wrap_pnp_start_usb_device+68}
       <ffffffff8034a5f4>{usb_probe_interface+103} <ffffffff802bde14>{driver_probe_device+65}
       <ffffffff802bdece>{__driver_attach+0} <ffffffff802bdf03>{__driver_attach+53}
       <ffffffff802bd552>{bus_for_each_dev+67} <ffffffff802bd990>{bus_add_driver+116}
       <ffffffff802be261>{driver_register+56} <ffffffff8034a712>{usb_register+83}
       <ffffffff880056aa>{:ndiswrapper:wrapper_ioctl+1257}
       <ffffffff8016e300>{link_path_walk+187} <ffffffff80171f93>{sys_getdents+174}
       <ffffffff8010eeb5>{error_exit+0} <ffffffff801719dc>{do_ioctl+72}
       <ffffffff80171c0a>{vfs_ioctl+554} <ffffffff80171c70>{sys_ioctl+89}
       <ffffffff8010e58a>{system_call+126}

Code: 48 89 78 c0 48 8b 8b 10 22 00 00 ff 15 8b 0a 01 00 3d 03 01
RIP [<ffffc200007ec634>] RSP <ffff81007876d8e0>
CR2: ffffffffffffffc0
 <3>ndiswrapper (wrapper_init:171): loadndiswrapper failed (9); check system log for messages from 'loadndisdriver'
usbcore: deregistering driver ndiswrapper

It has occurred to me to recompile my kernel with increased stack size, since that's known to fix some ndiswrapper problems. But this option is not present in my kernel. I'm using gentoo-sources, and the output of my uname -a is
Code:
Linux bizarro 2.6.15-gentoo-r7 #11 Thu Apr 6 01:30:01 UTC 2006 x86_64 AMD Sempron(tm) Processor 2800+ AuthenticAMD GNU/Linux

I've also tried using the open source rt2570 and rt2x00 driver packages and Ralink's own proprietary Linux-native driver (see URL above) without success.

Sticking with ndiswrapper, should I use a different kernel? Or is my problem even likely to be related to the stack size? Other suggestions?

Thanks,
ks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum