Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: 'modprobe ndiswrapper' crashes kernel< Next Oldest | Next Newest >
tscha Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Mar. 27 2005,10:33 QUOTE

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
Back to top
Profile PM 
tscha Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Mar. 28 2005,12:49 QUOTE

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
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 28 2005,18:42 QUOTE

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.
Back to top
Profile PM 
tscha Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Mar. 28 2005,19:23 QUOTE

Thanks for your help, cbagger01.
I will try your suggestions and come back here.
Back to top
Profile PM 
3 replies since Mar. 27 2005,10:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: 'modprobe ndiswrapper' crashes kernel

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code