LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Stack Size option (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-stack-size-option-227839/)

Corallis 09-07-2004 03:50 PM

Kernel Stack Size option
 
I am currently trying to recompile my kernel with a higher stack size than it currently has in order to use my wireless card, however, I have searched through the kernel options for a while now and I cant seem to find where I can raise the stack size. In case there is any confusion, I am trying to do what this is talking about:

[quote[
Some drivers (especially for Intel Centrino PRO/Wireless 2200BG and 2100) need significant stack space. Kernel stack size on Windows is generally 12k (3 pages) but only 8k - sizeof(task_struct) = about 6.5k on Linux. Stack overflows, although rare but still theoretically possible can lead to semi-random crashes. This is even more likely to happen when using kernels compiled with CONFIG_4KSTACKS (which is the default in Fedora Core 2). An experimental workaround for this can be enabled by running "dldrconfig --enable-workaround=stack" but the safest solution is to increase the kernel stack size to 16k. (see the download section at http://www.linuxant.com/driverloader/ for available pre-built 16K kernel packages and patch options).
[/quote]

sh1ft 09-07-2004 04:29 PM

I don't think the vanilla kernel gives you that capability, you need to find a 3rd party patch to provide the funcunality. Look at the last few lines of your quote from the site.

Quote:

(see the download section at http://www.linuxant.com/driverloader/ for available pre-built 16K kernel packages and patch options)

Corallis 09-07-2004 09:50 PM

The option is under "Kernel Hacking"


All times are GMT -5. The time now is 04:24 AM.