个人工具

UbuntuHelp:BootHotPlugErrors

来自Ubuntu中文

Wikibot讨论 | 贡献2010年5月19日 (三) 21:46的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


<<Include(Tag/ContentCleanup)>> <<Include(Tag/Unsupported)>> <
>

Problem:

"After the HotPlug service starts it attempts to load the shpchp and pciehp modules. They fail and I don't need them. How can I stop hotplug from trying to load them?" RV "I have the same errors... ...I'm such a unexperienced user, that I don't even know what these services are! ...Does it remove them from the start entries?" ET

Resolution:

I'm one step removed from an unexperienced user myself, and have been wanting to put a stop to the **Fail** messages on boot, **Fail** messages are scary to a retired aircraft mechanic! When someone refers to a file(in this case: "/etc/hotplug/blacklist"), I usually take a look at the file by opening it as a regular user with gedit (Found in menu: Applications -> Accesories -> Text Editor) and see what is in the file and try to understand what I need to do. If it's something I can deal with, then I'll go ahead and open the file as *Super User*, in a terminal, as follows:

  $ gksudo gedit /etc/hotplug/blacklist
  Password:***** (enter your user password)

Gedit will open with *Super User* (su) permission, you'll see the file and can make changes to it. Any of the lines with a # sign in the beginning of it are *commented out*, that is, they are not recognized by the program looking at this file and are only informational.

If you're using Kubuntu, you should use
kdesu kate /etc/hotplug/blacklist
If you're using Xubuntu, you should use

gksudo mousepad /etc/hotplug/blacklist

So we should be able to add the two module names, "shpchp" and "pciehp", to the list; highlighting the email or document instruction's commands and pasting them into the editor works well for me because it puts a stop to my dyslexia (prevents transposing errors). After, remembering to save the changes, close the editor and reboot. Worked well for me. Hope I wasn't too wordy or assuming and works for you. Bill Stoye From Gangalino Thu Dec 16 17:30:56 +0000 2004 From: Gangalino Date: Thu, 16 Dec 2004 17:30:56 +0000 Subject: shpchp Message-ID: <[email protected]https://www.ubuntulinux.org> I've added shpchp to the /etc/hotplug/blacklist file per https://www.ubuntulinux.org/wiki/BootHotPlugErrors/view?searchterm=pciehp, but it still trys to load it on boot. What's the deal? Is there another way to deal with it. It hangs my boot, I have to ctrl-c past it. From RobertMacEwan Thu Dec 23 02:53:23 +0000 2004 From: Robert MacEwan Date: Thu, 23 Dec 2004 02:53:23 +0000 Subject: for Gangalino Message-ID: <[email protected]https://www.ubuntulinux.org> Did you add both shpchp & pciehp to the blacklist or just shpchp? From DaniloPiazzalunga Thu Feb 17 15:41:58 +0000 2005 From: Danilo Piazzalunga Date: Thu, 17 Feb 2005 15:41:58 +0000 Subject: quick way to add something to the blacklist Message-ID: <[email protected]https://www.ubuntulinux.org> echo shpchp | sudo tee -a /etc/hotplug/blacklist echo pciehp | sudo tee -a /etc/hotplug/blacklist

Note: Hotplug is replaced

Note that in newer Ubuntu releases, it seems that hotplug itself is not installed. If you try to apt-get install hotplug, you get this message:

Package hotplug is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  udev module-init-tools

udev is configured in /etc/udev