PDA

View Full Version : Changing the kernel stack size


graemekeatley
2005-07-29, 02:05 PM CDT
Hi there

Hope someone can help as a completely new to this, i am trying to install the drivers for my wireless card using ndiswrapper, but am getting the message the kernel is compiled with 4k stack size option and some windows drivers won't work with this option when using make install for installing ndiswrapper, my question is do I need to change the stack size and how do I do this bearing in mind that I am a complete newbie but willing to learn any help whatsoever would be greatly appreciated

Thanks
Graeme

graemekeatley
2005-07-29, 03:20 PM CDT
It's ok sorry i got it sorted, thanks anyway

Graeme

willieray
2005-07-29, 03:29 PM CDT
how? always good to post follow ups in case someone else has the same problem :D

graemekeatley
2005-07-29, 05:16 PM CDT
Sorry should of give more details, I didn't change to stack size I ended up getting the card working as I was originally using the wrong driver I managed to get the proper windows driver for my card. But then when i restarted the computer i got the message loadndiswrapper failed (11) and fedora wouldn't start. So i all honesty i got it working briefly but now i'm back to square one. However any suggestions would be greatly appreciated. Forgive me if I got anyone's hope up, but i am still learning myself

Sorry
Graeme

mtl2002
2005-07-31, 12:11 AM CDT
It's mainly the Intel Centrino cards (Intel Pro Wireless 2100 or 2200) that need the 16K stacks if you want to use their Windows drivers. If your card isn't one of those, you probably won't need to get a new kernel. (And even if it is the IPW2100 or IPW2200, FC4 now has native Linux support for these cards. Look to see if the ipw2x00 module has been loaded by issuing the query: /sbin/lsmod. If you don't see the module loaded, try loading it with the command (as root) modprobe ipw2200 (or ipw2100).)

If you should decide you need a 16K stack, you can't just "turn it on" unfortunately. You have to get a new kernel, either downloading one or making one yourself. The easiest way is just to download one of the premade 16K kernels from here:

http://www.linuxant.com/driverloader/wlan/full/downloads-fc4-kernel-i686.php

You should download and install both the kernel and kernel-devel packages for whatever release version you want.