Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37086

Summary: Module already in kernel errors in /etc/hotplug/pci.rc using udev
Product: Gentoo Linux Reporter: Ralf Holzer <gentoobugs>
Component: [OLD] Core systemAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: RESOLVED FIXED    
Severity: normal CC: m.debruijne
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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