LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-10-2006, 03:50 AM   #1
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Rep: Reputation: 15
upgrading kernel stack from 4k to 16K


halo....i am a newbie of linux. I am currently using fedora core 4, kernel 2.6.11 and i just wonder if i upgrade from kernel stack 4K to 16K, is it my drivers or files will lost ?
 
Old 07-10-2006, 05:39 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Not if you rebuild the kernel using the /boot/config-2.6.11<something> file as your starting point. The only change you would need to make is to the kernel stack.

You do realize you can find replacement (16k stack) kernels on the web;

http://www.linuxant.com/driverloader.../downloads.php
 
Old 07-16-2006, 04:03 AM   #3
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo...may i know what is the command to upgrade the kernel stack size to 16K ?
"/boot/config-2.6.11<something> " is it use this command as typed by you ??
 
Old 07-16-2006, 06:38 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Please read; http://www.digitalhermit.com/linux/K...ild-HOWTO.html

FYI: the /boot/config-2.6.11<something> is a configuration file that was used to build the working 2.6.11 kernel you are talking about. If you from the console or command line type something like 'uname -a' minus the single quotemarks the output would tell which kernel was active on your system, example;

$ uname -a
Linux Aspire5000 2.6.17.4 #1 Sat Jul 8 21:40:04 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

And if you look at your /boot diectory (folder) you should hopefully see (using the above as the example) a file named config-2.6.17.4 which (using any test editor) starts with something like;

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.17.4
# Sat Jul 8 21:28:34 2006
#

Building a Fedora/Red Hat kernel is a little bit different then the kernel rebuild guide suggests, the steps are;

make mrproper
make menuconfig (see note below)
make
make modules_install
make install

Note: 'make xconfig' or 'make gconfig' may be used instead. In any case this is where you make any changes do the kernel configuration.

The /boot/config-2.6.11<something> file can be used as a starting point by typing before one of the "make *config" something like;

cp /boot/config-2.6.11-1.1369_FC4 .config


See the "Similar Threads" below this tread for additional information.
 
Old 07-16-2006, 08:01 AM   #5
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo...i had found out one link that is describe how to upgrade from $K to 16K as below:

http://www.qacafe.com/help/question.php?qstId=135

Is it this method also can be applied ??
 
Old 07-16-2006, 08:02 AM   #6
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo...i had found out one link that is describe how to upgrade from 4K to 16K as below:

http://www.qacafe.com/help/question.php?qstId=135

Is it this method also can be applied ??
 
Old 07-16-2006, 10:52 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Why yes it can, why did you not follow the link I provided in my first reply?


Hint: make sure you get the right kernel, this is a command that you type from the console or xterm session;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'kernel*'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference b/t Kernel stack and User stack hazzyb Linux - Software 2 09-29-2008 07:40 PM
16K stack size in 2.6..xx quietguy47 Linux - Kernel 3 04-24-2006 01:21 PM
modprobe ndiswrapper STILL freezing system, after 16k stack kernel yahonza Linux - Wireless Networking 3 01-31-2006 12:37 AM
16k stack kernel update source missing yahonza Linux - Wireless Networking 1 01-25-2006 05:13 PM
Is Kernel-ntfs for 16k stack available for download? mdslf Linux - General 0 08-18-2004 01:23 PM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration