Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37086 - Module already in kernel errors in /etc/hotplug/pci.rc using udev
Summary: Module already in kernel errors in /etc/hotplug/pci.rc using udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 03:32 UTC by Ralf Holzer
Modified: 2004-03-29 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Holzer 2004-01-03 03:32:34 UTC
I just switched to udev on kernel 2.6.0. The /etc/hotplug/pci.rc script now reports the following errors on startup:

Jan  3 06:11:44 domino modprobe: FATAL: Module sis_agp already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ehci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ohci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module sis_agp already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ehci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ohci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module sis_agp already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ehci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module ohci_hcd already in kernel.
Jan  3 06:11:44 domino modprobe: FATAL: Module sis_agp already in kernel.

If I remove the "/sbin/hotplug pci" call from pci.rc, the errors are gone. 
It makes no difference whether I autoload these modules on boot or not. 

I am using udev 012 and hotplug 20030805-r3.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
 

Expected Results:
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-03 08:30:55 UTC
Try changing ``MODPROBE="/sbin/modprobe -s"'' in /etc/hotplug.functions to ``MODPROBE="/sbin/modprobe -s -q"'' and see if that helps?
Comment 2 Ralf Holzer 2004-01-04 02:45:32 UTC
Yes, adding -q to modprobe fixes it. Thanks.
Comment 3 Pau Oliva 2004-01-04 16:30:25 UTC
Same error here, fixed adding "-q" to modprobe as plasmaroo said.
Shouldn't this be fixed in the ebuild?
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-01-04 16:45:46 UTC
Yes, I'm just working on an efficient and slightly better solution - adding "-q" also shuts out "module not found" errors, which is not what somebody would ideally want.
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-29 11:37:40 UTC
I just fixed this in upstream, will show up in next release.
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-29 16:33:56 UTC
Fixed in 2004_03_29 release