[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] iSCSI Target Driver Install Problem



On Wed, 6 Feb 2008 07:22:32 -0000, Finnur Örn Guðmundsson - TM Software wrote:
> Do you have kernel-devel installed ?

Yes, I do. That's one of the first things I did on the machine. Is it the fact 
that I'm trying to use CentOS in this case maybe? I don't like it as much as 
RHEL but I didn't have RHEL5 on network so had a CD problem while trying to 
install it. 

---

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!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]