LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   upgrading kernel stack from 4k to 16K (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-kernel-stack-from-4k-to-16k-462541/)

wahaha 07-10-2006 03:50 AM

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 ?

Lenard 07-10-2006 05:39 AM

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

wahaha 07-16-2006 04:03 AM

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 ??

Lenard 07-16-2006 06:38 AM

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.

wahaha 07-16-2006 08:01 AM

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 ??

wahaha 07-16-2006 08:02 AM

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 ??

Lenard 07-16-2006 10:52 AM

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*'


All times are GMT -5. The time now is 12:41 PM.