Hello, There is a memory leak in ndiswrapper 1.0 for amd64. See the attached link for more info. From what I heard, it has been fixed in the next version but that dosn't work under amd64, just makes the kernel crash. Someone has created a patch for 1.0 and this problem and it works great on FC3 and Debian amd64. I haven't tried this on gentoo but I am installing it right now and will tell you about it's success if you want me to. IS there any more information you would like? Reproducible: Always Steps to Reproduce: 1.modprobe ndiswrapper 2.wait for a while 3.system starts slowing down Actual Results: The system slows down and slabtop shows size-64 to be around 99% of the memory. Expected Results: System should run normal speed and slabtop shows size-64 to be 552K.
Created attachment 52212 [details, diff] Parak's Patch Patch for ndiswrapper 1.0
what giri said on the ml the patch from parag is not the best solution and the problem got fixed after 1.0. There is _no_ memory leak present since 1.1-rc1 so an ebuild fro 1.1-rc3, which will maybe become 1.1, would be better then this patch
But no version after 1.0 works on AMD64. It causes a kernel panic. Someone has captured it with netconsole here: http://sourceforge.net/mailarchive/message.php?msg_id=11012875
From reading the devel-mailinglist I do think that 1.1-rc3 fixed the 64-bit problems. 1.1-final is already out so we should add an ebuild for the final-version and might even drop 1.0 completly.
I've created an enhancement request (#84219) for an ndiswrapper-1.1 ebuild.
Yes, the leak has been fixed in 1.1 and it works again on amd64.
Workd in new version of ndiswrapper