个人工具
登录
查看“UbuntuHelp:BootHotPlugErrors”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:BootHotPlugErrors”的源代码
来自Ubuntu中文
←
UbuntuHelp:BootHotPlugErrors
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/BootHotPlugErrors}} {{Languages|UbuntuHelp:BootHotPlugErrors}} <<Include(Tag/ContentCleanup)>> <<Include(Tag/Unsupported)>> <<BR>> === Problem: === "After the [[UbuntuHelp:HotPlug|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: <pre><nowiki> $ gksudo gedit /etc/hotplug/blacklist Password:***** (enter your user password) </nowiki></pre> '''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 <pre><nowiki> kdesu kate /etc/hotplug/blacklist </nowiki></pre> If you're using Xubuntu, you should use <pre><nowiki> gksudo mousepad /etc/hotplug/blacklist </nowiki></pre> 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: <20041216173056+0000@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: <20041223025323+0000@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: <20050217154158+0000@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 <code><nowiki>apt-get install hotplug</nowiki></code>, you get this message: <pre><nowiki> 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 </nowiki></pre> udev is configured in <code><nowiki>/etc/udev</nowiki></code> [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:BootHotPlugErrors
。