|
|
|
Re: Redhat-install-list Digest, Vol 89, Issue 4 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Send Redhat-install-list mailing list submissions to
redhat-install-list@xxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://www.redhat.com/mailman/listinfo/redhat-install-list
or, via email, send a message with subject or body 'help' to
redhat-install-list-request@xxxxxxxxxx
You can reach the person managing the list at
redhat-install-list-owner@xxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Redhat-install-list digest..."
Today's Topics:
1. Remove ehci_hcd (redhat@xxxxxxxxxxxxxx)
2. Re: Remove ehci_hcd (Rick Stevens)
3. Re: Remove ehci_hcd (redhat@xxxxxxxxxxxxxx)
----------------------------------------------------------------------
Message: 1
Date: Tue, 12 Jul 2011 12:40:30 -0600
From: redhat@xxxxxxxxxxxxxx
To: redhat-install-list@xxxxxxxxxx
Subject: Remove ehci_hcd
Message-ID: <1310496030.20298.2151002965@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
I would like to prevent ehci_hcd from loading at boot. Doing a modprobe
-r will remove the module, but it re-appers when rebooted. I could put
the command in rc.local, but I would rather not. I have tried the
following things, but it always gets loaded at boot:
Added "blacklist ehci_hcd" /etc/modprobe.d/blacklist
Tried "alias ehci_hcd off" to modprobe.conf
Tried "inistall ehci_hcd /bin/true" to modprobe.conf
I'm seems to be getting loaded with the initrd.img file. I see the
module directories when I mount the image to loop. I tried creating a
new initrd.img, but I havn't been able get the ehci_hcd module to not
show up in the newly created initrd.
Any suggestions?
------------------------------
Message: 2
Date: Tue, 12 Jul 2011 13:04:39 -0700
From: Rick Stevens <ricks@xxxxxxxx>
To: Getting started with Red Hat Linux
<redhat-install-list@xxxxxxxxxx>
Subject: Re: Remove ehci_hcd
Message-ID: <4E1CA8D7.5060400@xxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1
On 07/12/2011 11:40 AM, redhat@xxxxxxxxxxxxxx wrote:
> I would like to prevent ehci_hcd from loading at boot. Doing a modprobe
> -r will remove the module, but it re-appers when rebooted. I could put
> the command in rc.local, but I would rather not. I have tried the
> following things, but it always gets loaded at boot:
>
> Added "blacklist ehci_hcd" /etc/modprobe.d/blacklist
> Tried "alias ehci_hcd off" to modprobe.conf
> Tried "inistall ehci_hcd /bin/true" to modprobe.conf
> I'm seems to be getting loaded with the initrd.img file. I see the
> module directories when I mount the image to loop. I tried creating a
> new initrd.img, but I havn't been able get the ehci_hcd module to not
> show up in the newly created initrd.
It would help if we knew what version of the OS you're running.
Assuming something like RHEL 5.6, then you should remove what you did
before. Next you should add "blacklist ehci_hcd" to the end of the
/etc/modprobe.d/blacklist" file. Then remove the module from the
running system via:
# modprobe -r ehci_hcd
Finally, you need to rebuild the initrd image. This is usually done by:
# cd /boot
# mkinitrd -fv initrd-`uname -r`.img `uname -r`
Reboot and that should do it.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks@xxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Do you know how to save five drowning lawyers? No? GOOD! -
----------------------------------------------------------------------
------------------------------
Message: 3
Date: Tue, 12 Jul 2011 14:59:04 -0600
From: redhat@xxxxxxxxxxxxxx
To: "Getting started with Red Hat Linux"
<redhat-install-list@xxxxxxxxxx>
Subject: Re: Remove ehci_hcd
Message-ID: <1310504344.8733.2151051205@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
On Tue, 12 Jul 2011 13:04 -0700, "Rick Stevens" <ricks@xxxxxxxx> wrote:
> On 07/12/2011 11:40 AM, redhat@xxxxxxxxxxxxxx wrote:
> > I would like to prevent ehci_hcd from loading at boot. Doing a modprobe
> > -r will remove the module, but it re-appers when rebooted. I could put
> > the command in rc.local, but I would rather not. I have tried the
> > following things, but it always gets loaded at boot:
> >
> > Added "blacklist ehci_hcd" /etc/modprobe.d/blacklist
> > Tried "alias ehci_hcd off" to modprobe.conf
> > Tried "inistall ehci_hcd /bin/true" to modprobe.conf
> > I'm seems to be getting loaded with the initrd.img file. I see the
> > module directories when I mount the image to loop. I tried creating a
> > new initrd.img, but I havn't been able get the ehci_hcd module to not
> > show up in the newly created initrd.
>
> It would help if we knew what version of the OS you're running.
> Assuming something like RHEL 5.6, then you should remove what you did
> before. Next you should add "blacklist ehci_hcd" to the end of the
> /etc/modprobe.d/blacklist" file. Then remove the module from the
> running system via:
>
> # modprobe -r ehci_hcd
>
> Finally, you need to rebuild the initrd image. This is usually done by:
>
> # cd /boot
> # mkinitrd -fv initrd-`uname -r`.img `uname -r`
>
> Reboot and that should do it.
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, C2 Hosting ricks@xxxxxxxx -
> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
> - -
> - Do you know how to save five drowning lawyers? No? GOOD! -
> ----------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request@xxxxxxxxxx
> Subject: unsubscribe
>
Sorry, meant to give RH version of 5.6. I had done the steps you
outlined above and the initrd created still loads the ehci module.
Removing the module and then doing a lsmod comfirms that it is unloaded.
Created the initrd again using the verbose switch as you suggested and
I see:
Looking for deps of module ehci-hcd
Using modules:
/lib/modules/2.6.18-238.12.1.el5/kernel/drivers/usb/host/ehci-hcd.ko
(among others)
copy from
`/lib/modules/2.6.18-238.12.1.el5/kernel/drivers/usb/host/ehci-hcd.ko'
[elf32-i386] to `/tmp/initrd.wb7347/lib/ehci-hcd.ko' [elf32-i386]
Adding module ehci-hcd
I did a strace as well, but I can seem to see why it continues to load
the module in the new initrd. I even tried using "blacklist ehci-hcd"
(instead of blacklist ehci_hcd) in all the /etc/modprobe.d/ blacklist
files and no change.
------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
End of Redhat-install-list Digest, Vol 89, Issue 4
**************************************************
Attachment:
CV_Vikas_Sharma.doc
Description: MS-Word document
_______________________________________________ Redhat-install-list mailing list Redhat-install-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@xxxxxxxxxx Subject: unsubscribe