Re: LVM problem - CentOS 4.3 x86 - openvz 2.6.8-022stab072-smp [message #2588 is a reply to message #2575] |
Mon, 10 April 2006 20:46 |
miroslawgon
Messages: 16 Registered: April 2006
|
Junior Member |
|
|
There are binary modules for RHEL, Fedora and SUSE
The binary modules worked fine, the only problem is that they are
for 2.8.9-22 kernel (I sue CentOS 4.3) they won't work with other kernels lile 2.8.9-34 (version compatibility error).
You can also download source code HPT Open Source driver ( http://www.highpoint-tech.com/BIOS%20+%20Driver/rr2224/Linux /rr222x-linux-src-1.03-060328-1734.tar.gz)
On ovz kernel I can compile them, no errors during compilation, but I can't modprobe or insmod the module - version compatibility error.
The soulution is to compile ovz kernel form sources and then compile the module (modprobe works)
There is also option to patch the kernel
part of README file
############################################################ #################
3. Using the driver as a kernel patch
############################################################ #################
You must have a full kernel source tree to use the driver as a patch.
To patch a kernel source tree, run the command
# cd rr222x-linux-src-1.xx/product/rr2220/linux/
# make patchkernel KERNELDIR=<kernel-source-dir>
For an unconfigured 2.6 kernel source tree, include/linux/version.h may
not exist so you should add "KERNEL_VER=2.6" to the command:
# make patchkernel KERNELDIR=<kernel-source-dir> KERNEL_VER=2.6
Then you can configure the driver into kernel during the kernel
configuration process (e.g. "make menuconfig"). It is listed under
scsi low level drivers.
Below is an example to make and install a kernel with the driver built-in:
# cd /usr/src/linux-2.6.11
# make menuconfig
Select "Device Drivers --->" and press enter.
Select "SCSI device support", then press 'Y' to make it built-in.
Select "SCSI disk support" then press 'Y' to make it build-in.
Select "SCSI low-level drivers --->" and press enter.
Select "HighPoint RocketRAID 2220 support" and press 'Y'.
Exit and save the kernel configuration.
# make
# make modules_install
# make install
Then you can reboot from the new kernel.
----------------------------------------------
Kernel (ovz) compiled without errors, but after reboot, during system boot kernel crashed, it wasn't kernel panic, it looked like assemble registry dump or something like that (I an not sure). The same kernel without hpt patch works fine.
Now my system is running ovz kernel + hpt raid module. I'm just waiting for official release of 075 kernel to solve LVM problem.
Link to the product page:
http://www.highpoint-tech.com/USA/bios_rr2220.htm
|
|
|