I need to install ASMLib on a freshly installed 64bit Oracle Linux R5U6 system. Per the installation instructions, I executed a "uname -rm" and I get 2.6.32-100.26.2.el5 x86_64. The link in Oracle Grid Infrastructure Installation Guide (E10812-02) (http://www.oracle.com/technology/tech/linux/asmlib/index.html) is broken, but I found (http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html) which seems to list the available ASMLib drivers. However, there doesn't seem to be a compatible driver. The drivers all start with 2.6.18, not 2.6.32. Any ideas?
After installing 75+ RAC clusters (Linux, Solaris etc), I have found ASMLib to be utterly redundant and unnecessary. Just connect your shared storage, give it the correct permissions and the correct "discovery path" and let ASM handle the rest.
You will get that error if ASM thinks that it cannot create it's header on that device. Did you partition the device at all? I always have 2 partitions on my ASM devices. Partition 0 (size 1M) and Partition 1 (size disksize-1M). Then my disk discovery path is all of the Partition 1 devices.
To ensure all nodes can read/write the devices use: dd if=/dev/zero of=<device> bs=100 count =100. If you overwrite the disk partition table, you will get the error to which you referred.
ASMLib drivers are already included in UEK kernels (2.6.32). So you don't need to download and install the kernel driver. You just need to install the supporting packages oracleasm-support-2.1.7-1.el5.x86_64.rpm and oracleasmlib-2.0.4-1.el5.x86_64.rpm.