LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2004, 03:50 PM   #1
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
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]
 
Old 09-07-2004, 04:29 PM   #2
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
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)
 
Old 09-07-2004, 09:50 PM   #3
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Original Poster
Rep: Reputation: 15
The option is under "Kernel Hacking"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference b/t Kernel stack and User stack hazzyb Linux - Software 2 09-29-2008 07:40 PM
FC4 - new stack size? DJOtaku Fedora 2 10-07-2005 12:22 PM
How do you increase a kernel stack size? ginda Linux - Newbie 4 01-24-2005 06:52 PM
Stack size decision atul_mehrotra Programming 2 10-08-2004 04:32 AM
Stack Size Decision atul_mehrotra Linux - General 0 10-07-2004 01:01 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration