Bug 28011 - modprobe fails to load ppp module when ppp built into kernel
Summary: modprobe fails to load ppp module when ppp built into kernel
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: modutils
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-16 18:49 UTC by Reuben Farrelly
Modified: 2014-03-17 02:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-16 18:49:06 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.