Upgrade kernel on 11.1

I have mainly worked on Debian distros and recently have decided to move to OpenSuse.

Currently this is my Opensuse version:

Linux linux-igz7 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux 

I am trying to upgrade the kernel version to 2.6.30.6-1

This is what I have tried to do so far:

I downloaded this file from this location Filename: kernel-source-2.6.30.6-1.src.rpm

and I have placed the file in my /usr/src directory.

This is the process that I go through:

rpm -Uvh kernel-source-2.6.30-6.1.src.rpm 

And this is the output I get.

warning: kernel-source-2.6.30-6.1.src.rpm: Header V3 DSA signature: NOKEY, key ID a29f6635
   1:kernel-source          ########################################### [100%]

Now when I look in /usr/src

I cant find the directory for it.

I have looked on couple of tutorials and can’t seem to get anywhere.

Does someone have a correct tutorial on how this is done?

Many thanks

I think I managed to find out where I am going wrong.
I have now installed through Yast kernel-source package.
And now I have /usr/src/linux folder too.

From here how do I go about manually configuring my kernel so that I have the latest version of the kernel?

Hi
Have a look here;
http://www.howtoforge.com/kernel_compilation_suse

Normally with a src rpm you run the command (as your user not root)

rpmbuild --rebuild <name-of-src-rpm>

It will then build for your then you can install via the rpm -Uhv
command. However I have never done a kernel install via this method.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 2 days 2:49, 1 user, load average: 0.61, 0.37, 0.24
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

technoboy18 wrote:
> From here how do I go about manually configuring my kernel so that I
> have the latest version of the kernel?

You need to do several things:

(1) Change directory to /usr/src. Do a ‘ls -l’. You will see that the files are
owned by root, and that /usr/src/linux is a link with an entry linux -> xxx.

(2) Do the following where xxx comes from step 1, and yyy is your normal
(unprivileged) login name:


sudo chown -R yyy:users xxx
cd linux
cp /proc/config.gz config.gz
gunzip config.gz
cp config .config
make
sudo make modules_install install

The business with config.gz will configure the new kernel using the old set of
parameters. When you issue the make command, you will be asked questions
regarding the parameters that have been added since then. In most cases, the
default answer will be right. Once the “sudo make” finishes, the new kernel will
be an additional option in the GRUB menu.

Larry