Networking :: 'modprobe ndiswrapper' crashes kernel
I am using on my "Sony Vaio Notebook" a HD-install of "DSL 1.0rc1". I am trying to install my "D-Link DWL-G120 (Rev. B2) USB Adapter". I run into a lot of troubles along the way. However, some issues are solved. I also upgraded to "Ndiswrapper-0.12". The upgrade helped me, that the system recognized the hardware and the driver as well.
But everytime after the command
Code Sample |
modprobe ndiswrapper |
the system crashes.
Some googling showed me, that there is a problem with the kernel stack, which often crashes at 4K. Several driver seems to have a problem with this and it is recommended to recompile the kernel to 8K or 12K.
Questions:
1. How can I check the stack size of the kernel?
2. Is it possible or does it make sense to provide a precombiled kernel?
3. Does s.o. know a good HOW-TO for compling the kernel?
Thanks for help in advance!
-- tscha
Here is some more info:
Device: 'D-Link DWL-G120 USB Adapter (Rev. B2)'
Kernel: 2.4.26
Ndiswrapper: 0.12 (was recommended for 2.4)
I managed to install the driver successfully with
ndiswrapper -i PRISMA02.inf
After this the command
ndiswrapper -l
shows me, that both driver and hardware are present.
Now I am trying to go on with
modprobe ndiswrapper
After this, the system halts/crashes.
No response to mouse and key actions.
The scroll and the caps LEDs are flashing.
snip from dmesg:
ndiswrapper version 0.12 loaded (preempt=no,smp=yes)
usb.c: registered new driver netcard
ndiswrapper: driver netcard() added
usb.c: registered new driver prisma02
ndiswrapper (NdisWriteErrorLogEntry:263): log: C000138A, length: 3 (c0000001)
ndiswrapper (nids_init_one_usb:1702): Windows driver couldn't initialize the device
ndiswrapper: driver prisma02 (GlobespanVirata,11/11/2003, 1.00.5.0) added
Somebody here:
http://ndiswrapper.sourceforge.net/phpwiki/index.php/List
got the drivers to work with ndiswrapper:
# Card: D-Link DWL-G120 REV B2
Chipset: Prism 2 USB
usbid: 2001:3701
Driver: Driver available on accompanying CD (CD Ver 2.00) and in www.dlink.com. Driver version 11/11/2003, 1.00.5.0.
Other: Works with WEP. Linux 2.6.7 ndiswrapper-0.11. Drivers in CD are in .cab format, so i extracted requiered files (.inf, .sys, etc) from installed drivers of win 98, and then i pasted them on /etc/ndiswrapper/prisma02 folder. WEP support seems to require that the card is configured to run in "open" mode, not "restricted", at least until an IP address is assigned (use "iwconfig key open XXXXXXXXXXXXXXX" instead of just "iwconfig key XXXXXXXXXXXXXXXXXX").
Because this is a PRISM GT based card, you might be able to get it working with the native linux Prism drivers.
Thanks for your help, cbagger01.
I will try your suggestions and come back here.
original here.