Re: stopping dm-* modules and associated files from loading at boot

2010-09-02 Thread Alan Bartlett
I don't know if this will help but here follows the lists of modules that are included in the initrd of two systems. The first system, Duo1, has a SATA disk and does not use LVM -- [r...@duo1 ~]# gunzip /boot/initrd-$(uname -r).img | cpio -it 2/dev/null | grep ko$ | sort lib/ahci.ko

Re: stopping dm-* modules and associated files from loading at boot

2010-09-01 Thread Akemi Yagi
On Tue, Aug 31, 2010 at 10:54 PM, g gel...@bellsouth.net wrote: On 09/01/2010 05:10 AM, Akemi Yagi wrote: snip I understand mkinitrd would not honor the options if the system sees certain hardware. from where do you get this? to my knowledge, i have in/on/around this system box to give

Re: stopping dm-* modules and associated files from loading at boot

2010-09-01 Thread g
On 09/01/2010 03:17 PM, Akemi Yagi wrote: snip I don't remember where I saw the description about the omit options. ok. In any event, that approach apparently did not work for you. very true. The unpacking/repacking method is a sure way to remove modules from the .img file. Your system

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread g
On 08/31/2010 04:35 AM, Chris Stevens wrote: snip Some suggestions. First, I think that renaming the dm directory won't do what you want because a modprobe -a will rebuild the dependencies with the new directory names. sounds logical. That's just a theory of mine that's unproven. a

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread Akemi Yagi
On Tue, Aug 31, 2010 at 3:49 PM, g gel...@bellsouth.net wrote: So a mkinitrd would probably need to be done after making /etc/modprobe.conf. which i did. i thank you for your help. i am open to other suggestions. Are you using LVM? If not, you might want to run mkinitrd with the

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread g
On 08/31/2010 11:33 PM, Akemi Yagi wrote: snip Are you using LVM? no. i dislike lvm almost as much as ms bs os. If not, you might want to run mkinitrd with the following options: --omit-raid-modules --omit-lvm-modules it had been a while from last using mkinitrd, so i read man again. i

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread g
On 08/31/2010 11:33 PM, Akemi Yagi wrote: thank you for reply. snip Are you using LVM? no. i dislike lvm almost as much as ms bs os. If not, you might want to run mkinitrd with the following options: --omit-raid-modules --omit-lvm-modules tried; # mkinitrd --omit-raid-modules

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread Akemi Yagi
On Tue, Aug 31, 2010 at 8:06 PM, g gel...@bellsouth.net wrote: On 08/31/2010 11:33 PM, Akemi Yagi wrote:  # mkinitrd --omit-raid-modules --omit-lvm-modules \    /boot/initrd-2.6.18-164.11.1.el5.img 2.6.18-164.11.1.el5 dm-* modules load on boot. added  blacklist dm-[module names] to

Re: stopping dm-* modules and associated files from loading at boot

2010-08-31 Thread g
On 09/01/2010 05:10 AM, Akemi Yagi wrote: snip I understand mkinitrd would not honor the options if the system sees certain hardware. from where do you get this? to my knowledge, i have in/on/around this system box to give any indication of raid. -- peace out. tc,hago. g . in a

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread Alan Bartlett
On 30 August 2010 12:45, g gel...@bellsouth.net wrote: running sl 5.4. i have never used raid drives and i am not using raid, so i want to stop dm-* modules and associated files from loading at boot. I would suggest that you consider using the boot line parameter nodmraid. To see what that

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread Alan Bartlett
On 30 August 2010 18:12, Alan Bartlett a...@elrepo.org wrote: On 30 August 2010 12:45, g gel...@bellsouth.net wrote: running sl 5.4. i have never used raid drives and i am not using raid, so i want to stop dm-* modules and associated files from loading at boot. I would suggest that you

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread g
alan, i thank you for your help. easy first: On 08/30/2010 06:00 PM, Alan Bartlett wrote: snip Also, I forgot to mention creating a noraid file in your /etc/sysconfig/mkinitrd/ directory with one line that reads: DMRAID=no created, raid loads. On 08/30/2010 05:12 PM, Alan Bartlett

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread Alan Bartlett
On 31 August 2010 01:37, g gel...@bellsouth.net wrote: easy first: On 08/30/2010 06:00 PM, Alan Bartlett wrote: snip Also, I forgot to mention creating a noraid file in your /etc/sysconfig/mkinitrd/ directory with one line that reads: DMRAID=no created, raid loads. Did you recreate the

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread g
On 08/31/2010 12:37 AM, g wrote: snip so, to see what is loading modules, i have renamed; /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/md/ to /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/00.md/ this should/may/i hope, give an error message during boot. why me Lord? why

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread g
On 08/31/2010 01:24 AM, Alan Bartlett wrote: snip Did you recreate the relevant initrd for the kernel? no. you did no mention, and i did not think of it. [see bellow] snip Ah, I've just noticed something. Initially your were referring to dmraid -- the device mapper RAID. Latterly you have

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread Alan Bartlett
On 31 August 2010 03:18, g gel...@bellsouth.net wrote: big snip in other words, *all* that relates to 'raid' is commented out. only thing i have not done is run 'mkinitrd'. so, should i run 'mkinitrd' or not? As a scientist, I would perform the experiment but now, I suspect, it will not

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread g
On 08/31/2010 03:01 AM, Alan Bartlett wrote: snip As a scientist, I would perform the experiment but now, I suspect, it will not make any difference. :-/ i am not a scientist, but i do know how to 'swag'. ;) will give mkinitrd a run tomorrow. I right out of ideas. Perhaps someone else may

Re: stopping dm-* modules and associated files from loading at boot

2010-08-30 Thread Chris Stevens
On 8/30/2010 11:14 PM, g wrote: On 08/31/2010 03:01 AM, Alan Bartlett wrote: snip As a scientist, I would perform the experiment but now, I suspect, it will not make any difference. :-/ i am not a scientist, but i do know how to 'swag'. ;) will give mkinitrd a run tomorrow. I right out