[Linux-cluster] DLM Problem

isplist at logicore.net isplist at logicore.net
Tue Feb 5 20:52:08 UTC 2008


Who was it that said it was as simple as;

>yum install iscsi-target

Whew, if only it were that simple :). So far, I'm in some sort of hell. I've 
tried all sorts of ways to get this to install, nothing has worked. 

Now I'm trying to install this on a CentOS5 machine with no luck.

First, I tried the most basic;

# yum install iscsi-target
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

# yum install iscsitarget
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

Then I downloaded several versions and have been trying various combinations. 
The closest I've gotten so far is the following.

# yum install dkms-iscsi_trgt-0.4.13-2fc5.i386.rpm 
iscsitarget-0.4.13-2fc5.i386.rpm dkms-1.09-3.at.noarch.rpm

Running Transaction
  Installing: dkms                         ######################### [1/3]
  Installing: dkms-iscsi_trgt              ######################### [2/3]

Creating symlink /var/dkms/iscsi_trgt/0.4.13/source ->
                 /usr/src/iscsi_trgt-0.4.13

DKMS: Add Completed.

Preparing kernel 2.6.18-53.1.6.el5 for module build:
(This is not compiling a kernel, only just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
Warning! Cannot find a .config file to prepare your kernel with.
Try using the --config option to specify where one can be found.
Your build will likely fail because of this.
make prepare-all....(bad exit status: 2)
make oldconfig....(bad exit status: 2)
/

Building module:
cleaning build area....
make KERNELRELEASE=2.6.18-53.1.6.el5 -C /lib/modules/2.6.18-53.1.6.el5/build 
SUBDIRS=/var/dkms/iscsi_trgt/0.4.13/build modules....(bad exit status: 2)

Error! Bad return status from module build for kernel: 2.6.18-53.1.6.el5
Consult the make.log in the build directory
/var/dkms/iscsi_trgt/0.4.13/build/ for more information.

Error! Could not locate iscsi_trgt.ko for module iscsi_trgt in the DKMS tree.
You must run a dkms build for kernel 2.6.18-53.1.6.el5 first.
  Installing: iscsitarget                  ######################### [3/3]

Installed: dkms.noarch 0:1.09-3.at dkms-iscsi_trgt.i386 0:0.4.13-2fc5 
iscsitarget.i386 0:0.4.13-2fc5
Complete!







More information about the Linux-cluster mailing list