Bug 20231

Summary: non existing kernel files found in conf/files.*
Product: Base System Reporter: clefevre <clefevre>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description clefevre 2000-07-28 01:20:00 UTC
	Some files are referenced in /sys/conf/files.* but are not
	part of 4.0-STABLE.

Fix: 

n/a
How-To-Repeat: 
	# cd /sys
	# awk '/standard|optional/&&!(/^#/||/\\$/){print $1}' conf/files |
	  xargs ls -d > /dev/null
ls: alpha/alpha/mountroot.c: No such file or directory
ls: alpha/alpha/mp_machdep.c: No such file or directory
ls: alpha/alpha/perfmon.c: No such file or directory
ls: alpha/alpha/perfmon.c: No such file or directory
ls: alpha/alpha/simplelock.s: No such file or directory
ls: alpha/alpha/userconfig.c: No such file or directory
ls: i386/isa/if_wlp.c: No such file or directory

	# egrep $(\
	  awk '/standard|optional/&&!(/^#/||/\\$/){print $1}' conf/files.* |
	  xargs ls -d 2>&1 > /dev/null | awk -F: '{printf "%s ", $2}' |
	  sed 's/^ /(/;s/  /|/g;s/ $/)/') conf/files.*
conf/files.alpha:alpha/alpha/mountroot.c                optional        slice
conf/files.alpha:alpha/alpha/mp_machdep.c       optional        smp
conf/files.alpha:alpha/alpha/perfmon.c          optional        perfmon profiling-routine
conf/files.alpha:alpha/alpha/perfmon.c          optional        perfmon
conf/files.alpha:alpha/alpha/simplelock.s       optional        smp
conf/files.alpha:alpha/alpha/userconfig.c       optional        userconfig
conf/files.i386:i386/isa/if_wlp.c               optional        wlp
Comment 1 clefevre 2000-10-25 21:29:35 UTC
could someone close this PR ?

it seems /sys/conf/files.* have been fixed.

# cd /sys
# awk '/standard|optional/&&!(/^#/||/\\$/){print $1}' conf/files |
  xargs ls -d > /dev/null 
ls: net/mppcc.c: No such file or directory
ls: net/mppcd.c: No such file or directory

those missing files are "normal" as /sys/conf/files says :

# The next two files (plus the header file net/mppc.h) are proprietary
and
# must be obtained elsewhere in order to enable
NETGRAPH_MPPC_COMPRESSION
net/mppcc.c             optional netgraph_mppc_compression
net/mppcd.c             optional netgraph_mppc_compression

Cyrille.
--
home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr
Comment 2 Cyrille Lefevre 2001-01-03 21:07:22 UTC
hi and HNY,

could someone close this PR#20231 ?
/sys/conf/files.* have been fixed.

thanks.

Cyrille.
--
home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr
Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2001-01-03 21:14:46 UTC
State Changed
From-To: open->closed

Closed as originator reports satisfaction.