Bug 28011

Summary: modprobe fails to load ppp module when ppp built into kernel
Product: [Retired] Red Hat Linux Reporter: Reuben Farrelly <reuben-redhatbugzilla>
Component: modutilsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-16 18:49:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Reuben Farrelly 2001-02-16 18:49:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)


modprobe fails to load ppp module when built into kernel - modutils should 
*not* be looking for ppp module if it is compiled in and not referenced in 
modules.conf

Reproducible: Always
Steps to Reproduce:
1. Build new kernel with PPP support built in rather than as a module
2. ifup ppp0 and ifdown ppp0
3. [watch messages log]
	

Actual Results:  Logged

Feb 17 05:11:21 tornado modprobe: modprobe: Can't locate module ppp0


Expected Results:  This warning message should not have been printed; 
modprobe should not be looking for this module

Adding

alias char-major-108 ppp_generic off
alias /dev/ppp ppp_generic off

to modules.conf worked around the issue, modutils has the 
alias "alias /dev/ppp ppp_generic" built in by default, an off statement 
in modules.conf was required

I imagine this would be an issue with other components built into the 
kernel as well that were originally packaged as modules

Comment 1 Bill Nottingham 2001-02-16 19:17:29 UTC
The alias is needed if it's compiled as a module, though, and that's the
default configuration.