Re: [2.6 patch] i386: always use 4k stacks

From: Robert Hancock
Date: Mon Nov 14 2005 - 23:30:51 EST


Jeff V. Merkey wrote:
What? There's more kernel apps than just ndis network drivers that get ported. ndiswrapper is busted (which is used for a lot of laptops)
without 4K stacks.

Which is why ndiswrapper needs to get fixed to work with 4K stacks. ndiswrapper is the thing that's doing the wierd stuff, it needs to adapt to the kernel, not the other way around. The reasons to use 4K stacks are strong enough that they are not made up for by the fact that ndiswrapper currently would like to have more stack space.

Windows apparently has 12K of kernel stack for drivers.. in that case even 8K of stack in Linux would not necessarily be enough. If ndiswrapper wants to run Windows code in the kernel with any amount of reliability it should be providing its own stack which is the size that the code expects.

My laptop is a Compaq and there isn't a Linux driver for the wireless. I also discovered Fedora Core 4 won't install
on a Compaq Presario with SATA (stacks crashes).

How do you know this is related to the stack? Did you report this as a bug?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/