How to create XFS filesystem in Redhat Linux V3

1. Below is the details of the kernel version

#uname -a
Linux ish-unix10 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686
i386 GNU/Linux

2. I have downloaded the xfsprogs-1.2.0-0.i386.rpm from

3. Installed with the below command
#rpm -ivh xfsprogs-1.2.0-0.i386.rpm

4. Created the xfs filesystem
#mkfs.xfs -f /dev/sdb2
mkfs.xfs: warning - cannot set blocksize on block device /dev/sdb2: Invalid argument
meta-data=/dev/sdb2 isize=256 agcount=20, agsize=256036 blks
data = bsize=4096 blocks=5120718, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=1200
realtime =none extsz=65536 blocks=0, rtextents=0

#mount /dev/sdb2 /opt/data
mount: fs type xfs not supported by kernel

I would appreciate if some one can help me out.