Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> 4k Stacks To 16k Stacks
Ianb1972
post Nov 2 2005, 08:29 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 9
Joined: 31-October 05
Member No.: 5,688



Can anyone tell me how disable and remove the 4K stack in Fedora 4 and install the 16K Stack?

I am new to this so if you can give me it easy steps!! lol

The reason I want to do this is when I type modprobe ndiswrapper when trying to install my wireless card is freezes the system

Many thanks
Ian
Go to the top of the page
 
+Quote Post
as2100
post Nov 2 2005, 12:17 PM
Post #2


Grub-er
**

Group: Members
Posts: 26
Joined: 27-January 05
Member No.: 4,595



I highly doubt this option is what would be causing the kernel crash upon loading the module. However, if this really is causing the crash, try and get rid of the option:

You will need to find the option in your kernel's config file, probably: /usr/src/linux/.config
Comment out the line in there labeled "CONFIG_4KSTACKS=y"

After recompiling the kernel, you should be good to go. You will also need to reinstall ndiswrapper: 'make install' from your compiled ndiswrapper source directory.

EDIT:
Sorry, I missed what distro you said you were using. This is probably what you are looking for: http://www.linuxant.com/driverloader/wlan/...kernel-i686.php
Go to the top of the page
 
+Quote Post
Jim
post Nov 3 2005, 05:59 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



sorry to diagree with you as2100 but I would expect that that is exactly the problem. I don't know how well Fedora does with a 16k stack. For the same reason that ndswrapper will crash because its not a 16k stack, some modules will crash because its not a 4k stack. Now, thats a symptom of bad programing, but a 16k stack is a 4k stack with 12 extra k, but what ever.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
as2100
post Nov 3 2005, 08:19 PM
Post #4


Grub-er
**

Group: Members
Posts: 26
Joined: 27-January 05
Member No.: 4,595



No doubt I'll take your word, you're probably much more knowledgable on the situation. smile.gif

I was just speaking from personal experience: this stack issue seemed to cause problems for myself whenever I began using the network interface. The module would load fine, and I could bring up my NIC device, but- as soon as I requested an IP: *PANIC!*.

But, after a little research (specifically- by following this thread: Linux-Kernel Archive: kernel stack), I am going to have to absolutely agree. Correct me if I'm wrong here, but: drivers that need +4K stacks demand more space than the kernel has reserved in memory. Thus: the module doesn't load properly, crashing the kernel. Seems to me that this problem could very easily be handled by ndiswrapper. dry.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 06:47 AM