RE: Help with Oracle ASMLib 2.0 and Fedora 9

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

 



Hello,

 

Just a tip. Though obviously I do not know your exact FireWire setup, I ended up with Centos 5 and kernel 2.6.18-92.1.6.el5.centos.plus were firewire works perfectly especially for TCP/IP over Ether over Firewire.

 

Sincerely,

T.K.

 

 

 

From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Tina Soles
Sent: Tuesday, July 01, 2008 1:32 AM
To: linux-cluster@xxxxxxxxxx
Subject: Help with Oracle ASMLib 2.0 and Fedora 9

 

Hello,

 

I am attempting to setup an Oracle RAC using these instructions: http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi_2.html#17

 

I am running Fedora 9 with kernel = 2.6.25-14.fc9.i686

 

I realize this is probably an “unsupported” version, but it’s the only version that I could get to work with my firewire setup, so I cannot change the kernel.

ocfs2 is up and running, and now I need to install ASMLib 2.0, but it appears that there is no rpm distribution for this kernel.  Therefore, I am attempting to build my own, from the source files, oracleasm-2.0.4.tar.gz.  After unzipping and untarring, I run ../configure and it seems to run fine (see below), but when I try to run make install it bombs with an error no rule to make target `oracleasm.ko', needed by `install-oracleasm'.  Stop.

 

I don’t have any experience building rpms from source, so any explicit instructions you can give me would be much appreciated.  Also, does this source file contain everything I need in order to build the kernel driver, userspace library, and driver support files, or do I need separate source files for those?  Please forgive my ignorance, as I am new to this.

 

Thanks in advance for any help you can give me.

 

Regards,

Tina

 

# ../configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking how to run the C preprocessor... gcc -E

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking for ranlib... ranlib

checking for ar... /usr/bin/ar

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for an ANSI C-conforming const... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for unsigned long... yes

checking size of unsigned long... 4

checking for vendor... not found

checking for vendor kernel... not supported

checking for directory with kernel build tree... /lib/modules/2.6.25-14.fc9.i686/build

checking for kernel version... 2.6.25-14.fc9.i686

checking for capabilities mask in backing_dev_info... yes

checking for vfsmount in ->get_sb() helpers... yes

checking for for mutex API... yes

checking for for i_private... yes

checking for for i_blksize... no

configure: creating ../config.status

config.status: creating Config.make

config.status: creating include/linux/oracleasm/module_version.h

config.status: creating vendor/sles9/oracleasm.spec-generic

config.status: creating vendor/rhel4/oracleasm.spec-generic

config.status: creating vendor/fc6/oracleasm.spec-generic

config.status: creating vendor/sles10/oracleasm.spec-generic

config.status: creating vendor/rhel5/oracleasm.spec-generic

config.status: creating vendor/common/oracleasm-headers.spec-generic

 

# make install

make -C include install

make[1]: Entering directory `/root/rpms/source/oracleasm-2.0.4/include'

make -C linux install

make[2]: Entering directory `/root/rpms/source/oracleasm-2.0.4/include/linux'

make -C oracleasm install

make[3]: Entering directory `/root/rpms/source/oracleasm-2.0.4/include/linux/oracleasm'

/bin/sh .../../../mkinstalldirs /usr/local/include/linux/oracleasm

for hdr in abi.h abi_compat.h disk.h error.h manager.h manager_compat.h kernel.h compat32.h module_version.h; do \

          /usr/bin/install -c -m 644 $hdr /usr/local/include/linux/oracleasm/$hdr; \

        done

make[3]: Leaving directory `/root/rpms/source/oracleasm-2.0.4/include/linux/oracleasm'

make[2]: Leaving directory `/root/rpms/source/oracleasm-2.0.4/include/linux'

make[1]: Leaving directory `/root/rpms/source/oracleasm-2.0.4/include'

make -C kernel install

make[1]: Entering directory `/root/rpms/source/oracleasm-2.0.4/kernel'

make[1]: *** No rule to make target `oracleasm.ko', needed by `install-oracleasm'.  Stop.

make[1]: Leaving directory `/root/rpms/source/oracleasm-2.0.4/kernel'

make: *** [kernel-install] Error 2

 

Tina Soles

Senior Analyst

 

STR Software

 

11505 Allecingie Parkway
Richmond, VA 23235
email. tina.soles@xxxxxxxxxxxxxxx

phone. 804.897.1600
fax. 804.897.1638

web. www.strsoftware.com

 

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux