Results 1 to 8 of 8
hi every one ,
Wondering if any of you experienced this During "Centos5.6" Boot .. !
1)NOT USING MMCONFIG
2)insmod Error inserting `/lib/raid456.ko` -1 File Exist
Dell PowerEdge T110 with ...
- 06-05-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 13
insmod Error inserting `/lib/raid456.ko` -1 File Exist
hi every one ,
Wondering if any of you experienced this During "Centos5.6" Boot .. !
1)NOT USING MMCONFIG
2)insmod Error inserting `/lib/raid456.ko` -1 File Exist
Dell PowerEdge T110 with 4sata Controllers with Centos2.6.18-238.9.1.el5xen installed .
RegardsCode:/boot on /dev/md0 / on /dev/md1
- 06-05-2011 #2Just Joined!
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 71
That usually means that the module is loaded.Have you checked with "lsmod|grep raid456"?
- 06-06-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 13
hello Siddly ,
yes my friend i`ve checked it ..
i found a thread mentioning the issueCode:lsmod | grep raid456 raid456 151137 1 xor 39377 1 raid456
https : // bugzilla.redhat.com/show_bug.cgi?id=512892
but still cant figure how to eliminate it "specifically rebuilding the initrd"
Thanks Siddly..
- 06-07-2011 #4Linux Newbie
- Join Date
- Dec 2010
- Posts
- 146
Well, that's the QA of Red Hat.
- 06-07-2011 #5Just Joined!
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 71
The URL said the bug couldn't be found, but I can't see your problem.
It's automatically loading the module as I thought. If that's not the module you want, i.e you have built an updated module you want to use instead, replace the module of the same name in /lib/modules/`uname -r`/kernel/drivers/scsi with your own and run "depmod -a", then reboot.
- 06-07-2011 #6Just Joined!
- Join Date
- May 2011
- Posts
- 13
i`v checked the /etc/sysconfig/modules/ and tried to remove is with the help of this URL
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
Code:#!/bin/sh if [ ! -c /dev/input/uinput ] ; then exec /sbin/modprobe uinput >/dev/null 2>&1 fii`d like to know how to proceed with this approach , can u explain a little bit more plzreplace the module of the same name in /lib/modules/`uname -r`/kernel/drivers/scsi with your own and run "depmod -a", then reboot.
Thanks my friend
- 06-08-2011 #7Just Joined!
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 71
Give me some more information about what you are trying to do. From my reading of the situation you described:-
The existing raid456 module is being loaded, but you don't want that.
Instead you have a different or updated raid45 module you want to use instead.
If the above is true the existing raid456.ko module exists in /lib/modules/`uname -r`/kernel/drivers/scsi
You can list it, e.g if your kernel is 2.6.39, "uname -r" (without the "quotes) will return the kernel name.
slipstream:~ # uname -r
3.0.0-rc2-smp
slipstream:~ # ls /lib/modules/`uname -r`
build kernel misc modules.alias modules.alias.bin modules.builtin modules.builtin.bin modules.dep modules.dep.bin modules.devname modules.order modules.softdep modules.symbols modules.symbols.bin source
slipstream:~ # ls /lib/modules/3.0.0-rc2-smp
build kernel misc modules.alias modules.alias.bin modules.builtin modules.builtin.bin modules.dep modules.dep.bin modules.devname modules.order modules.softdep modules.symbols modules.symbols.bin source
slipstream:~ #
As you can see both the above commands return the same information.
Somewhere under /lib/modules/`uname -r`/kernel/drivers there is a raid456.ko module that you need to replace with the new raid45.ko module.
After replacing the module, "depmod -a" will check and enable the module so that when you reboot your new module will be the one used.
There is another way but what I described above is the simplest.
- 06-12-2011 #8Just Joined!
- Join Date
- May 2011
- Posts
- 13
Hello Siddly ,
sorry for being too late , Exams stuff
well , its by default loads the modules required to read the Disk-array to access the drives , as it reads 2 Raid arraysFrom my reading of the situation you described:-
The existing raid456 module is being loaded, but you don't want that.
Instead you have a different or updated raid45 module you want to use instead.
/dev/md0 , /dev/md1, it adds the module twice ..
after searching the web , i found that its a known bug for the
mkinitrd-5.1.19.6-68.el5_6.1 version ,
a normal fix of this bug is being told that the mkinitrd should be recreated with
i tried it but in vain .Code:mkinitrd -v -f /boot/initrd.$(uname -r).img $(uname -r)
a friend of mine , provided me with patch made for a work ground regarding this problem , which was
updating the /sbin/mkinitrd with the following lines
1)after making sure that the grub.conf file is also being updated with the exact kernel image being created with mkinitrdCode:#only need to add each module once case " $(eval echo \${$modlist}) " in *" $modName "*) return ;; *) eval $modlist=\"\${$modlist} $modName\" ;; esac
2) makin sure that the module dosn`t gets add twice
the problem still persists
this isn`t what i`m trying to do , although i`m not sure if it can resolve the problem.Somewhere under /lib/modules/`uname -r`/kernel/drivers there is a raid456.ko module that you need to replace with the new raid45.ko module.
ive been discussing this problem on another forum , before i try to to post here in this decent site .
if u`d like to have a look please see it on
http : // unix.com/red-hat/160917-insmod-error-inserting-lib-raid456-ko-1-file-exist.html
thanks My Friend I really do appreciate your help..


Reply With Quote
