Bug 29200

Summary: Syntax errors in /boot/device.hints cause rejection of all subsequent lines, possibly making the system inoperable.
Product: Base System Reporter: robert <robert>
Component: kernAssignee: dcs <dcs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description robert 2001-07-24 22:30:04 UTC
	Syntax errors in /boot/device.hints cause rejection of all
subsequent lines rather than rejection on the one offending line.
Thus minor typographical errors can disable the system or make it
highly unusable and difficult to recover.

How-To-Repeat: 
	Modify a single line of /boot/device.hints to include a small
syntax error: hint.ed.0.port="0x280";  The trailing semicolon is
invalid.  Any subsequent lines will be ignored as a result.  By
placing this line before something non-critical, such as a parallel
port, you can demonstrate that the hints are no longer recognized.

With the error:
ppc0: <Standard parallel printer port> at port 0x3bc-0x3bf irq 5,7 on isa0

Without:

ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0

If this experiment is repeated with the error preceding the system
console, it will not be initialized, and login is not possible on the
console.

The error appears to be in /boot/support.4th, but I have long since
forgotten my forth.
Comment 1 dd freebsd_committer freebsd_triage 2001-07-25 10:08:27 UTC
Responsible Changed
From-To: freebsd-bugs->dcs

Over to author/maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-07-22 07:41:07 UTC
State Changed
From-To: open->feedback

Is this still a problem in modern versions of FreeBSD?
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-08-26 03:27:47 UTC
State Changed
From-To: feedback->closed

Feedback timeout (> 1 month).