Re: udev VS oracleasm disk aliasing - preferences?

From: Yong Huang <>
Date: Thu, 12 Jul 2012 10:40:26 -0700 (PDT)
Message-ID: <>

> This Oracle announcement will definitely force anyone using RH to move to
udev ...
> Oracle will not provide ASMLib packages for kernels distributed by Red Hat as part of RHEL 6

Since nobody has mentioned, let me add that Oracle is actually happy to allow any RHEL 6 users to compile the ASMLib kernel module themselves. Unfortunately I didn't have luck doing that. Here's a message I posted somewhere else.

I'm curious about building Oracle ASMLib kernel module myself (even though I personally don't plan to use it for future versions of Red Hat Linux). I see the latest source code has a date 2008.11.05 at: I downloaded it to my Red Hat Enterprise Linux 6, but have trouble compiling it:

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago) # uname -r

I ran ./configure. Then make generates these errors:

# make
make -C /lib/modules/2.6.32-220.7.1.el6.x86_64/build M=/u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel modules make[1]: Entering directory `/usr/src/kernels/2.6.32-220.7.1.el6.x86_64'   CC [M] /u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/oracleasm.o In file included from /u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/oracleasm.c:98:

/u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/transaction_file.c: In function 'new_transaction_inode':
/u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/transaction_file.c:151: error: 'struct task_struct' has no member named 'fsuid'
/u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/transaction_file.c:152: error: 'struct task_struct' has no member named 'fsgid'
...[and many others]...

Actually, before these errors, I got

In file included from /u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/oracleasm.c:74: /u01/downloads/oracleasm-2.0.5ASMLIBSource/kernel/../include/linux/oracleasm/compat32.h:97:28: error: linux/ioctl32.h: No such file or directory

But I removed that #include line, or replaced ioctl32.h with ioctl.h, to suppress that error, and ended up with the make errors shown above.

Anybody else has luck to compile the ASMLib kernel module on RHEL6?

Received on Thu Jul 12 2012 - 12:40:26 CDT

Original text of this message