[driverloader] driverloader and 4K stacks in 2.6 kernel

Linuxant support (Jonathan) support at linuxant.com
Mon Dec 19 11:20:37 EST 2005


DriverLoader do work well with kernels with only 4K of stacks even if 
the loaded Windows XP driver requires more than that. When loading 
Windows XP drivers that are known to require more than 4K of stacks on 
on a 4K kernel, the "stack workaround" in DriverLoader is automatically 
enabled. It can also be manually enabled with the 'dldrconfig 
--enable-workaround=stack' command in a root shell or the Web Configurator.

However, the stack wrapper is not compatible with some patches which 
were added to some kernels. Fedora Core 2 and 3 and RHEL 4.x kernels are 
known to not work with the stack wrapper and this is why we provide 
pre-compiled 16K stacks kernels for these distributions on our web site. 
Generic kernels from http://www.kernel.org are known to work fine with 
the stack wrapper so far.


Technical specialist / Linuxant
support at linuxant.com

Bob Tracy wrote:
> Apologies if this has been beaten to death recently, but I haven't seen
> any traffic here that caught my eye on this subject.
> It looks like the Linux kernel developers are finally getting serious
> about ramming 4K stacks down my throat, and I assume this will affect
> driverloader much the same way as ndiswrapper.  There is not so much as
> a whiff of a rumor regarding native Linux drivers for my D-Link
> DWL-G630 802.11g card (Marvell chipset).  That being the case, I was
> wondering how Linuxant was planning to address the 4K stack issue,
> because the ability to build a 2.6 kernel from kernel.org source with 8K
> stacks probably won't be an option without third-party patches.
> Recent traffic on the linux-kernel mail list indicates one guy is doing
> some serious work on running ndiswrapper in user space, but that's only
> going to cover the USB side of the fence from what I gather.

More information about the driverloader mailing list