click , Sorry for being too late ..
at all brother , you did a great help .
- after backing up the /boot dir i did the following:-
ls -l /boot/initrd.$(uname -r).img
ls: /boot/initrd.2.6.18-238.9.1.el5xen.img: No such file or directory
tried ..
ls /boot/ | grep -i initrd
May 25 08:19 initrd-2.6.18-238.el5xen.img
Jun 6 15:07 initrd-kernel_version.img
Jun 6 15:20 initrd-2.6.18-238.9.1.el5xen.img
then ..
[/code]
# mkinitrd -o /boot/initrd.$(uname -r).img $(uname -r)
usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>]
[--force-ide-probe] [--force-scsi-probe | --omit-scsi-modules]
[--image-version] [--force-raid-probe | --omit-raid-modules]
[--with=<module>] [--force-lvm-probe | --omit-lvm-modules]
[--builtin=<module>] [--net-dev=<interface>] [--with-fips]
[--without-usb] [--without-multipath] [--without-dmraid]
[--fstab=<fstab>] [--nocompress] <initrd-image> <kernel-version>
(ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15)
strange ? i think i missed somthing here !
i tried without the -o option
mkinitrd /boot/initrd.$(uname -r).img $(uname -r)
Modulefile is /etc/modprobe.conf
make sure its was successful ..
echo $?
0
ls -a /boot/ | grep -i initrd
May 25 08:19 initrd-2.6.18-238.el5xen.img
Jun 6 15:07 initrd-kernel_version.img
Jun 6 15:20 initrd-2.6.18-238.9.1.el5xen.img
Jun 7 11:38 initrd.2.6.18-238.9.1.el5xen.img
checking the grub.conf file ...
cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/lvm_raid/volroot
# initrd /initrd-version.img
#boot=/dev/md0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.9.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-238.9.1.el5 crashkernel=320M@32M
module /vmlinuz-2.6.18-238.9.1.el5xen ro root=/dev/lvm_raid/volroot rhgb quiet
module /initrd-2.6.18-238.9.1.el5xen.img
after booting up the system the problem was still there
i`v checked the /etc/sysconfig/modules/ and tried to remove is with the help of this URL u provided
http://docs.redhat.com/docs/en-US/Red\_Hat\_Enterprise\_Linux/6/html/Deployment\_Guide/sec-Persistent\_Module_Loading.html
but i`m not sure where to place the code ...
#!/bin/sh
if [ ! -c /dev/input/uinput ] ; then
exec /sbin/modprobe uinput >/dev/null 2>&1
fi
hoever i`m not sure which mod should i add to the previous code to get it unloaded from the kernel ..
lsmod | grep -i raid
raid1 56257 1
dm_raid45 99529 0
dm_message 36289 1 dm_raid45
dm_region_hash 46273 1 dm_raid45
dm_mem_cache 39489 1 dm_raid45
dm_log 44993 3 dm_raid45,dm_region_hash,dm_mirror
dm_mod 101521 21 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
raid456 151137 1
xor 39377 1 raid456
thanks guys for concern ..