Operating System - Linux
1756856 Members
2541 Online
108853 Solutions
New Discussion юеВ

Re: cpq_cciss-2.4.48-8.rh73.i686.rpm and DRBD

 
SOLVED
Go to solution
T.J. Yang
Frequent Advisor

cpq_cciss-2.4.48-8.rh73.i686.rpm and DRBD

Goal is to put two DL380 on H.A. with DRBD feature. but I found that the smart array
rpm on support up to 2.4.20-20 kernel while
the drbd packages I can find is 2.4.20-27 on
http://dag.wieers.com/packages/kernel-module-drbd/.

Any suggestion I can get over this road block ?
Is there drbd rpm for DL380 G3 running RH7.3 ?
or is there a cpq_cciss-2.4.48-8.rh73.i686.src.rpm ?

log of rpm -ivh cpq_cciss-2.4.48-8.rh73.i686.rpm on 2.4.20-27.7smp kernel.


tar: ./cciss-2.4.48_2003_10_18: time stamp 2003-10-18 00:19:05 is 7106305 s in t
he future
Attempting dry run first...
./install --drivers cciss --lilo --grub --initrd --noskip --dry-run
The running kernel (2.4.20-27.7smp) is not supported
by this binary RPM. Supported kernels:

2.4.18-3smp
2.4.18-3BOOT
2.4.18-3bigmem
2.4.18-3
2.4.20-20.7smp
2.4.20-20.7BOOT
2.4.20-20.7bigmem
2.4.20-20.7
error: execution of %post scriptlet from cpq_cciss-2.4.48-8 failed, exit status
3 REPLIES 3
Bill Wood_3
Respected Contributor
Solution

Re: cpq_cciss-2.4.48-8.rh73.i686.rpm and DRBD

You can install the rpm with the --noscripts option and it will place a gzipped tar ball in /opt/compaq/storage_drivers. After extraction, patch the kernel source with the files included in the patches/2.4.20-20.7 directory. Follow the order in the README.
T.J. Yang
Frequent Advisor

Re: cpq_cciss-2.4.48-8.rh73.i686.rpm and DRBD

Bill,
Thanks for the "--noscript" trick.

[root@build293 cciss-2.4.48_2003_10_18]# ./install --initrd --lilo --dry-run
The running kernel (2.4.20-27.7smp) is not supported
by this binary RPM. Supported kernels:

2.4.18-3smp
2.4.18-3BOOT
2.4.18-3bigmem
2.4.18-3
2.4.20-20.7smp
2.4.20-20.7BOOT
2.4.20-20.7bigmem
2.4.20-20.7
[root@build293 cciss-2.4.48_2003_10_18]#

So what I need to do is modified the ./install script to accept "2.4.20-27.7smp" kernel, right ?

and it is not supported but has high chance it will work just fine ?

tj
T.J. Yang
Frequent Advisor

Re: cpq_cciss-2.4.48-8.rh73.i686.rpm and DRBD

Oops, sorry, I post question without really understand Bill's answer. What I need to do is

1. apply the patches in /opt/compaq/storage_drivers/cciss-2.4.48_2003_10_18/patches/2.4.20-20.7 to my kernel source tree.
2. remake the kernel modules to get cciss.o
for my 2.4.20-27.7smp kernel.


tj