[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring Kernel with a different Stack size



* Christoph Hellwig (hch@lst.de) wrote:
> On Sun, Aug 22, 2004 at 04:51:52PM -0400, Bharath Ramesh wrote:
> > I tried installing ndiswrapper on my laptop and found that my computer
> > freezes soon. It seems like the new version of ndiswrapper is quite
> > stack hungry like the windows driver. I want to know how do I increase
> > my stack size of my kernel when I am building my own kernel. In the
> > config file of the 2.6.7 kernel source I cant find the option for the
> > CONFIG_4KSTACK. Does this mean the debian kernel uses a 8K stack. If not
> > how do I build my kernel with atleast an 8K stack. I am not subscribed
> > to this list so would really appreciate if you could CC the reply to me.
> 
> Yes, Debian is using 8k stacks right on (on x86, that is - stack sizes
> on different architectures can be quite different).  Note that we don't
> have irq stacks and you are still likely to get stack overflows with
> ndiswrapper.
> 

I still get the stack overflow error. Some searching suggested that best
thing would be to use a 16K stack kernel. I found that there is a 16K
stack kernel available from Linuxant website. I just wanted to know if
there is a way to change the amount of stack used in the debian kernel
itslef without me downloading the kernel provided by Linuxant.

Thanks,

Bharath

---
Bharath Ramesh       <bramesh@vt.edu>       http://csgrad.cs.vt.edu/~bramesh



Reply to: