ASMLib Source Build RHEL6

Overview

This guide is for building Oracle ASMLib from source. However, you can get the package kmod-oracleasm from Oracle's Public Yum Server which provides the ASMLib kernel driver for RHEL6. The best way to get ASMLib if you are planning to use it in PRODUCTION is to use kmod-oracleasm from the repo or alternatively to use Oracle Linux UEK kernel, which comes with ASMLib. Just in case for some reason you want to build ASMLib from source, this guide is here to help.

If you want to install kmod-oracleasm, here are the steps for that.

Steps to Install kmod-oracleasm package from Oracle Public Yum

Get the Oracle Public Yum repo file if you don't already have it as shown below.

[root@localhost yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo

--2016-07-22 18:53:42-- http://public-yum.oracle.com/public-yum-ol6.repo

Resolving public-yum.oracle.com... 23.10.240.139, 23.10.240.146

Connecting to public-yum.oracle.com|23.10.240.139|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 7303 (7.1K) [text/plain]

Saving to: “public-yum-ol6.repo”

100%[===============================================================================================================================>] 7,303 --.-K/s in 0.003s

2016-07-22 18:53:48 (2.28 MB/s) - “public-yum-ol6.repo” saved [7303/7303]

Check to be sure it was downloaded successfully as shown below.

[root@localhost yum.repos.d]# ls -lrt

total 12

-rw-r--r-- 1 root root 7303 May 31 14:58 public-yum-ol6.repo

-rw-r--r-- 1 root root 109 Jul 22 18:41 packagekit-media.repo

Edit the public-yum-ol6.repo file and change the line to read "enabled=1" for the "ol6_uX_base" repo, which in this case since this is OL 6.8, X=8.

[root@localhost yum.repos.d]# vi public-yum-ol6.repo

Now run yum update command as shown below.

[root@localhost yum.repos.d]# yum update

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Update Process

ol6_UEK_latest | 1.2 kB 00:00

ol6_UEK_latest/primary | 27 MB 00:13

ol6_UEK_latest 568/568

ol6_latest | 1.4 kB 00:00

ol6_latest/primary | 59 MB 00:26

ol6_latest 36219/36219

ol6_u8_base | 1.4 kB 00:00

ol6_u8_base/primary | 3.4 MB 00:01

ol6_u8_base 8962/8962

No Packages marked for Update

[root@localhost yum.repos.d]#

Install kmod-oracleasm as shown below.

[root@localhost yum.repos.d]# yum install kmod_oracleasm

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

No package kmod_oracleasm available.

Error: Nothing to do

[root@localhost yum.repos.d]#

[root@localhost yum.repos.d]# yum install kmod-oracleasm

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package kmod-oracleasm.x86_64 0:2.0.8-13.0.1.el6_8 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================

Package Arch Version Repository Size

=========================================================================================================================================================================

Installing:

kmod-oracleasm x86_64 2.0.8-13.0.1.el6_8 ol6_latest 35 k

Transaction Summary

=========================================================================================================================================================================

Install 1 Package(s)

Total download size: 35 k

Installed size: 117 k

Is this ok [y/N]: y

Downloading Packages:

kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64.rpm | 35 kB 00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64 1/1

WARNING: Can't read module /lib/modules/2.6.32-642.3.1.el6.x86_64/weak-updates/oracleasm.ko: No such file or directory

egrep: /lib/modules/2.6.32-642.3.1.el6.x86_64//weak-updates/oracleasm.ko: No such file or directory

Verifying : kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64 1/1

Installed:

kmod-oracleasm.x86_64 0:2.0.8-13.0.1.el6_8

Complete!

[root@localhost yum.repos.d]#

Note that actually kmod-oracleasm is not supported by either Oracle or RedHat (and RedHat provides kmod-oracleasm). There is a link here at RedHat that discusses this briefly. However, if you want to build ASMLib from source for whatever reason, here's how to build ASMLib for RHEL6 from that source code at the Oracle git repo.

Steps to Build ASMLib from Source on RHEL6

Update the Redhat Linux Distribution as shown below. The lengthy output of this command is not shown for brevity.

yum update

On RHEL6 the package "git" should already be installed. The package "autoconf" should be installed already also. If not, you can install it from the Oracle Public Yum repository. The output of this command is not shown.

yum install git autoconf rpm-build

Install the oracleasm github:

[root@localhost ~]# git clone git://oss.oracle.com/git/oracleasm.git oracleasm

Initialized empty Git repository in /root/oracleasm/.git/

remote: Counting objects: 2983, done.

remote: Compressing objects: 100% (1048/1048), done.

remote: Total 2983 (delta 1912), reused 2916 (delta 1846)

Receiving objects: 100% (2983/2983), 683.40 KiB | 329 KiB/s, done.

Resolving deltas: 100% (1912/1912), done.

[root@localhost ~]#

Install the headers for the kernel if not already installed.

If kernel-devel and kernel-headers are already installed (which they should be if 'yum update' was run) then the output will look like that shown below.

[root@oracle67 ~]# yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r)

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

Package kernel-devel-2.6.32-642.3.1.el6.x86_64 already installed and latest version

Package kernel-headers-2.6.32-642.3.1.el6.x86_64 already installed and latest version

Nothing to do

[root@oracle67 ~]#

If kernel devel and kernel headers are not installed, then the output will look similar to that shown below.

[root@localhost oracleasm]# yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r)

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package kernel-devel.x86_64 0:2.6.32-642.3.1.el6 will be installed

---> Package kernel-headers.x86_64 0:2.6.32-642.el6 will be updated

---> Package kernel-headers.x86_64 0:2.6.32-642.3.1.el6 will be an update

--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================

Package Arch Version Repository Size

=========================================================================================================================================================================

Installing:

kernel-devel x86_64 2.6.32-642.3.1.el6 public_ol6_latest 11 M

Updating:

kernel-headers x86_64 2.6.32-642.3.1.el6 public_ol6_latest 4.4 M

Transaction Summary

=========================================================================================================================================================================

Install 1 Package(s)

Upgrade 1 Package(s)

Total download size: 15 M

Is this ok [y/N]: y

Downloading Packages:

(1/2): kernel-devel-2.6.32-642.3.1.el6.x86_64.rpm | 11 MB 00:05

(2/2): kernel-headers-2.6.32-642.3.1.el6.x86_64.rpm | 4.4 MB 00:02

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total 1.8 MB/s | 15 MB 00:08

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

Importing GPG key 0xEC551F03:

Userid : Oracle OSS group (Open Source Software group) <build@oss.oracle.com>

Package: 6:oraclelinux-release-6Server-8.0.3.x86_64 (@anaconda-OracleLinuxServer-201605181719.x86_64/6.8)

From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

Is this ok [y/N]: y

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : kernel-devel-2.6.32-642.3.1.el6.x86_64 1/3

Updating : kernel-headers-2.6.32-642.3.1.el6.x86_64 2/3

Cleanup : kernel-headers-2.6.32-642.el6.x86_64 3/3

Verifying : kernel-headers-2.6.32-642.3.1.el6.x86_64 1/3

Verifying : kernel-devel-2.6.32-642.3.1.el6.x86_64 2/3

Verifying : kernel-headers-2.6.32-642.el6.x86_64 3/3

Installed:

kernel-devel.x86_64 0:2.6.32-642.3.1.el6

Updated:

kernel-headers.x86_64 0:2.6.32-642.3.1.el6

Complete!

[root@localhost oracleasm]#

Next gather information about your running kernel.

[root@oracle67 ~]# uname -a

Linux oracle67 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 09:47:55 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@oracle67 ~]#

IMPORTANT NOTE: The kernel version as shown by 'uname -a' and the versions of 'kernel-headers' and 'kernel-devel' installed MUST MATCH EXACTLY otherwise you will run into Build and Kernel mismatch issues later in this guide. If 'yum update' was run at the beginning as instructed, and the OS was rebooted into the fully-updated kernel, then these versions SHOULD MATCH EXACTLY as shown below. If they do not match it is necessary to address that now and go back and perform necessary updates so that the 'kernel-devel' and kernel-headers' versions match the kernel version exactly. Below is shown how these match currently exactly for this example.

Use yum to remove any 'kernel-devel' or 'kernel-headers' packages that do not match the running kernel. Then ensure that the versions of 'kernel-headers' and kernel-devel' match EXACTLY the currently installed and running kernel as shown belw.

[root@oracle67 oracleasm]#

[root@oracle67 ~]# rpm -qa | egrep 'kernel-devel|kernel-headers'

kernel-devel-2.6.32-642.3.1.el6.x86_64

kernel-devel-2.6.32-573.el6.x86_64 <-- Note see how this kernel version does not match! Remove this package!

kernel-headers-2.6.32-642.3.1.el6.x86_64

[root@oracle67 ~]# yum remove kernel-devel-2.6.32-573.el6

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Remove Process

Resolving Dependencies

--> Running transaction check

---> Package kernel-devel.x86_64 0:2.6.32-573.el6 will be erased

--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================

Package Arch Version Repository Size

=========================================================================================================================================================================

Removing:

kernel-devel x86_64 2.6.32-573.el6 @anaconda-OracleLinuxServer-201507280245.x86_64/6.7 25 M

Transaction Summary

=========================================================================================================================================================================

Remove 1 Package(s)

Installed size: 25 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Erasing : kernel-devel-2.6.32-573.el6.x86_64 1/1

Verifying : kernel-devel-2.6.32-573.el6.x86_64 1/1

Removed:

kernel-devel.x86_64 0:2.6.32-573.el6

Complete!

[root@oracle67 ~]#

[root@oracle67 ~]# rpm -qa | egrep 'kernel-devel|kernel-headers' | cut -f3-10 -d'-' <-- The output from this command should match the 'uname -r' output EXACTLY!

2.6.32-642.3.1.el6.x86_64

2.6.32-642.3.1.el6.x86_64

[root@oracle67 ~]# uname -r

2.6.32-642.3.1.el6.x86_64

[root@oracle67 ~]#

Change directory to oracleasm and run the "autoconf" command with no arguments (it processes the configure.in script automatically). This command will generate the 'configure' file. Note how the configure script is created as a result of running autoconf (last file at bottom of listing, which has just been created by autoconf).

[root@localhost oracleasm]# autoconf

[root@localhost oracleasm]# ls -lrt

total 448

-rw-r--r--. 1 root root 228 Jul 20 20:53 Vendor.make

-rw-r--r--. 1 root root 1 Jul 20 20:53 TODO

-rw-r--r--. 1 root root 1139 Jul 20 20:53 README.bugs

-rw-r--r--. 1 root root 760 Jul 20 20:53 README

-rw-r--r--. 1 root root 871 Jul 20 20:53 Preamble.make

-rw-r--r--. 1 root root 5334 Jul 20 20:53 Postamble.make

-rw-r--r--. 1 root root 1705 Jul 20 20:53 Makefile

-rw-r--r--. 1 root root 25283 Jul 20 20:53 COPYING.LGPL

-rw-r--r--. 1 root root 17992 Jul 20 20:53 COPYING.GPL

-rw-r--r--. 1 root root 12128 Jul 20 20:53 configure.in

-rwxr-xr-x. 1 root root 31467 Jul 20 20:53 config.sub

-rw-r--r--. 1 root root 1288 Jul 20 20:53 Config.make.in

-rwxr-xr-x. 1 root root 43458 Jul 20 20:53 config.guess

-rw-r--r--. 1 root root 27704 Jul 20 20:53 ChangeLog

-rwxr-xr-x. 1 root root 66 Jul 20 20:53 autogen.sh

-rw-r--r--. 1 root root 74 Jul 20 20:53 aclocal.m4

drwxr-xr-x. 3 root root 4096 Jul 20 20:53 include

drwxr-xr-x. 2 root root 4096 Jul 20 20:53 documents

drwxr-xr-x. 3 root root 4096 Jul 20 20:53 kapi-compat

-rwxr-xr-x. 1 root root 6376 Jul 20 20:53 install-sh

-rwxr-xr-x. 1 root root 551 Jul 20 20:53 vendor.guess

-rwxr-xr-x. 1 root root 4328 Jul 20 20:53 svnrev.guess

-rwxr-xr-x. 1 root root 1801 Jul 20 20:53 mkinstalldirs

-rw-r--r--. 1 root root 2390 Jul 20 20:53 mbvendor.m4

-rw-r--r--. 1 root root 2698 Jul 20 20:53 kver.m4

-rw-r--r--. 1 root root 1590 Jul 20 20:53 kfeature.m4

drwxr-xr-x. 2 root root 4096 Jul 20 20:53 kernel

drwxr-xr-x. 13 root root 4096 Jul 20 20:53 vendor

drwxr-xr-x. 2 root root 4096 Jul 20 21:08 autom4te.cache

-rwxr-xr-x. 1 root root 184162 Jul 20 21:09 configure

[root@localhost oracleasm]#

Now take the numeric info about the kernel and use it to construct the syntax for the "configure" command as shown below.

[root@oracle67 oracleasm]# ./configure --with-kernel=/usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-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 ISO C89... 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 grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/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 size of unsigned long... 8

checking for vendor... rhel6

checking for vendor kernel... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for directory with kernel build tree... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel version... 2.6.32-642.3.1.el6.x86_64

checking for kernel arch... x86_64

checking for directory with kernel sources... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel source version... 2.6.32-642.3.1.el6.x86_64

checking for kernel include directory... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64/include

checking for capabilities mask in backing_dev_info... yes

checking for mount_bdev / mount_pseudo in fs.h... no

checking for dentry ops in mount_pseudo in fs.h... no

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

checking for for mutex API... yes

checking for for i_private... yes

checking for for clear_inode... yes

checking for for i_blksize... no

checking for for three argument bio_end_io... no

checking for for gfp argument to bio_map_user... yes

checking for struct kmem_cache_s... no

checking for kmem_cache_create() with dtor arg in slab.h... no

checking for bd_claim... yes

checking for for three argument blkdev_get... no

checking for for two argument blkdev_put... yes

checking for for old block limits... no

checking for for old block segments... no

checking for for simple_sync_file... yes

checking for SLAB_CTOR_VERIFY in slab.h... no

checking for three argument ctor in slab.h... no

checking for two argument ctor in slab.h... no

checking for current_fs?id() in cred.h... yes

checking for blk_run_address_space in blkdev.h... yes

checking for GLOBAL_ROOT_?ID in linux/uidgid.h... no

checking for block layer data integrity... yes

checking for BIO_MAPPED_INTEGRITY... yes

checking whether data integrity extensions can be enabled... yes

configure: creating ./config.status

config.status: creating Config.make

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

[root@oracle67 oracleasm]#

Note that the 'make' command has the structure argument included of the form "<vendor><release>_<kernel-version>.<architecture>_rpm" where

<vendor> = rhel

<release> = 6

<kernel-version> = 2.6.32-642.3.1.el6

<architecture> = x86_64

Now run the "make" command as shown below. There should be an 'exit 0' at the end of the output if the make was completely successful. For example, in this case, the values are plugged in and run as shown below.

[root@oracle67 oracleasm]# make PKG_VERSION=1 rhel6_2.6.32-642.3.1.el6.x86_64_rpm

rm -rf ./oracleasm-2.0.8

./mkinstalldirs ./oracleasm-2.0.8

mkdir -p -- ./oracleasm-2.0.8

/bin/sh ./mkinstalldirs ./oracleasm-2.0.8/.

./mkinstalldirs ./oracleasm-2.0.8/./kapi-compat/include

mkdir -p -- ./oracleasm-2.0.8/./kapi-compat/include

cp -p Makefile ./oracleasm-2.0.8/./Makefile

cp -p COPYING.GPL ./oracleasm-2.0.8/./COPYING.GPL

cp -p COPYING.LGPL ./oracleasm-2.0.8/./COPYING.LGPL

cp -p README ./oracleasm-2.0.8/./README

cp -p Config.make.in ./oracleasm-2.0.8/./Config.make.in

cp -p Preamble.make ./oracleasm-2.0.8/./Preamble.make

cp -p Postamble.make ./oracleasm-2.0.8/./Postamble.make

cp -p aclocal.m4 ./oracleasm-2.0.8/./aclocal.m4

cp -p kfeature.m4 ./oracleasm-2.0.8/./kfeature.m4

cp -p mbvendor.m4 ./oracleasm-2.0.8/./mbvendor.m4

cp -p config.guess ./oracleasm-2.0.8/./config.guess

cp -p config.sub ./oracleasm-2.0.8/./config.sub

cp -p configure ./oracleasm-2.0.8/./configure

cp -p configure.in ./oracleasm-2.0.8/./configure.in

cp -p install-sh ./oracleasm-2.0.8/./install-sh

cp -p mkinstalldirs ./oracleasm-2.0.8/./mkinstalldirs

cp -p svnrev.guess ./oracleasm-2.0.8/./svnrev.guess

cp -p Vendor.make ./oracleasm-2.0.8/./Vendor.make

cp -p vendor.guess ./oracleasm-2.0.8/./vendor.guess

cp -p kapi-compat/include/bio_end_io.h ./oracleasm-2.0.8/./kapi-compat/include/bio_end_io.h

cp -p kapi-compat/include/bio_map_user.h ./oracleasm-2.0.8/./kapi-compat/include/bio_map_user.h

cp -p kapi-compat/include/blk_limits.h ./oracleasm-2.0.8/./kapi-compat/include/blk_limits.h

cp -p kapi-compat/include/blk_segments.h ./oracleasm-2.0.8/./kapi-compat/include/blk_segments.h

cp -p kapi-compat/include/blkdev_get_put.h ./oracleasm-2.0.8/./kapi-compat/include/blkdev_get_put.h

cp -p kapi-compat/include/blk_run_address_space.h ./oracleasm-2.0.8/./kapi-compat/include/blk_run_address_space.h

cp -p kapi-compat/include/clear_inode.h ./oracleasm-2.0.8/./kapi-compat/include/clear_inode.h

cp -p kapi-compat/include/current_creds.h ./oracleasm-2.0.8/./kapi-compat/include/current_creds.h

cp -p kapi-compat/include/i_blksize.h ./oracleasm-2.0.8/./kapi-compat/include/i_blksize.h

cp -p kapi-compat/include/i_mutex.h ./oracleasm-2.0.8/./kapi-compat/include/i_mutex.h

cp -p kapi-compat/include/i_private.h ./oracleasm-2.0.8/./kapi-compat/include/i_private.h

cp -p kapi-compat/include/kmem_cache_create.h ./oracleasm-2.0.8/./kapi-compat/include/kmem_cache_create.h

cp -p kapi-compat/include/kmem_cache_s.h ./oracleasm-2.0.8/./kapi-compat/include/kmem_cache_s.h

cp -p kapi-compat/include/simple_sync_file.h ./oracleasm-2.0.8/./kapi-compat/include/simple_sync_file.h

cp -p kapi-compat/include/slab_ctor_three_arg.h ./oracleasm-2.0.8/./kapi-compat/include/slab_ctor_three_arg.h

cp -p kapi-compat/include/slab_ctor_two_arg.h ./oracleasm-2.0.8/./kapi-compat/include/slab_ctor_two_arg.h

cp -p kapi-compat/include/slab_ctor_verify.h ./oracleasm-2.0.8/./kapi-compat/include/slab_ctor_verify.h

cp -p kapi-compat/include/uidgid.h ./oracleasm-2.0.8/./kapi-compat/include/uidgid.h

make -C include dist-all \

DIST_CURDIR=./include

make[1]: Entering directory `/root/oracleasm/include'

/bin/sh ../mkinstalldirs ../oracleasm-2.0.8/./include

mkdir -p -- ../oracleasm-2.0.8/./include

cp -p Makefile ../oracleasm-2.0.8/./include/Makefile

make -C linux dist-all \

DIST_CURDIR=./include/linux

make[2]: Entering directory `/root/oracleasm/include/linux'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./include/linux

mkdir -p -- ../../oracleasm-2.0.8/./include/linux

cp -p Makefile ../../oracleasm-2.0.8/./include/linux/Makefile

make -C oracleasm dist-all \

DIST_CURDIR=./include/linux/oracleasm

make[3]: Entering directory `/root/oracleasm/include/linux/oracleasm'

/bin/sh ../../../mkinstalldirs ../../../oracleasm-2.0.8/./include/linux/oracleasm

mkdir -p -- ../../../oracleasm-2.0.8/./include/linux/oracleasm

cp -p Makefile ../../../oracleasm-2.0.8/./include/linux/oracleasm/Makefile

cp -p abi.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/abi.h

cp -p abi_compat.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/abi_compat.h

cp -p disk.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/disk.h

cp -p error.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/error.h

cp -p manager.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/manager.h

cp -p manager_compat.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/manager_compat.h

cp -p kernel.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/kernel.h

cp -p compat32.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/compat32.h

cp -p module_version.h ../../../oracleasm-2.0.8/./include/linux/oracleasm/module_version.h

cp -p module_version.h.in ../../../oracleasm-2.0.8/./include/linux/oracleasm/module_version.h.in

make[3]: Leaving directory `/root/oracleasm/include/linux/oracleasm'

make[2]: Leaving directory `/root/oracleasm/include/linux'

make[1]: Leaving directory `/root/oracleasm/include'

make -C kernel dist-all \

DIST_CURDIR=./kernel

make[1]: Entering directory `/root/oracleasm/kernel'

/bin/sh ../mkinstalldirs ../oracleasm-2.0.8/./kernel

mkdir -p -- ../oracleasm-2.0.8/./kernel

cp -p Makefile ../oracleasm-2.0.8/./kernel/Makefile

cp -p driver.c ../oracleasm-2.0.8/./kernel/driver.c

cp -p transaction_file.c ../oracleasm-2.0.8/./kernel/transaction_file.c

cp -p proc.c ../oracleasm-2.0.8/./kernel/proc.c

cp -p masklog.c ../oracleasm-2.0.8/./kernel/masklog.c

cp -p transaction_file.h ../oracleasm-2.0.8/./kernel/transaction_file.h

cp -p proc.h ../oracleasm-2.0.8/./kernel/proc.h

cp -p masklog.h ../oracleasm-2.0.8/./kernel/masklog.h

cp -p compat.h ../oracleasm-2.0.8/./kernel/compat.h

cp -p integrity.h ../oracleasm-2.0.8/./kernel/integrity.h

cp -p request.h ../oracleasm-2.0.8/./kernel/request.h

cp -p integrity.c ../oracleasm-2.0.8/./kernel/integrity.c

make[1]: Leaving directory `/root/oracleasm/kernel'

make -C documents dist-all \

DIST_CURDIR=./documents

make[1]: Entering directory `/root/oracleasm/documents'

/bin/sh ../mkinstalldirs ../oracleasm-2.0.8/./documents

mkdir -p -- ../oracleasm-2.0.8/./documents

cp -p Makefile ../oracleasm-2.0.8/./documents/Makefile

cp -p asm-install.txt ../oracleasm-2.0.8/./documents/asm-install.txt

make[1]: Leaving directory `/root/oracleasm/documents'

make -C vendor dist-all \

DIST_CURDIR=./vendor

make[1]: Entering directory `/root/oracleasm/vendor'

/bin/sh ../mkinstalldirs ../oracleasm-2.0.8/./vendor

mkdir -p -- ../oracleasm-2.0.8/./vendor

cp -p Makefile ../oracleasm-2.0.8/./vendor/Makefile

make -C common dist-all \

DIST_CURDIR=./vendor/common

make[2]: Entering directory `/root/oracleasm/vendor/common'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/common

mkdir -p -- ../../oracleasm-2.0.8/./vendor/common

cp -p Makefile ../../oracleasm-2.0.8/./vendor/common/Makefile

cp -p binrpm.spec-generic ../../oracleasm-2.0.8/./vendor/common/binrpm.spec-generic

cp -p oracleasm-headers.spec-generic ../../oracleasm-2.0.8/./vendor/common/oracleasm-headers.spec-generic

cp -p gmsl ../../oracleasm-2.0.8/./vendor/common/gmsl

cp -p __gmsl ../../oracleasm-2.0.8/./vendor/common/__gmsl

cp -p subst.make ../../oracleasm-2.0.8/./vendor/common/subst.make

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/common/Vendor.make

make[2]: Leaving directory `/root/oracleasm/vendor/common'

make -C rhel6 dist-all \

DIST_CURDIR=./vendor/rhel6

make[2]: Entering directory `/root/oracleasm/vendor/rhel6'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/rhel6

mkdir -p -- ../../oracleasm-2.0.8/./vendor/rhel6

cp -p Makefile ../../oracleasm-2.0.8/./vendor/rhel6/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/rhel6/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/rhel6/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/rhel6/rpmarch.guess

cp -p rpmdist.guess ../../oracleasm-2.0.8/./vendor/rhel6/rpmdist.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/rhel6/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/rhel6/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/rhel6'

make -C fedora dist-all \

DIST_CURDIR=./vendor/fedora

make[2]: Entering directory `/root/oracleasm/vendor/fedora'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/fedora

mkdir -p -- ../../oracleasm-2.0.8/./vendor/fedora

cp -p Makefile ../../oracleasm-2.0.8/./vendor/fedora/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/fedora/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/fedora/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/fedora/rpmarch.guess

cp -p rpmdist.guess ../../oracleasm-2.0.8/./vendor/fedora/rpmdist.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/fedora/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/fedora/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/fedora'

make -C rhel5 dist-all \

DIST_CURDIR=./vendor/rhel5

make[2]: Entering directory `/root/oracleasm/vendor/rhel5'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/rhel5

mkdir -p -- ../../oracleasm-2.0.8/./vendor/rhel5

cp -p Makefile ../../oracleasm-2.0.8/./vendor/rhel5/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/rhel5/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/rhel5/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/rhel5/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/rhel5/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/rhel5/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/rhel5'

make -C sles11 dist-all \

DIST_CURDIR=./vendor/sles11

make[2]: Entering directory `/root/oracleasm/vendor/sles11'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/sles11

mkdir -p -- ../../oracleasm-2.0.8/./vendor/sles11

cp -p Makefile ../../oracleasm-2.0.8/./vendor/sles11/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/sles11/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/sles11/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/sles11/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/sles11/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/sles11/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/sles11'

make -C sles10 dist-all \

DIST_CURDIR=./vendor/sles10

make[2]: Entering directory `/root/oracleasm/vendor/sles10'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/sles10

mkdir -p -- ../../oracleasm-2.0.8/./vendor/sles10

cp -p Makefile ../../oracleasm-2.0.8/./vendor/sles10/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/sles10/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/sles10/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/sles10/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/sles10/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/sles10/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/sles10'

make -C rhel4 dist-all \

DIST_CURDIR=./vendor/rhel4

make[2]: Entering directory `/root/oracleasm/vendor/rhel4'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/rhel4

mkdir -p -- ../../oracleasm-2.0.8/./vendor/rhel4

cp -p Makefile ../../oracleasm-2.0.8/./vendor/rhel4/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/rhel4/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/rhel4/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/rhel4/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/rhel4/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/rhel4/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/rhel4'

make -C sles9 dist-all \

DIST_CURDIR=./vendor/sles9

make[2]: Entering directory `/root/oracleasm/vendor/sles9'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/sles9

mkdir -p -- ../../oracleasm-2.0.8/./vendor/sles9

cp -p Makefile ../../oracleasm-2.0.8/./vendor/sles9/Makefile

cp -p oracleasm.spec-generic ../../oracleasm-2.0.8/./vendor/sles9/oracleasm.spec-generic

cp -p kernel.guess ../../oracleasm-2.0.8/./vendor/sles9/kernel.guess

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/sles9/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/sles9/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/sles9/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/sles9'

make -C rhel3 dist-all \

DIST_CURDIR=./vendor/rhel3

make[2]: Entering directory `/root/oracleasm/vendor/rhel3'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/rhel3

mkdir -p -- ../../oracleasm-2.0.8/./vendor/rhel3

cp -p Makefile ../../oracleasm-2.0.8/./vendor/rhel3/Makefile

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/rhel3/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/rhel3/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/rhel3/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/rhel3'

make -C sles8 dist-all \

DIST_CURDIR=./vendor/sles8

make[2]: Entering directory `/root/oracleasm/vendor/sles8'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/sles8

mkdir -p -- ../../oracleasm-2.0.8/./vendor/sles8

cp -p Makefile ../../oracleasm-2.0.8/./vendor/sles8/Makefile

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/sles8/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/sles8/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/sles8/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/sles8'

make -C rhas21 dist-all \

DIST_CURDIR=./vendor/rhas21

make[2]: Entering directory `/root/oracleasm/vendor/rhas21'

/bin/sh ../../mkinstalldirs ../../oracleasm-2.0.8/./vendor/rhas21

mkdir -p -- ../../oracleasm-2.0.8/./vendor/rhas21

cp -p Makefile ../../oracleasm-2.0.8/./vendor/rhas21/Makefile

cp -p rpmarch.guess ../../oracleasm-2.0.8/./vendor/rhas21/rpmarch.guess

cp -p Vendor.make ../../oracleasm-2.0.8/./vendor/rhas21/Vendor.make

cp -p vendor.guess ../../oracleasm-2.0.8/./vendor/rhas21/vendor.guess

make[2]: Leaving directory `/root/oracleasm/vendor/rhas21'

make[1]: Leaving directory `/root/oracleasm/vendor'

GZIP=--best tar chozf ./oracleasm-2.0.8.tar.gz ./oracleasm-2.0.8

make dist-bye

make[1]: Entering directory `/root/oracleasm'

rm -rf ./oracleasm-2.0.8

make[1]: Leaving directory `/root/oracleasm'

sed -e s/@@PKG_VERSION@@/1/ -e s/@@DIST_VERSION@@/2.0.8/ -e s/@@VENDOR_EXTENSION@@/el6/ -e s/@@INCLUDE_REQUIRES@@/glibc-kernheaders/ -e s/@@KERNEL_VERSION@@/2.6.32-642.3.1.el6.x86_64/ -e s/@@KERNEL_REQUIRES@@// -e s/@@LARGESMP@@// -e s/@@XEN@@// -e s/@@DEBUG@@// < vendor/rhel6/oracleasm.spec-generic > vendor/rhel6/oracleasm-2.6.32-642.3.1.el6.x86_64.spec

rpmbuild -bs --define "_sourcedir ." --define "_srcrpmdir ." \

./vendor/rhel6/oracleasm-2.6.32-642.3.1.el6.x86_64.spec

warning: Could not canonicalize hostname: oracle67

Wrote: ./oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

rpmbuild --rebuild \

"oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm"

Installing oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bmqm64

+ umask 022

+ cd /root/rpmbuild/BUILD

+ LANG=C

+ export LANG

+ unset DISPLAY

+ cd /root/rpmbuild/BUILD

+ rm -rf oracleasm-2.0.8

+ /bin/tar -xvvf -

+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/oracleasm-2.0.8.tar.gz

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/

-rw-r--r-- 0/0 74 2016-07-22 11:13 ./oracleasm-2.0.8/aclocal.m4

-rw-r--r-- 0/0 228 2016-07-22 11:13 ./oracleasm-2.0.8/Vendor.make

-rw-r--r-- 0/0 1590 2016-07-22 11:13 ./oracleasm-2.0.8/kfeature.m4

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/documents/

-rw-r--r-- 0/0 381 2016-07-22 11:13 ./oracleasm-2.0.8/documents/Makefile

-rw-r--r-- 0/0 6512 2016-07-22 11:13 ./oracleasm-2.0.8/documents/asm-install.txt

-rw-r--r-- 0/0 12128 2016-07-22 11:13 ./oracleasm-2.0.8/configure.in

-rw-r--r-- 0/0 760 2016-07-22 11:13 ./oracleasm-2.0.8/README

-rw-r--r-- 0/0 871 2016-07-22 11:13 ./oracleasm-2.0.8/Preamble.make

-rw-r--r-- 0/0 1705 2016-07-22 11:13 ./oracleasm-2.0.8/Makefile

-rwxr-xr-x 0/0 184162 2016-07-22 12:04 ./oracleasm-2.0.8/configure

-rw-r--r-- 0/0 5334 2016-07-22 11:13 ./oracleasm-2.0.8/Postamble.make

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/

-rw-r--r-- 0/0 322 2016-07-22 11:13 ./oracleasm-2.0.8/include/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/linux/

-rw-r--r-- 0/0 329 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/linux/oracleasm/

-rw-r--r-- 0/0 982 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/module_version.h.in

-rw-r--r-- 0/0 550 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/Makefile

-rw-r--r-- 0/0 5427 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/manager_compat.h

-rw-r--r-- 0/0 4552 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/disk.h

-rw-r--r-- 0/0 5202 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/abi_compat.h

-rw-r--r-- 0/0 3752 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/error.h

-rw-r--r-- 0/0 6127 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/abi.h

-rw-r--r-- 0/0 4899 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/kernel.h

-rw-r--r-- 0/0 3927 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/compat32.h

-rw-r--r-- 0/0 978 2016-07-22 12:04 ./oracleasm-2.0.8/include/linux/oracleasm/module_version.h

-rw-r--r-- 0/0 6793 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/manager.h

-rwxr-xr-x 0/0 6376 2016-07-22 11:13 ./oracleasm-2.0.8/install-sh

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kapi-compat/

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kapi-compat/include/

-rw-r--r-- 0/0 345 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/bio_end_io.h

-rw-r--r-- 0/0 126 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_blksize.h

-rw-r--r-- 0/0 105 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/uidgid.h

-rw-r--r-- 0/0 149 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/bio_map_user.h

-rw-r--r-- 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/clear_inode.h

-rw-r--r-- 0/0 109 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/simple_sync_file.h

-rw-r--r-- 0/0 192 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/current_creds.h

-rw-r--r-- 0/0 131 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_run_address_space.h

-rw-r--r-- 0/0 595 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blkdev_get_put.h

-rw-r--r-- 0/0 153 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_segments.h

-rw-r--r-- 0/0 192 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_mutex.h

-rw-r--r-- 0/0 568 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_two_arg.h

-rw-r--r-- 0/0 160 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/kmem_cache_create.h

-rw-r--r-- 0/0 873 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_verify.h

-rw-r--r-- 0/0 108 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_private.h

-rw-r--r-- 0/0 643 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_three_arg.h

-rw-r--r-- 0/0 284 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_limits.h

-rw-r--r-- 0/0 123 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/kmem_cache_s.h

-rwxr-xr-x 0/0 551 2016-07-22 11:13 ./oracleasm-2.0.8/vendor.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kernel/

-rw-r--r-- 0/0 8725 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/masklog.h

-rw-r--r-- 0/0 422 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/compat.h

-rw-r--r-- 0/0 926 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/proc.h

-rw-r--r-- 0/0 1891 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/Makefile

-rw-r--r-- 0/0 4719 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/masklog.c

-rw-r--r-- 0/0 3773 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/transaction_file.c

-rw-r--r-- 0/0 73373 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/driver.c

-rw-r--r-- 0/0 1330 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/proc.c

-rw-r--r-- 0/0 5394 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/integrity.c

-rw-r--r-- 0/0 489 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/request.h

-rw-r--r-- 0/0 730 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/integrity.h

-rw-r--r-- 0/0 789 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/transaction_file.h

-rw-r--r-- 0/0 25283 2016-07-22 11:13 ./oracleasm-2.0.8/COPYING.LGPL

-rwxr-xr-x 0/0 31467 2016-07-22 11:13 ./oracleasm-2.0.8/config.sub

-rw-r--r-- 0/0 2390 2016-07-22 11:13 ./oracleasm-2.0.8/mbvendor.m4

-rw-r--r-- 0/0 17992 2016-07-22 11:13 ./oracleasm-2.0.8/COPYING.GPL

-rw-r--r-- 0/0 1288 2016-07-22 11:13 ./oracleasm-2.0.8/Config.make.in

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel6/

-rw-r--r-- 0/0 1038 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/Vendor.make

-rw-r--r-- 0/0 3265 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/oracleasm.spec-generic

-rw-r--r-- 0/0 216 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/Makefile

-rwxr-xr-x 0/0 175 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/rpmarch.guess

-rwxr-xr-x 0/0 1978 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/kernel.guess

-rwxr-xr-x 0/0 78 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/rpmdist.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/fedora/

-rw-r--r-- 0/0 1056 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/Vendor.make

-rw-r--r-- 0/0 3266 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/oracleasm.spec-generic

-rw-r--r-- 0/0 216 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/Makefile

-rwxr-xr-x 0/0 69 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/rpmarch.guess

-rwxr-xr-x 0/0 1979 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/kernel.guess

-rwxr-xr-x 0/0 78 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/rpmdist.guess

-rw-r--r-- 0/0 386 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles8/

-rw-r--r-- 0/0 253 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/Vendor.make

-rw-r--r-- 0/0 151 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/Makefile

-rwxr-xr-x 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles11/

-rw-r--r-- 0/0 1015 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/Vendor.make

-rw-r--r-- 0/0 12577 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/Makefile

-rwxr-xr-x 0/0 163 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/rpmarch.guess

-rwxr-xr-x 0/0 6005 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/common/

-rw-r--r-- 0/0 1375 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/Vendor.make

-rw-r--r-- 0/0 218 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/Makefile

-rw-r--r-- 0/0 2178 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/oracleasm-headers.spec-generic

-rw-r--r-- 0/0 1754 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/subst.make

-rw-r--r-- 0/0 3057 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/gmsl

-rw-r--r-- 0/0 39922 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/__gmsl

-rw-r--r-- 0/0 2555 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/binrpm.spec-generic

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel5/

-rw-r--r-- 0/0 1407 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/Vendor.make

-rw-r--r-- 0/0 7494 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/oracleasm.spec-generic

-rw-r--r-- 0/0 197 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/Makefile

-rwxr-xr-x 0/0 186 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/rpmarch.guess

-rwxr-xr-x 0/0 5108 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles10/

-rw-r--r-- 0/0 1015 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/Vendor.make

-rw-r--r-- 0/0 12577 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/Makefile

-rwxr-xr-x 0/0 163 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/rpmarch.guess

-rwxr-xr-x 0/0 5955 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel3/

-rw-r--r-- 0/0 258 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/Vendor.make

-rw-r--r-- 0/0 152 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/Makefile

-rwxr-xr-x 0/0 168 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel4/

-rw-r--r-- 0/0 1188 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/Vendor.make

-rw-r--r-- 0/0 8606 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/oracleasm.spec-generic

-rw-r--r-- 0/0 197 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/Makefile

-rwxr-xr-x 0/0 189 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/rpmarch.guess

-rwxr-xr-x 0/0 5052 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhas21/

-rw-r--r-- 0/0 259 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/Vendor.make

-rw-r--r-- 0/0 152 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/Makefile

-rwxr-xr-x 0/0 170 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles9/

-rw-r--r-- 0/0 997 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/Vendor.make

-rw-r--r-- 0/0 14837 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/Makefile

-rwxr-xr-x 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/rpmarch.guess

-rwxr-xr-x 0/0 5921 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/kernel.guess

-rwxr-xr-x 0/0 4328 2016-07-22 11:13 ./oracleasm-2.0.8/svnrev.guess

-rwxr-xr-x 0/0 1801 2016-07-22 11:13 ./oracleasm-2.0.8/mkinstalldirs

-rwxr-xr-x 0/0 43458 2016-07-22 11:13 ./oracleasm-2.0.8/config.guess

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd oracleasm-2.0.8

+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GVBoog

+ umask 022

+ cd /root/rpmbuild/BUILD

+ cd oracleasm-2.0.8

+ LANG=C

+ export LANG

+ unset DISPLAY

+ local_configure 2.6.32-642.3.1.el6.x86_64

+ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-vendor=rhel6 --with-vendorkernel=2.6.32-642.3.1.el6.x86_64

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-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 ISO C89... 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 grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/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 size of unsigned long... 8

checking for vendor... rhel6

checking for vendor kernel... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for directory with kernel build tree... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel version... 2.6.32-642.3.1.el6.x86_64

checking for kernel arch... x86_64

checking for directory with kernel sources... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel source version... 2.6.32-642.3.1.el6.x86_64

checking for kernel include directory... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64/include

checking for capabilities mask in backing_dev_info... yes

checking for mount_bdev / mount_pseudo in fs.h... no

checking for dentry ops in mount_pseudo in fs.h... no

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

checking for for mutex API... yes

checking for for i_private... yes

checking for for clear_inode... yes

checking for for i_blksize... no

checking for for three argument bio_end_io... no

checking for for gfp argument to bio_map_user... yes

checking for struct kmem_cache_s... no

checking for kmem_cache_create() with dtor arg in slab.h... no

checking for bd_claim... yes

checking for for three argument blkdev_get... no

checking for for two argument blkdev_put... yes

checking for for old block limits... no

checking for for old block segments... no

checking for for simple_sync_file... yes

checking for SLAB_CTOR_VERIFY in slab.h... no

checking for three argument ctor in slab.h... no

checking for two argument ctor in slab.h... no

checking for current_fs?id() in cred.h... yes

checking for blk_run_address_space in blkdev.h... yes

checking for GLOBAL_ROOT_?ID in linux/uidgid.h... no

checking for block layer data integrity... yes

checking for BIO_MAPPED_INTEGRITY... yes

checking whether data integrity extensions can be enabled... yes

configure: creating ./config.status

config.status: creating Config.make

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

+ make QUIET=1

make[1]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8'

make -C include

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C linux

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make -C oracleasm

make[4]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C kernel

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C /usr/src/kernels/2.6.32-642.3.1.el6.x86_64 M=/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel modules

make[3]: Entering directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

CC [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/driver.o

CC [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/transaction_file.o

CC [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/proc.o

CC [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/masklog.o

CC [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/integrity.o

LD [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.o

Building modules, stage 2.

MODPOST 1 modules

CC /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.mod.o

LD [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko.unsigned

NO SIGN [M] /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko

make[3]: Leaving directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C documents

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make -C vendor

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make -C common

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make -C rhel6

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make -C fedora

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make -C rhel5

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make -C sles11

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make -C sles10

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make -C rhel4

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make -C sles9 yum install kernel-devel-2.6.32-573.el6.x86_64

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make -C rhel3

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make -C sles8

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make -C rhas21

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make[1]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8'

+ exit 0

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j5CxbH

+ umask 022

+ cd /root/rpmbuild/BUILD

+ '[' /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64 '!=' / ']'

+ rm -rf /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

++ dirname /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ mkdir -p /root/rpmbuild/BUILDROOT

+ mkdir /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ cd oracleasm-2.0.8

+ LANG=C

+ export LANG

+ unset DISPLAY

+ make DESTDIR=/root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64 'INSTALL_MOD_PATH=$(DESTDIR)' install

make[1]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8'

make -C include install

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C linux install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make -C oracleasm install

make[4]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

/bin/sh ../../../mkinstalldirs /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/include/linux/oracleasm

mkdir -p -- /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/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 /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/include/linux/oracleasm/$hdr; \

done

make[4]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C kernel install

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C /usr/src/kernels/2.6.32-642.3.1.el6.x86_64 M=/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel modules_install

make[3]: Entering directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

INSTALL /root/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko

make[3]: Leaving directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C documents install

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make -C vendor install

make[2]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make -C common install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make -C rhel6 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make -C fedora install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make -C rhel5 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make -C sles11 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make -C sles10 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make -C rhel4 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make -C sles9 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make -C rhel3 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make -C sles8 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make -C rhas21 install

make[3]: Entering directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[2]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make[1]: Leaving directory `/root/rpmbuild/BUILD/oracleasm-2.0.8'

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /root/rpmbuild/BUILD/oracleasm-2.0.8

+ /usr/lib/rpm/check-buildroot

+ /usr/lib/rpm/redhat/brp-compress

+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip

+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump

+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python

+ /usr/lib/rpm/redhat/brp-python-hardlink

+ /usr/lib/rpm/redhat/brp-java-repack-jars

Processing files: oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

Processing files: oracleasm-2.6.32-642.3.1.el6.x86_64-debuginfo-2.0.8-1.el6.x86_64

Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

warning: Installed (but unpackaged) file(s) found:

/usr/include/linux/oracleasm/abi.h

/usr/include/linux/oracleasm/abi_compat.h

/usr/include/linux/oracleasm/compat32.h

/usr/include/linux/oracleasm/disk.h

/usr/include/linux/oracleasm/error.h

/usr/include/linux/oracleasm/kernel.h

/usr/include/linux/oracleasm/manager.h

/usr/include/linux/oracleasm/manager_compat.h

/usr/include/linux/oracleasm/module_version.h

warning: Could not canonicalize hostname: oracle67

Wrote: /root/rpmbuild/RPMS/x86_64/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

Wrote: /root/rpmbuild/RPMS/x86_64/oracleasm-2.6.32-642.3.1.el6.x86_64-debuginfo-2.0.8-1.el6.x86_64.rpm

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qMKlLT

+ umask 022

+ cd /root/rpmbuild/BUILD

+ cd oracleasm-2.0.8

+ rm -rf /root/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ exit 0

Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.XNuTdY

+ umask 022

+ cd /root/rpmbuild/BUILD

+ rm -rf oracleasm-2.0.8

+ exit 0

[root@oracle67 oracleasm]#

If all has worked correctly, there will now be an oracleasm src.rpm in the directory as shown below. The file needed for this work is the 'src.rpm' file.

[root@oracle67 oracleasm]# ls -l oracleasm*

-rw-r--r--. 1 root root 152337 Jul 22 12:05 oracleasm-2.0.8.tar.gz

-rw-r--r--. 1 root root 156641 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

[root@oracle67 oracleasm]#

Open up the permissions of oracleasm* files in the oracleasm directory and then copy them to the non-root user directory of choice (in this example '/home/gstanden') as shown below. Note that the steps that follow from here were based on the reference here.

[root@oracle67 oracleasm]# chmod 777 oracleasm*

[root@oracle67 oracleasm]# ls -l oracleasm *

-rwxrwxrwx. 1 root root 152337 Jul 22 12:05 oracleasm-2.0.8.tar.gz

-rwxrwxrwx. 1 root root 156641 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

[root@oracle67 oracleasm]# cp oracleasm* /home/gstanden/.

Change user to a non-root user such as your own named account and in the directory to which the above files were copied (in this example 'gstanden') list the files to verify.

[root@oracle67 oracleasm]# su - gstanden

[gstanden@oracle67 ~]$ ls -l oracleasm*

total 3

-rwxrwxrwx. 1 root root 152337 Jul 22 12:05 oracleasm-2.0.8.tar.gz

-rwxrwxrwx. 1 root root 156641 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

Install the source rpm as shown below being sure to use the '-i' switch

[gstanden@oracle67 ~]$ rpm -i oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

Change directory to the '~/rpmbuild/SPECS' directory under this user home and list the files (in this example 'gstanden')

[gstanden@oracle67 ~]$ cd ~/rpmbuild/SPECS/

[gstanden@oracle67 SPECS]$ ls -lrt

total 4

-rw-r--r--. 1 gstanden gstanden 3236 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64.spec

Looking ahead now there is an issue at this step that I am not entirely sure what the best solution is, but here is my current solution for this. Looking ahead a few steps, if one simply runs the 'rpmbuild' command to build the oracleasm binary installable rpm, upon attempting to install that built rpm, one will encounter the following error as shown below.

[root@oracle67 gstanden]# rpm -Uvh oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

error: Failed dependencies:

kernel = 2.6.32-642.3.1.el6.x86_64 is needed by oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

This can be examined in more detail with more verbose output from the rpm command as shown below.

[root@oracle67 gstanden]# rpm -Uvvh oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

D: ============== oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key

D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key

D: loading keyring from rpmdb

D: opening db environment /var/lib/rpm cdb:mpool:joinenv

D: opening db index /var/lib/rpm/Packages rdonly mode=0x0

D: locked db index /var/lib/rpm/Packages

D: opening db index /var/lib/rpm/Name rdonly mode=0x0

D: read h# 1591 Header sanity check: OK

D: added key gpg-pubkey-ec551f03-53619141 to keyring

D: Using legacy gpg-pubkey(s) from rpmdb

D: Expected size: 253580 = lead(96)+sigs(180)+pad(4)+data(253300)

D: Actual size: 253580

D: oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm: Header SHA1 digest: OK (ef9d3cac7e68228f99b3cbcf033b0c485d52d601)

D: ========== relocations

D: read h# 2231 Header SHA1 digest: OK (9ad8e6a5813587f488e355cb8d72fd50e62f32dd)

D: added binary package [0]

D: found 0 source and 1 binary packages

D: ========== +++ oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6 x86_64/linux 0x0

D: Requires: rpmlib(VersionedDependencies) <= 3.0.3-1 YES (rpmlib provides)

D: opening db index /var/lib/rpm/Providename rdonly mode=0x0

D: read h# 1265 Header V3 RSA/SHA256 Signature, key ID ec551f03: OK

D: read h# 2065 Header V3 RSA/SHA256 Signature, key ID ec551f03: OK

D: Requires: kernel = 2.6.32-642.3.1.el6.x86_64 NO

D: package oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64 has unsatisfied Requires: kernel = 2.6.32-642.3.1.el6.x86_64

D: read h# 2229 Header V3 RSA/SHA256 Signature, key ID ec551f03: OK

D: Requires: oracleasm-support >= 2.0.0 YES (db provides)

D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0

D: read h# 1602 Header V3 RSA/SHA256 Signature, key ID ec551f03: OK

D: Requires: /bin/sh YES (db files)

D: Requires: rpmlib(FileDigests) <= 4.6.0-1 YES (rpmlib provides)

D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides)

D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (rpmlib provides)

D: Requires: rpmlib(PayloadIsXz) <= 5.2-1 YES (rpmlib provides)

D: read h# 2230 Header V3 RSA/SHA256 Signature, key ID ec551f03: OK

D: Conflicts: oracleasmlib < 2.0.1 NO

D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0

error: Failed dependencies:

kernel = 2.6.32-642.3.1.el6.x86_64 is needed by oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

D: closed db index /var/lib/rpm/Conflictname

D: closed db index /var/lib/rpm/Providename

D: closed db index /var/lib/rpm/Basenames

D: closed db index /var/lib/rpm/Name

D: closed db index /var/lib/rpm/Packages

D: closed db environment /var/lib/rpm

[root@oracle67 gstanden]#

An inspection of this error is very perplexing, because based on the output, the kernel versions match exactly including all major and minor release numbers, and the architecture (x86_64). Therefore, the fix I am using is to vi (edit) the 'oracleasm-2.6.32-642.3.1.el6.x86_64.spec' file as shown below to remove the kernel dependency check which is this line

# Requires: kernel = %{kver}

since as far as I can tell the kernel versions do match exactly.

[root@oracle67 SPECS]# vi oracleasm-2.6.32-642.3.1.el6.x86_64.spec

[root@oracle67 SPECS]# more oracleasm-2.6.32-642.3.1.el6.x86_64.spec

#

# Spec file for oracleasm

#

# Macros

# This one is hardcoded because, well, it belongs there

%define _prefix /usr

# Because RPM is dumb

%define _unpackaged_files_terminate_build 0

%ifarch i686

%define karch i686

%endif

%ifarch x86_64

%define karch x86_64

%endif

%ifarch ia64

%define karch ia64

%endif

%ifarch ppc64

%define karch ppc64

%endif

%ifarch s390x

%define karch s390x

%endif

# This must be changed to the minimum ABI compat kernel version expected

%define kver 2.6.32-642.3.1.el6.x86_64

# The minimum -support package required for the kernel bits.

%define support_ver 2.0.0

# Minimum oracleasmlib version that supports positive ASM_ERR_NODEV.

%define min_enodev 2.0.1

Summary: The Oracle Automatic Storage Management library driver.

Name: oracleasm-%{kver}

Version: 2.0.8

Release: 1%{?dist}

License: GPL

Group: System Environment/Kernel

Source: oracleasm-2.0.8.tar.gz

URL: http://oss.oracle.com/projects/oracleasm/

Distribution: Oracle

Vendor: Oracle Corporation

Packager: Joel Becker <joel.becker@oracle.com>

Provides: oracleasm = %{version}

AutoReqProv: no

# Requires: kernel = %{kver}

Requires: oracleasm-support >= %{support_ver}

Conflicts: oracleasmlib < %{min_enodev}

BuildRequires: kernel-devel-uname-r = %{kver}

BuildRoot: %{_tmppath}/oracleasm-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}-root

%description

Kernel driver for the Oracle Automatic Storage Management library.

This package is compiled for the default kernel.

%prep

%setup -n oracleasm-%{version}

%build

local_configure()

{

./configure \

--prefix=%{_prefix} \

--exec-prefix=%{_exec_prefix} \

--bindir=%{_bindir} \

--sbindir=%{_sbindir} \

--sysconfdir=%{_sysconfdir} \

--datadir=%{_datadir} \

--includedir=%{_includedir} \

--libdir=%{_libdir} \

--libexecdir=%{_libexecdir} \

--localstatedir=%{_localstatedir} \

--sharedstatedir=%{_sharedstatedir} \

--mandir=%{_mandir} \

--infodir=%{_infodir} \

--with-vendor=rhel6 \

--with-vendorkernel="$1"

}

local_configure "%{kver}"

make QUIET=1

%install

make DESTDIR="$RPM_BUILD_ROOT" INSTALL_MOD_PATH='$(DESTDIR)' install

%clean

rm -rf "$RPM_BUILD_ROOT"

%post -n oracleasm-%{kver}

depmod -ae %{kver}

%files -n oracleasm-%{kver}

%defattr(-,root,root)

/lib/modules/

%changelog

* Mon Mar 29 2010 Martin K. Petersen <martin.petersen@oracle.com>

- Generic Fedora version

* Fri Feb 09 2007 Joel Becker <joel.becker@oracle.com>

- Strip down for Fedora Core 6

* Thu May 25 2006 Joel Becker <joel.becker@oracle.com>

- Add largesmp

* Fri Feb 04 2005 Joel Becker <joel.becker@oracle.com>

- Make RHEL4 specfile.

* Tue Sep 21 2004 Joel Becker <joel.becker@oracle.com>

- Make SLES9 specfile.

* Tue Jan 13 2004 Joel Becker <joel.becker@oracle.com>

- Make kernel-only.

* Thu Nov 20 2003 Joel Becker <joel.becker@oracle.com>

- Add x86 and ia64 targets.

* Wed Nov 19 2003 Joel Becker <joel.becker@oracle.com>

- Make the UL SP3 changes.

* Wed Nov 12 2003 Joel Becker <joel.becker@oracle.com>

- Start the ASM rename.

* Thu Oct 30 2003 Joel Becker <joel.becker@oracle.com>

- Created EL3 version

* Mon Jun 23 2003 Joel Becker <joel.becker@oracle.com>

- Added osm-lib bits

* Fri Jun 20 2003 Joel Becker <joel.becker@oracle.com>

- Initial RPM

[root@oracle67 SPECS]#

Once this edit has been made, go ahead and build the oracleasm installable binary rpm file as shown below.

[gstanden@oracle67 SPECS]$ rpmbuild -ba oracleasm-2.6.32-642.3.1.el6.x86_64.spec

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N2vifF

+ umask 022

+ cd /home/gstanden/rpmbuild/BUILD

+ LANG=C

+ export LANG

+ unset DISPLAY

+ cd /home/gstanden/rpmbuild/BUILD

+ rm -rf oracleasm-2.0.8

+ /bin/tar -xvvf -

+ /usr/bin/gzip -dc /home/gstanden/rpmbuild/SOURCES/oracleasm-2.0.8.tar.gz

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/

-rw-r--r-- 0/0 74 2016-07-22 11:13 ./oracleasm-2.0.8/aclocal.m4

-rw-r--r-- 0/0 228 2016-07-22 11:13 ./oracleasm-2.0.8/Vendor.make

-rw-r--r-- 0/0 1590 2016-07-22 11:13 ./oracleasm-2.0.8/kfeature.m4

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/documents/

-rw-r--r-- 0/0 381 2016-07-22 11:13 ./oracleasm-2.0.8/documents/Makefile

-rw-r--r-- 0/0 6512 2016-07-22 11:13 ./oracleasm-2.0.8/documents/asm-install.txt

-rw-r--r-- 0/0 12128 2016-07-22 11:13 ./oracleasm-2.0.8/configure.in

-rw-r--r-- 0/0 760 2016-07-22 11:13 ./oracleasm-2.0.8/README

-rw-r--r-- 0/0 871 2016-07-22 11:13 ./oracleasm-2.0.8/Preamble.make

-rw-r--r-- 0/0 1705 2016-07-22 11:13 ./oracleasm-2.0.8/Makefile

-rwxr-xr-x 0/0 184162 2016-07-22 12:04 ./oracleasm-2.0.8/configure

-rw-r--r-- 0/0 5334 2016-07-22 11:13 ./oracleasm-2.0.8/Postamble.make

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/

-rw-r--r-- 0/0 322 2016-07-22 11:13 ./oracleasm-2.0.8/include/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/linux/

-rw-r--r-- 0/0 329 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/include/linux/oracleasm/

-rw-r--r-- 0/0 982 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/module_version.h.in

-rw-r--r-- 0/0 550 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/Makefile

-rw-r--r-- 0/0 5427 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/manager_compat.h

-rw-r--r-- 0/0 4552 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/disk.h

-rw-r--r-- 0/0 5202 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/abi_compat.h

-rw-r--r-- 0/0 3752 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/error.h

-rw-r--r-- 0/0 6127 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/abi.h

-rw-r--r-- 0/0 4899 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/kernel.h

-rw-r--r-- 0/0 3927 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/compat32.h

-rw-r--r-- 0/0 978 2016-07-22 12:04 ./oracleasm-2.0.8/include/linux/oracleasm/module_version.h

-rw-r--r-- 0/0 6793 2016-07-22 11:13 ./oracleasm-2.0.8/include/linux/oracleasm/manager.h

-rwxr-xr-x 0/0 6376 2016-07-22 11:13 ./oracleasm-2.0.8/install-sh

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kapi-compat/

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kapi-compat/include/

-rw-r--r-- 0/0 345 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/bio_end_io.h

-rw-r--r-- 0/0 126 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_blksize.h

-rw-r--r-- 0/0 105 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/uidgid.h

-rw-r--r-- 0/0 149 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/bio_map_user.h

-rw-r--r-- 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/clear_inode.h

-rw-r--r-- 0/0 109 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/simple_sync_file.h

-rw-r--r-- 0/0 192 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/current_creds.h

-rw-r--r-- 0/0 131 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_run_address_space.h

-rw-r--r-- 0/0 595 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blkdev_get_put.h

-rw-r--r-- 0/0 153 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_segments.h

-rw-r--r-- 0/0 192 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_mutex.h

-rw-r--r-- 0/0 568 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_two_arg.h

-rw-r--r-- 0/0 160 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/kmem_cache_create.h

-rw-r--r-- 0/0 873 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_verify.h

-rw-r--r-- 0/0 108 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/i_private.h

-rw-r--r-- 0/0 643 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/slab_ctor_three_arg.h

-rw-r--r-- 0/0 284 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/blk_limits.h

-rw-r--r-- 0/0 123 2016-07-22 11:13 ./oracleasm-2.0.8/kapi-compat/include/kmem_cache_s.h

-rwxr-xr-x 0/0 551 2016-07-22 11:13 ./oracleasm-2.0.8/vendor.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/kernel/

-rw-r--r-- 0/0 8725 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/masklog.h

-rw-r--r-- 0/0 422 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/compat.h

-rw-r--r-- 0/0 926 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/proc.h

-rw-r--r-- 0/0 1891 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/Makefile

-rw-r--r-- 0/0 4719 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/masklog.c

-rw-r--r-- 0/0 3773 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/transaction_file.c

-rw-r--r-- 0/0 73373 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/driver.c

-rw-r--r-- 0/0 1330 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/proc.c

-rw-r--r-- 0/0 5394 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/integrity.c

-rw-r--r-- 0/0 489 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/request.h

-rw-r--r-- 0/0 730 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/integrity.h

-rw-r--r-- 0/0 789 2016-07-22 11:13 ./oracleasm-2.0.8/kernel/transaction_file.h

-rw-r--r-- 0/0 25283 2016-07-22 11:13 ./oracleasm-2.0.8/COPYING.LGPL

-rwxr-xr-x 0/0 31467 2016-07-22 11:13 ./oracleasm-2.0.8/config.sub

-rw-r--r-- 0/0 2390 2016-07-22 11:13 ./oracleasm-2.0.8/mbvendor.m4

-rw-r--r-- 0/0 17992 2016-07-22 11:13 ./oracleasm-2.0.8/COPYING.GPL

-rw-r--r-- 0/0 1288 2016-07-22 11:13 ./oracleasm-2.0.8/Config.make.in

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel6/

-rw-r--r-- 0/0 1038 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/Vendor.make

-rw-r--r-- 0/0 3265 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/oracleasm.spec-generic

-rw-r--r-- 0/0 216 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/Makefile

-rwxr-xr-x 0/0 175 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/rpmarch.guess

-rwxr-xr-x 0/0 1978 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/kernel.guess

-rwxr-xr-x 0/0 78 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel6/rpmdist.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/fedora/

-rw-r--r-- 0/0 1056 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/Vendor.make

-rw-r--r-- 0/0 3266 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/oracleasm.spec-generic

-rw-r--r-- 0/0 216 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/Makefile

-rwxr-xr-x 0/0 69 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/rpmarch.guess

-rwxr-xr-x 0/0 1979 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/kernel.guess

-rwxr-xr-x 0/0 78 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/fedora/rpmdist.guess

-rw-r--r-- 0/0 386 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/Makefile

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles8/

-rw-r--r-- 0/0 253 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/Vendor.make

-rw-r--r-- 0/0 151 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/Makefile

-rwxr-xr-x 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles8/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles11/

-rw-r--r-- 0/0 1015 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/Vendor.make

-rw-r--r-- 0/0 12577 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/Makefile

-rwxr-xr-x 0/0 163 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/rpmarch.guess

-rwxr-xr-x 0/0 6005 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles11/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/common/

-rw-r--r-- 0/0 1375 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/Vendor.make

-rw-r--r-- 0/0 218 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/Makefile

-rw-r--r-- 0/0 2178 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/oracleasm-headers.spec-generic

-rw-r--r-- 0/0 1754 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/subst.make

-rw-r--r-- 0/0 3057 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/gmsl

-rw-r--r-- 0/0 39922 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/__gmsl

-rw-r--r-- 0/0 2555 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/common/binrpm.spec-generic

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel5/

-rw-r--r-- 0/0 1407 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/Vendor.make

-rw-r--r-- 0/0 7494 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/oracleasm.spec-generic

-rw-r--r-- 0/0 197 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/Makefile

-rwxr-xr-x 0/0 186 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/rpmarch.guess

-rwxr-xr-x 0/0 5108 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel5/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles10/

-rw-r--r-- 0/0 1015 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/Vendor.make

-rw-r--r-- 0/0 12577 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/Makefile

-rwxr-xr-x 0/0 163 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/rpmarch.guess

-rwxr-xr-x 0/0 5955 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles10/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel3/

-rw-r--r-- 0/0 258 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/Vendor.make

-rw-r--r-- 0/0 152 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/Makefile

-rwxr-xr-x 0/0 168 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel3/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhel4/

-rw-r--r-- 0/0 1188 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/Vendor.make

-rw-r--r-- 0/0 8606 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/oracleasm.spec-generic

-rw-r--r-- 0/0 197 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/Makefile

-rwxr-xr-x 0/0 189 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/rpmarch.guess

-rwxr-xr-x 0/0 5052 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhel4/kernel.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/rhas21/

-rw-r--r-- 0/0 259 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/Vendor.make

-rw-r--r-- 0/0 152 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/Makefile

-rwxr-xr-x 0/0 170 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/vendor.guess

-rwxr-xr-x 0/0 1306 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/rhas21/rpmarch.guess

drwxr-xr-x 0/0 0 2016-07-22 12:05 ./oracleasm-2.0.8/vendor/sles9/

-rw-r--r-- 0/0 997 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/Vendor.make

-rw-r--r-- 0/0 14837 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/oracleasm.spec-generic

-rw-r--r-- 0/0 196 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/Makefile

-rwxr-xr-x 0/0 162 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/vendor.guess

-rwxr-xr-x 0/0 1345 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/rpmarch.guess

-rwxr-xr-x 0/0 5921 2016-07-22 11:13 ./oracleasm-2.0.8/vendor/sles9/kernel.guess

-rwxr-xr-x 0/0 4328 2016-07-22 11:13 ./oracleasm-2.0.8/svnrev.guess

-rwxr-xr-x 0/0 1801 2016-07-22 11:13 ./oracleasm-2.0.8/mkinstalldirs

-rwxr-xr-x 0/0 43458 2016-07-22 11:13 ./oracleasm-2.0.8/config.guess

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd oracleasm-2.0.8

+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32bvVZ

+ umask 022

+ cd /home/gstanden/rpmbuild/BUILD

+ cd oracleasm-2.0.8

+ LANG=C

+ export LANG

+ unset DISPLAY

+ local_configure 2.6.32-642.3.1.el6.x86_64

+ ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-vendor=rhel6 --with-vendorkernel=2.6.32-642.3.1.el6.x86_64

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-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 ISO C89... 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 grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/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 size of unsigned long... 8

checking for vendor... rhel6

checking for vendor kernel... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for directory with kernel build tree... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel version... 2.6.32-642.3.1.el6.x86_64

checking for kernel arch... x86_64

checking for directory with kernel sources... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64

checking for kernel source version... 2.6.32-642.3.1.el6.x86_64

checking for kernel include directory... /usr/src/kernels/2.6.32-642.3.1.el6.x86_64/include

checking for capabilities mask in backing_dev_info... yes

checking for mount_bdev / mount_pseudo in fs.h... no

checking for dentry ops in mount_pseudo in fs.h... no

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

checking for for mutex API... yes

checking for for i_private... yes

checking for for clear_inode... yes

checking for for i_blksize... no

checking for for three argument bio_end_io... no

checking for for gfp argument to bio_map_user... yes

checking for struct kmem_cache_s... no

checking for kmem_cache_create() with dtor arg in slab.h... no

checking for bd_claim... yes

checking for for three argument blkdev_get... no

checking for for two argument blkdev_put... yes

checking for for old block limits... no

checking for for old block segments... no

checking for for simple_sync_file... yes

checking for SLAB_CTOR_VERIFY in slab.h... no

checking for three argument ctor in slab.h... no

checking for two argument ctor in slab.h... no

checking for current_fs?id() in cred.h... yes

checking for blk_run_address_space in blkdev.h... yes

checking for GLOBAL_ROOT_?ID in linux/uidgid.h... no

checking for block layer data integrity... yes

checking for BIO_MAPPED_INTEGRITY... yes

checking whether data integrity extensions can be enabled... yes

configure: creating ./config.status

config.status: creating Config.make

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

+ make QUIET=1

make -C include

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C linux

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make -C oracleasm

make[3]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C kernel

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C /usr/src/kernels/2.6.32-642.3.1.el6.x86_64 M=/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel modules

make[2]: Entering directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

CC [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/driver.o

CC [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/transaction_file.o

CC [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/proc.o

CC [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/masklog.o

CC [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/integrity.o

LD [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.o

Building modules, stage 2.

MODPOST 1 modules

CC /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.mod.o

LD [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko.unsigned

NO SIGN [M] /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko

make[2]: Leaving directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C documents

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make -C vendor

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make -C common

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make -C rhel6

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make -C fedora

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make -C rhel5

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make -C sles11

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make -C sles10

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make -C rhel4

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make -C sles9

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make -C rhel3

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make -C sles8

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make -C rhas21

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

+ exit 0

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g6eGkL

+ umask 022

+ cd /home/gstanden/rpmbuild/BUILD

+ '[' /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64 '!=' / ']'

+ rm -rf /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

++ dirname /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ mkdir -p /home/gstanden/rpmbuild/BUILDROOT

+ mkdir /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ cd oracleasm-2.0.8

+ LANG=C

+ export LANG

+ unset DISPLAY

+ make DESTDIR=/home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64 'INSTALL_MOD_PATH=$(DESTDIR)' install

make -C include install

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C linux install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make -C oracleasm install

make[3]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

/bin/sh ../../../mkinstalldirs /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/include/linux/oracleasm

mkdir -p -- /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/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 /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64/usr/include/linux/oracleasm/$hdr; \

done

make[3]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux/oracleasm'

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include/linux'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/include'

make -C kernel install

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C /usr/src/kernels/2.6.32-642.3.1.el6.x86_64 M=/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel modules_install

make[2]: Entering directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

INSTALL /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel/oracleasm.ko

make[2]: Leaving directory `/usr/src/kernels/2.6.32-642.3.1.el6.x86_64'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/kernel'

make -C documents install

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make[1]: Nothing to be done for `install'.

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/documents'

make -C vendor install

make[1]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

make -C common install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/common'

make -C rhel6 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel6'

make -C fedora install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/fedora'

make -C rhel5 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel5'

make -C sles11 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles11'

make -C sles10 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles10'

make -C rhel4 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel4'

make -C sles9 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles9'

make -C rhel3 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhel3'

make -C sles8 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/sles8'

make -C rhas21 install

make[2]: Entering directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor/rhas21'

make[1]: Leaving directory `/home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8/vendor'

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/gstanden/rpmbuild/BUILD/oracleasm-2.0.8

+ /usr/lib/rpm/check-buildroot

+ /usr/lib/rpm/redhat/brp-compress

+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip

+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump

+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python

+ /usr/lib/rpm/redhat/brp-python-hardlink

+ /usr/lib/rpm/redhat/brp-java-repack-jars

Processing files: oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

Processing files: oracleasm-2.6.32-642.3.1.el6.x86_64-debuginfo-2.0.8-1.el6.x86_64

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

warning: Installed (but unpackaged) file(s) found:

/usr/include/linux/oracleasm/abi.h

/usr/include/linux/oracleasm/abi_compat.h

/usr/include/linux/oracleasm/compat32.h

/usr/include/linux/oracleasm/disk.h

/usr/include/linux/oracleasm/error.h

/usr/include/linux/oracleasm/kernel.h

/usr/include/linux/oracleasm/manager.h

/usr/include/linux/oracleasm/manager_compat.h

/usr/include/linux/oracleasm/module_version.h

warning: Could not canonicalize hostname: oracle67

Wrote: /home/gstanden/rpmbuild/SRPMS/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

Wrote: /home/gstanden/rpmbuild/RPMS/x86_64/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

Wrote: /home/gstanden/rpmbuild/RPMS/x86_64/oracleasm-2.6.32-642.3.1.el6.x86_64-debuginfo-2.0.8-1.el6.x86_64.rpm

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vzVLmm

+ umask 022

+ cd /home/gstanden/rpmbuild/BUILD

+ cd oracleasm-2.0.8

+ rm -rf /home/gstanden/rpmbuild/BUILDROOT/oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64

+ exit 0

[gstanden@oracle67 SPECS]$

If all has gone correctly up until now the 'rpmbuild' command will run with no errors and will return a '+ exit 0' on the last line of output as shown above.

Next navigate to the directory where the binary installable oracleasm rpm was created as shown below.

[gstanden@oracle67 SPECS]$ pwd

/home/gstanden/rpmbuild/SPECS

[gstanden@oracle67 rpmbuild]$ cd ../RPMS/x86_64

[gstanden@oracle67 x86_64]$ ls -lrt oracleasm*

total 252

-rw-rw-r--. 1 gstanden gstanden 2820 Jul 22 12:28 oracleasm-2.6.32-642.3.1.el6.x86_64-debuginfo-2.0.8-1.el6.x86_64.rpm

-rw-rw-r--. 1 gstanden gstanden 253580 Jul 22 12:28 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

[gstanden@oracle67 x86_64]$

Copy the RPM back to the home directory as shown below (or to any directory where you want to stage your RPM files for ASMLib).

[gstanden@oracle67 x86_64]$ cp -p oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm /home/gstanden/.

[gstanden@oracle67 x86_64]$

Fortunately, the oracleasm library and support installable binary RPM packages are generic for RHEL6 and even more importantly can be downloaded from an Oracle Corporation webpage, so it's not necessary to build these two packages from source. Download those packages from this link at Oracle. These 2 additional library and support RPM packages can also be obtained by "wget" as shown below.

[gstanden@oracle67 ~]$ pwd

/home/gstanden

[gstanden@oracle67 ~]$ ls -l oracleasm*

-rwxrwxrwx. 1 root root 152337 Jul 22 12:05 oracleasm-2.0.8.tar.gz

-rwxrwxrwx. 1 root root 156641 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

-rw-rw-r--. 1 gstanden gstanden 253580 Jul 22 12:28 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

[gstanden@oracle67 ~]$ wget http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel6/amd64/2.1.8/oracleasm-support-2.1.8-1.el6.x86_64.rpm

--2016-07-22 12:56:11-- http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel6/amd64/2.1.8/oracleasm-support-2.1.8-1.el6.x86_64.rpm

Resolving oss.oracle.com... 137.254.120.35

Connecting to oss.oracle.com|137.254.120.35|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel6/amd64/2.1.8/oracleasm-support-2.1.8-1.el6.x86_64.rpm [following]

--2016-07-22 12:56:17-- https://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel6/amd64/2.1.8/oracleasm-support-2.1.8-1.el6.x86_64.rpm

Connecting to oss.oracle.com|137.254.120.35|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 74984 (73K) [application/x-rpm]

Saving to: “oracleasm-support-2.1.8-1.el6.x86_64.rpm”

100%[===============================================================================================================================>] 74,984 407K/s in 0.2s

2016-07-22 12:56:18 (407 KB/s) - “oracleasm-support-2.1.8-1.el6.x86_64.rpm” saved [74984/74984]

[gstanden@oracle67 ~]$ wget http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el6.x86_64.rpm

--2016-07-22 12:56:29-- http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el6.x86_64.rpm

Resolving download.oracle.com... 104.91.166.10, 104.91.166.40

Connecting to download.oracle.com|104.91.166.10|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 13300 (13K) [application/x-redhat-package-manager]

Saving to: “oracleasmlib-2.0.4-1.el6.x86_64.rpm”

100%[===============================================================================================================================>] 13,300 --.-K/s in 0.001s

2016-07-22 12:56:35 (8.93 MB/s) - “oracleasmlib-2.0.4-1.el6.x86_64.rpm” saved [13300/13300]

[gstanden@oracle67 ~]$ ls -l oracleasm*

-rwxrwxrwx. 1 root root 152337 Jul 22 12:05 oracleasm-2.0.8.tar.gz

-rwxrwxrwx. 1 root root 156641 Jul 22 12:05 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.src.rpm

-rw-rw-r--. 1 gstanden gstanden 253580 Jul 22 12:28 oracleasm-2.6.32-642.3.1.el6.x86_64-2.0.8-1.el6.x86_64.rpm

-rw-rw-r--. 1 gstanden gstanden 13300 Jun 28 2012 oracleasmlib-2.0.4-1.el6.x86_64.rpm

-rw-rw-r--. 1 gstanden gstanden 74984 Apr 29 2013 oracleasm-support-2.1.8-1.el6.x86_64.rpm

[gstanden@oracle67 ~]$

Now install the 3 binary RPM files as shown below.

[root@localhost ~]# rpm -Uvh oracleasm-support-2.1.8-1.el6.x86_64.rpm

Preparing... ########################################### [100%]

1:oracleasm-support ########################################### [100%]

[root@localhost ~]#

[root@localhost ~]# rpm -Uvh oracleasm-2.6.32-642.el6.x86_64-2.0.8-1.el6.x86_64.rpm

Preparing... ########################################### [100%]

1:oracleasm-2.6.32-642.el########################################### [100%]

[root@localhost ~]# id grid

[root@localhost ~]# rpm -Uvh oracleasmlib-2.0.4-1.el6.x86_64.rpm

Preparing... ########################################### [100%]

1:oracleasmlib ########################################### [100%]

[root@localhost ~]# rpm -qa | grep oracleasm

oracleasm-2.6.32-642.el6.x86_64-2.0.8-1.el6.x86_64

oracleasm-support-2.1.8-1.el6.x86_64

oracleasmlib-2.0.4-1.el6.x86_64

[root@localhost ~]#

Next create the required groups and users (typically "grid" or "oracle") if they don't already exist prior to configuring ASMLib as shown. In my case I used a script to create my users and groups. I've listed that script below.

[root@localhost ~]# more create_users.sh

groupadd -g 1001 oinstall

groupadd -g 1100 asmadmin

groupadd -g 1200 dba

groupadd -g 1300 asmdba

groupadd -g 1201 oper

groupadd -g 1301 asmoper

# new additions 12c

groupadd -g 1401 backupdba

groupadd -g 1501 dgdba

groupadd -g 1601 kmdba

groupadd -g 1701 osacfs

groupadd -g 1801 osaudit

usermod -a -G backupdba,dgdba,kmdba oracle

# end new additions 12c

useradd -u 1098 -g oinstall -G asmadmin,asmdba,asmoper,dba grid

usermod -a -G dba,asmdba,oper,oinstall oracle

[root@localhost ~]# id oracle

id: oracle: No such user

[root@localhost ~]# id grid

id: grid: No such user

[root@localhost ~]# chmod 755 create_users.sh

[root@localhost ~]# ./create_users.sh

[root@localhost ~]#

Check that the "grid" user exists before configuring ASMLib.

[root@localhost ~]# id grid

uid=1098(grid) gid=1001(oinstall) groups=1001(oinstall),1100(asmadmin),1200(dba),1300(asmdba),1301(asmoper)

[root@localhost ~]#

Now configure oracleasm as shown below and verify that the kernel driver is loaded.

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: no

Checking if /dev/oracleasm is mounted: no

[root@localhost ~]# oracleasm configure -i

Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library

driver. The following questions will determine whether the driver is

loaded on boot and what permissions it will have. The current values

will be shown in brackets ('[]'). Hitting <ENTER> without typing an

answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: grid

Default group to own the driver interface []: asmadmin

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]:

Writing Oracle ASM library driver configuration: done

[root@localhost ~]# oracleasm init

Creating /dev/oracleasm mount point: /dev/oracleasm

Loading module "oracleasm": oracleasm

Configuring "oracleasm" to use device physical block size

Mounting ASMlib driver filesystem: /dev/oracleasm

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: yes

Checking if /dev/oracleasm is mounted: yes

[root@localhost ~]# lsmod | grep oracleasm

oracleasm 54257 1

[root@localhost ~]#

Optional Steps

Test ASMLib with TGT

Install TGT and create some LUNs (outside scope of this guide)...there is a good howto here.

Once that is done check that you have LUNs in /dev as shown below.

[root@localhost tgt-files]# cd /dev

[root@localhost dev]# ls -l sd*

brw-rw---- 1 root disk 8, 0 Jul 20 23:17 sda

brw-rw---- 1 root disk 8, 1 Jul 20 23:17 sda1

brw-rw---- 1 root disk 8, 2 Jul 20 23:17 sda2

brw-rw---- 1 root disk 8, 16 Jul 20 23:41 sdb

brw-rw---- 1 root disk 8, 32 Jul 20 23:41 sdc

brw-rw---- 1 root disk 8, 48 Jul 20 23:41 sdd

[root@localhost dev]#

Now create some ASMLib LUNs without creating partitions. Note that partitions are NOT required for Oracle ASM LUNs (contrary to some documentation you may find) and also it is actually preferable to create them WITHOUT paritions to ensure 4K alignment with 4K sector-size flash storage devices such as those from Violin Memory 5000 series systems.

[root@localhost tgt-files]# oracleasm createdisk SYSTEMDG_01 /dev/sdb

Device "/dev/sdb" is not a partition

[root@localhost tgt-files]# which asmtool

/usr/sbin/asmtool

[root@localhost tgt-files]# /usr/sbin/asmtool -C -l /dev/oracleasm -n SYSTEMDG_01 -s /dev/sdb -a force=yes

asmtool: Device "/dev/sdb" is not a partition

asmtool: Continuing anyway

[root@localhost tgt-files]# oracleasm listdisks

SYSTEMDG_01

[root@localhost tgt-files]# /usr/sbin/asmtool -C -l /dev/oracleasm -n DATA_01 -s /dev/sdc -a force=yes

asmtool: Device "/dev/sdc" is not a partition

asmtool: Continuing anyway

[root@localhost tgt-files]# /usr/sbin/asmtool -C -l /dev/oracleasm -n FRA_01 -s /dev/sdd -a force=yes

asmtool: Device "/dev/sdd" is not a partition

asmtool: Continuing anyway

[root@localhost tgt-files]# oracleasm listdisks

DATA_01

FRA_01

SYSTEMDG_01

[root@localhost tgt-files]#

As shown above, the oracleasm LUNs are now present and ready for use with Oracle database. Should be good to go at this point with ASMLib on RHEL6 built from source.