Kernel update via YUM???

xeryph

Verified User
Joined
Dec 27, 2004
Messages
73
Hi,
I want to update my server using yum.
So I type:

yum check-update

there is many thing to update, I also see :

kernel.i686 2.6.9-34.EL base
kernel-devel.i686 2.6.9-34.EL base
kernel-hugemem-devel.i686 2.6.9-34.EL base
kernel-smp.i686 2.6.9-34.EL base
kernel-smp-devel.i686 2.6.9-34.EL base
kernel-utils.i386 1:2.4-13.1.80 base


Should I use yum to update that files or not. What do you think about it?

Thanks.

Regards,
Xeryph
 
xeryph said:
Hi,
I want to update my server using yum.
So I type:

yum check-update

there is many thing to update, I also see :

kernel.i686 2.6.9-34.EL base
kernel-devel.i686 2.6.9-34.EL base
kernel-hugemem-devel.i686 2.6.9-34.EL base
kernel-smp.i686 2.6.9-34.EL base
kernel-smp-devel.i686 2.6.9-34.EL base
kernel-utils.i386 1:2.4-13.1.80 base


Should I use yum to update that files or not. What do you think about it?

Thanks.

Regards,
Xeryph

I have already updated these using yum, didn't gave me a problem on centos 4.2 even the upgradeo 4.3 worked great :)
 
Now server is restarting.

Update didn't give any errors. I beleive that all will be all right :)
 
Wow you can update the kernel like a package now huh. I am still waiting for my red hat books to come in, there seems like there will be lots of surprises :)

Maybe this has something to do with no one replying to my post about /etc/make.conf ;)
 
I believe that updating the kernel from yum is safe unless you've installed your own kernel.

However I still don't recommend doing it automatically in a cron job, because I believe we should know when a kernel is updated, and restart when we know we can visit the data center if required.

Jeff
 
What about 3rd party hardware like a Areca-controller...

Shoudn't the driver not be included in the kernel?

How can you check that after upgrading with YUM?

I dont like to upgrade the kernel and it wont reboot anymore :P

As long I don't have a good reliable answer I won't do a kernel upgrade.
 
Yum is very well tool for updates - I always thought that I need to recompile kernel - it is so difficult and it takes a lot of time.

Your question is very good. I do not know whether you can update kernel with another plugins, addons etc via yum. It would be wonderful, but how do it? :)
 
If the controller driver is a kernel module it should still load after the kernel is updated.

However there's a chance the module won't run in an updated kernel.

There are some good reasons we use standard hardware and software RAID on webhost systems that must be booted remotely.

You've just found one of them.

Jeff
 
This is also one of the reasons to use a custom kernel you know supports what you need. If you compile it yourself you can make sure you have the needed support for your hardware. Not to mention you can get rid of all the stuff you do not need and optimize the kernel for your hardware.
 
Yeah, if you know how to create custom kernels and you feel comfortable enough doing them to use them on a server in a data center (where you may have to make a long drive or spend a lot of money to fix the problem if the new kernel doesn't work.

It would work for me; I've been compiling Linux kernels since 1995.

But most of us haven't, and don't feel that comfortable.

Jeff
 
How we do it here;
We use the kernel config file that's default for the installation we used to get the server working the first time.
So we download the vanilla kernel, and just use the existing config file from the current kernel.

I don't trust Apt or Yum enough to let them do the hard work ;).

However, I do agree, people with not enough experience could use those tools.
 
neo123 said:
i am ggetting kernel panic after upgrading :mad:

If you want some help, you need to be a little more specific ;)
Start with OS version, HD and more details about the error message.
 
Back
Top