Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[solved] The NDISWrapper 4KSTACKS issue.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

[solved] The NDISWrapper 4KSTACKS issue.

  • Quote

Post by Riddick » Mon Sep 26, 2005 10:49 am

I have kernel 2.6.13.1 and I want to install ndiswrapper for my NetGear Card.
During the installation it says:
*** WARNING: Kernel seems to have 4K size stack option (CONFIG_4KSTACKS) removed; many Windows drivers will need at least 8K size stacks. You should read wiki about 4K size stack issue. Don't complain about crashes until you resolve this.
I have done:

nano /usr/src/linux/.config

and done CTRL + W and written "CONFIG_4KSTACKS"
and it has no results!

I would like to go to 8 or 12K stacks - how do i tell the kernel to do this?

Thanks,

Riddick
Last edited by Riddick on Mon Sep 26, 2005 12:19 pm, edited 2 times in total.
Top
kimchi_sg
Advocate
Advocate
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

Re: The NDISWrapper 4KSTACKS issue.

  • Quote

Post by kimchi_sg » Mon Sep 26, 2005 11:01 am

Riddick wrote:I have done:

nano /usr/src/linux/.config

and done CTRL + W and written "CONFIG_4KSTACKS"
and it has no results!

I would like to go to 8 or 12K stacks - how do i tell the kernel to do this?
If the option is not available in menuconfig, you simply cannot turn it on. Not even by editing the .config.

EDIT: You could try directly editing the Makefiles in /usr/src/linux, but you're on your own there.
Last edited by kimchi_sg on Mon Sep 26, 2005 11:04 am, edited 1 time in total.
Top
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

  • Quote

Post by Riddick » Mon Sep 26, 2005 11:04 am

I've tried enabling Kernel Hacking and NOT enabling 4KSTACKS - we'll see how it goes!
Keep you updated!
Top
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

  • Quote

Post by Riddick » Mon Sep 26, 2005 12:18 pm

Yep - that did it!
So, in the 2.6.13.1 "make menuconfig" kernel .config editor,
I went to Kernel hacking, enabled Kernel debugging, and the 4K Stacks was disabled,
and all as fine.

Recompiled, restarted, and here I am!

Riddick
Top
hothead
Apprentice
Apprentice
User avatar
Posts: 277
Joined: Fri Jul 02, 2004 2:56 pm
Location: /dev/core

  • Quote

Post by hothead » Fri Sep 30, 2005 10:51 pm

I may be mistaken but doesn't the 2.6 kernels still use 8K Stacks by default?
If you are interested in the "4K stack issue" have a look at 4K stacks for everyone?

The warning you are confused about only applies for Feodora kernels.
Fedora kernels disable this option altogether and use a 4K stack size
You can safely disable kernel debugging again.


Regards,

hothead
Last edited by hothead on Sat Oct 01, 2005 12:48 am, edited 1 time in total.
Got a question? - http://justfuckinggoogleit.com/
Top
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

  • Quote

Post by Riddick » Fri Sep 30, 2005 10:53 pm

No - it was disabled in the Vanilla kernel.
I was getting an error from the installer,
and when I did what I explained, the installer
stopped complaining.

Riddick
Top
hothead
Apprentice
Apprentice
User avatar
Posts: 277
Joined: Fri Jul 02, 2004 2:56 pm
Location: /dev/core

  • Quote

Post by hothead » Fri Sep 30, 2005 11:00 pm

No - it was disabled in the Vanilla kernel.
I was getting an error from the installer,
and when I did what I explained, the installer
stopped complaining.

Sure, but you enabled debugging to get rid of this warning.

I get this warning (not error) too. But in spite of this warning ndiswrapper builds fine - and works without any problems.

Please read the information I pointed to.
Got a question? - http://justfuckinggoogleit.com/
Top
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

  • Quote

Post by Riddick » Fri Sep 30, 2005 11:06 pm

For some drivers it is necessary to have 8K stacks.
Yours obviously didn't need them.
Top
hothead
Apprentice
Apprentice
User avatar
Posts: 277
Joined: Fri Jul 02, 2004 2:56 pm
Location: /dev/core

  • Quote

Post by hothead » Fri Sep 30, 2005 11:18 pm

Sure the windows binaries for ndiswrapper do need 8K stacks.
I may be mistaken but doesn't the 2.6 kernels still use 8K Stacks by default?
How does enable debugging help you? - That doesn't increase the stack size.

If you haven't allready please read the Information I pointed to.
Got a question? - http://justfuckinggoogleit.com/
Top
Riddick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Fri Apr 22, 2005 1:15 am
Location: Rome or Bristol

  • Quote

Post by Riddick » Fri Sep 30, 2005 11:30 pm

enabling debugging open up the option to disable 4K stacks , ALRIGHT?
PLEASE READ THE POST
If it wasn't useful or relevant to you, please stop posting

Riddick
Top
Post Reply

10 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic