Operating System - Linux
1752785 Members
6142 Online
108789 Solutions
New Discussion юеВ

linux PSP rpm installation problem

 
SOLVED
Go to solution
Paolo Gilli
Frequent Advisor

linux PSP rpm installation problem

I'm installing PSP791 on a proliant DL380G4 with linux RH 4 (kernel 2.6.9-22.0.2.ELsmp)
The installation of cpq_cciss-2.6.18-5.rhel4.i686.rpm fail cause this error:
rpm -Uvh cpq_cciss-2.6.18-5.rhel4.i686.rpm
Preparing... ########################################### [100%]
The currently running kernel (2.6.9-22.0.2.ELsmp) is not
supported by this rpm. The supported kernels are:

2.6.9-11.EL
2.6.9-11.ELhugemem
2.6.9-11.ELsmp
2.6.9-22.EL
2.6.9-22.ELhugemem
2.6.9-22.ELsmp
2.6.9-34.EL
2.6.9-34.ELhugemem
2.6.9-34.ELsmp
2.6.9-42.0.3.EL
2.6.9-42.0.3.ELhugemem
2.6.9-42.0.3.ELsmp
2.6.9-42.EL
2.6.9-42.ELhugemem
2.6.9-42.ELsmp
2.6.9-5.0.3.EL
2.6.9-5.0.3.ELhugemem
2.6.9-5.0.3.ELsmp
2.6.9-55.EL
2.6.9-55.ELhugemem
2.6.9-55.ELsmp
2.6.9-5.EL
2.6.9-5.ELhugemem
2.6.9-5.ELsmp

Please boot into a supported kernel before installing this rpm
error: %pre(cpq_cciss-2.6.18-5.i686) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping cpq_cciss-2.6.18-5

I have Kernel 2.6.9-22.0.2.ELsmp and rpm says that supported kernel is 2.6.9-22.ELsmp.
I think this is not a problem so, what do you think if I run the installation with the "--nopre" option?
rpm -ivh --nopre cpq_cciss-2.6.18-5.rhel4.i686.rpm

Any other suggestions?
Thankyou
Paolo
4 REPLIES 4
Ivan Ferreira
Honored Contributor
Solution

Re: linux PSP rpm installation problem

What I would do is to install the kernel source for your current kernel, edit the MAKEFILE, and change the EXTRAVERSION to match the version needed by PSP, and using the /boot/config- file to "run make oldconfig".

After your kernel compilation and installation, you will have your current kernel, and PSP will be happy to install on it.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Colin Topliss
Esteemed Contributor

Re: linux PSP rpm installation problem

The G4 is a 64 bit machine - yet you are trying to install the 32 bit version of cpq_cciss?

That's OK as long as you've also installed the 32 bit version of RedHat.... if you haven't, then things might not be where you might expect.

Colin.
Paolo Gilli
Frequent Advisor

Re: linux PSP rpm installation problem

Hi,
Ivan, I rebooted the server with 2.6.9-22.ELsmp kernel, the compilation of rpm was good but it modified the grub file cause the system boot with kernel 2.6.9-22.ELsmp by default instead of 2.6.9-22.0.2.ELsmp.
I modified the grub file to start with 2.6.9-22.0.2.ELsmp again but now I don't know if now the system is in stable and good condition. This system will be production server and I dont want have bad surprise.

Colin, on the server is installed the 32 bit version of RedHat, 64 is not certified (supported)
https://hardware.redhat.com/show.cgi?id=148889

regards
Paolo
Ivan Ferreira
Honored Contributor

Re: linux PSP rpm installation problem

>>> I modified the grub file to start with 2.6.9-22.0.2.ELsmp again but now I don't know if now the system is in stable and good condition. This system will be production server and I dont want have bad surprise.

By default, when you install a kernel rpm, the system will boot the old kernel unless you modify the grub file. So, your procedure was correct. Now, to identify if the system is "stable", the system up with the new kernel is a good advance. Now, you should stress test your system using a load generator tool.

The tool to be used depends of the service that will provide your server, for example, for database services, you could use hammerora, for web service, you have a lot of stress tools.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?