Help - Search - Members - Calendar
Full Version: redhat enterprise kernel
The Planet Forums > Operating Systems > Red Hat Linux
blueice
Hi,
i have a P4 2.8 HT box. I have working fine until now with kernel 2.4.21-4.0.2.ELsmp but after a upgrade to 2.4.21-9.0.1.ELsmp my server crash every day.
I want to rollback the kernel but i have uninstall the old.
I have try to install the kernel via this commands:
up2date kernel-smp-2.4.21-4.0.2.EL.i686
up2date kernel-smp-2.4.21-4.0.2.EL
up2date kernel-smp-2.4.21-4.0.2

but the up2date canot find the package.
Is here any people who have the kernel-smp-2.4.21-4.0.2.EL.686.rpm so i can install this with the rpm?
Normally lot of people can have this in /var/spool/up2date
So can i have some help on this?
Thanks
Christos
Doodle
QUOTE
i have a P4 2.8 HT box. I have working fine until now with kernel 2.4.21-4.0.2.ELsmp but after a upgrade to 2.4.21-9.0.1.ELsmp my server crash every day.
I want to rollback the kernel but i have uninstall the old.

I don't think you can go back to a previous version with up2date. If up2date kernel

Try the suggestions outlined in the following thread

http://forums.servermatrix.com/viewtopic.html?t=5383

echo 100 > /proc/sys/vm/inactive_clean_percent
echo 2 10 20 > /proc/sys/vm/pagecache
blueice
QUOTE (Doodle)
QUOTE
i have a P4 2.8 HT box. I have working fine until now with kernel 2.4.21-4.0.2.ELsmp but after a upgrade to 2.4.21-9.0.1.ELsmp my server crash every day.
I want to rollback the kernel but i have uninstall the old.

I don't think you can go back to a previous version with up2date. If up2date kernel

Try the suggestions outlined in the following thread

http://forums.servermatrix.com/viewtopic.html?t=5383

echo 100 > /proc/sys/vm/inactive_clean_percent
echo 2 10 20 > /proc/sys/vm/pagecache

Hi,
thanks for the help.
I have read this post but i prefer to keep the old kernel fore some time (until have see that this fix real solve the problem.)
So is here any people who have the rpm of the old kernel?
Christos
dezignguy
Obviously you can now see the (good) reasons for not uninstalling old kernels, ehh? Bet you won't make that mistake again. ;-D

Check your /boot/grub/grub.conf file and the /boot directories to make sure you really don't have any of the old kernels laying around that you can boot from.

If they for sure aren't there, then use the '--force' flag with up2date to force it to install an old kernel.

do "up2date --help" to see the flag options for up2date.
blueice
QUOTE (dezignguy)
Obviously you can now see the (good) reasons for not uninstalling old kernels, ehh? Bet you won't make that mistake again. ;-D

Check your /boot/grub/grub.conf file and the /boot directories to make sure you really don't have any of the old kernels laying around that you can boot from.

If they for sure aren't there, then use the '--force' flag with up2date to force it to install an old kernel.

do "up2date --help" to see the flag options for up2date.

Thanks for your answer.
as i write and before the problem with the up2date is other. Up2date canot understand package with the version name: (kernel-smp-2.4.21-4.0.2.EL.i686 or kernel-smp-2.4.21-4.0.2.EL or kernel-smp-2.4.21-4.0.2) but understand only this: kernel-smp, so it is not possible to downgrade via up2date.
Redhat is really stupid in this case because there is no reason for this.
I have use debian for years and the apt-get is looottttt better (but this is other thing).
I not understand also why a person canot send me the rpm. Normally many customers can have it in /var/spool/up2date.
So can i haveit and me?
Regards,
Christos
infinityws
We had an issue with it crashing everyday as well.

Get them to upgrade you to the fedora 2.6 kernel.
blueice
QUOTE (infinityws)
We had an issue with it crashing everyday as well.

Get them to upgrade you to the fedora 2.6 kernel.

You think that it is stable to upgrade the redhat enterprise to rh fedora 2.6 kernel?
What version of this kernel you use? you have make any other modifications?
How many servers you have upgrade with this?
Thanks,
Christos
infinityws
I had no choice. SM has been upgrading everyone to it. It's only on one server as all my other boxes are RH9
blueice
QUOTE (infinityws)
I had no choice. SM has been upgrading everyone to it. It's only on one server as all my other boxes are RH9

Hi, i not have here again this. So servermatrix have install this? It is stable? Can you please post the "uname -a" so i can see the version you have?
Thanks a lot.
Christos
dezignguy
QUOTE
I not understand also why a person canot send me the rpm. Normally many customers can have it in /var/spool/up2date.


Well, I don't have any rpms in that directory - just a couple rpm header files... I'm pretty sure up2date must clean it out frequently - or after a successful install. So I doubt there's going to be anyone who has the rpm laying around.

And --force apparently doesn't do everything I thought it did... so that won't work for you like I thought it would.

I spent some time digging around and discovered how to get older packages off RHN, (since I didn't know how to do it either).

It looks like you need to use up2dates's --get flag with the package name you want.

So do something like

CODE
up2date --showall | grep kernel


to get you a list of the available kernel names...

then do something like

CODE
up2date --get kernel-smp-2.4.21-4.0.2.EL.i686


to download that rpm.

From there, I think you do:

CODE
rpm -ivh kernel-smp-2.4.21-4.0.2.EL.i686.rpm


to install the kernel alongside the current one... unlike the rpm -Uvh you likely did that upgraded (and removed) the old kernel. Or maybe you did rpm -e - but whatever it doesn't really matter... except maybe now you won't be so quick to uninstall it before you're really sure you don't need it anymore.
snidley
I have the same problems as you folks... everything was great until....
blueice
QUOTE (dezignguy)
QUOTE
I not understand also why a person canot send me the rpm. Normally many customers can have it in /var/spool/up2date.


Well, I don't have any rpms in that directory - just a couple rpm header files... I'm pretty sure up2date must clean it out frequently - or after a successful install. So I doubt there's going to be anyone who has the rpm laying around.

And --force apparently doesn't do everything I thought it did... so that won't work for you like I thought it would.

I spent some time digging around and discovered how to get older packages off RHN, (since I didn't know how to do it either).

It looks like you need to use up2dates's --get flag with the package name you want.

So do something like

CODE
up2date --showall | grep kernel


to get you a list of the available kernel names...

then do something like

CODE
up2date --get kernel-smp-2.4.21-4.0.2.EL.i686


to download that rpm.

From there, I think you do:

CODE
rpm -ivh kernel-smp-2.4.21-4.0.2.EL.i686.rpm


to install the kernel alongside the current one... unlike the rpm -Uvh you likely did that upgraded (and removed) the old kernel. Or maybe you did rpm -e - but whatever it doesn't really matter... except maybe now you won't be so quick to uninstall it before you're really sure you don't need it anymore.

yea, this is working icon_smile.gif
thanks a lot.
phinsup
Lucky me, joiing the club.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.