Sponsored Content
Full Discussion: Linux FAQ Items
Operating Systems Linux Gentoo Linux FAQ Items Post 302088230 by prashant_ohol on Sunday 10th of September 2006 05:36:38 PM
Old 09-10-2006
MySQL Latest stable Kernel Compilation

Hello,

First donwload the module-init-tools for kernel

cd /usr/src

wget http://www.kernel.org/pub/linux/kern...ols-3.0.tar.gz

cd module-init-tools-3.0.tar.gz

./configure --prefix=/usr

make

make install

Done!

then

Lets start with the kernel upgrade

cd /usr/src/

wget http://www.kernel.org/pub/linux/kern....6.15.4.tar.gz

tar -zxf linux-2.6.15.4.tar.gz

cd linux-2.6.15.4

cp /boot/config-2.6.9-22.ELsmp /usr/src/linux-2.6.15.4/.config

make clean

make mrproper

make oldconfig

(Note that oldconfig will only work within the same major version of the kernel. You cannot, for example, use a 2.4.x .config with the 2.6.x kernel)

keep hitting enter and take the defaults until you get to the CPU type. Select your CPU. Also in the SMP section select SMP if you have multiple CPUs. Oh, and select "(No Forced Preemption (server))" under that section. Everything else, just hit enter to take the defaults.

Then to compile and install:

make bzImage

make modules

make modules_install

make install

grub

savedefault --default=0 --once

quit



Reboot..... fingers crossed ...Good Luck

bingo Smilie



Prashant ohol - System Administrator
 

3 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Unix for Dummies FAQ

I have created a small FAQ for the "Unix for Dummies" forum. Hopefully this will be useful, as there are questions which are asked (and answered) repeatedly. <A HREF="http://www.droflet.net/unix_dot_com_faq.html">http://www.droflet.net/unix_dot_com_faq.html (0 Replies)
Discussion started by: PxT
0 Replies

2. Shell Programming and Scripting

awk between items including items

OS=HP-UX ksh The following works, except I want to include the <start> and <end> in the output. awk -F '<start>' 'BEGIN{RS="<end>"; OFS="\n"; ORS=""} {print $2} somefile.log' The following work in bash but not in ksh sed -n '/^<start>/,/^<end>/{/LABEL$/!p}' somefile.log (4 Replies)
Discussion started by: Ikon
4 Replies

3. Post Here to Contact Site Administrators and Moderators

Dead link in FAQ

Dead link from FAQ, then Technical FAQ: Senior Advisor - https://www.unix.com (Was about to suggest that a O/P read this FAQ). (9 Replies)
Discussion started by: methyl
9 Replies
KETCHUP(1)						      General Commands Manual							KETCHUP(1)

NAME
ketchup - Utility to update the kernel source SYNOPSIS
ketchup [options] <ver> DESCRIPTION
This tool synchronises a local kernel tree with a desired kernel version and patch set from a kernel.org mirror. The default requires a GPG key on your keyring, to verify the identity of the patches and source archives. Entire kernel images are not downloaded unless necessary, so bandwidth is saved. Patches are applied and removed as necessary to attain the requested version. OPTIONS
-a --archive (~/.ketchup) cache directory -d --directory (.) directory to update -f --full-tarball if unpacking a tarball, download the latest -g --gpg-path (/usr/bin/gpg) path for GnuPG -G --no-gpg disable GPG signature verification -k --kernel-url (http://www.kernel.org/pub/linux/kernel) base url for kernel.org mirror -l --list-trees list supported trees -m --show-makefile output version in makefile <arg> -n --dry-run don't download or apply patches -o --only-dl don't apply patches -p --show-previous output version previous to <arg> -q --quiet reduce output -r --rename-directory rename updated directory to linux-<v> -s --show-latest output the latest version of <arg> -u --show-url output URL for <arg> -w --wget (/usr/bin/wget) command to use for wget CONFIGURATION
Ketchup will read files named .ketchuprc in $HOME and in the target kernel directory, with the kernel directory taking precedence. A .ketchuprc file uses the Python syntax and may set the following variables: default_tree The default_tree option specifies the kernel version to work with if one is not given on the command line. precommand The precommand option specifies a command to run before synchronising the kernel tree to the required version. postcommand The postcommand option specifies a command to run after synchronising the kernel tree to the required version. AUTHOR
ketchup was written by Matt Mackall <mpm@selenic.com>. This manual page was written by Baruch Even <baruch@debian.org>, for the Debian project (but may be used by others). Description text taken from a former packaging attempt of Jack Wasey <debian@jackwasey.com>. February 16, 2010 KETCHUP(1)
All times are GMT -4. The time now is 12:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy