From robert@tabby.kudra.com  Tue Jul 24 14:22:47 2001
Return-Path: <robert@tabby.kudra.com>
Received: from tabby.kudra.com (gw.kudra.com [199.6.32.20])
	by hub.freebsd.org (Postfix) with ESMTP id 1F30137B403
	for <freebsd-gnats-submit@freebsd.org>; Tue, 24 Jul 2001 14:22:47 -0700 (PDT)
	(envelope-from robert@tabby.kudra.com)
Received: (from robert@localhost)
	by tabby.kudra.com (8.11.4/8.11.3) id f6OLMkt59920
	for freebsd-gnats-submit@freebsd.org; Tue, 24 Jul 2001 17:22:46 -0400 (EDT)
	(envelope-from robert)
Message-Id: <20010724172246.A59884@kudra.com>
Date: Tue, 24 Jul 2001 17:22:46 -0400
From: Robert Sexton <robert@kudra.com>
To: freebsd-gnats-submit@freebsd.org
Subject: bug report

>Number:         29200
>Category:       kern
>Synopsis:       Syntax errors in /boot/device.hints cause rejection of all subsequent lines, possibly making the system inoperable.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    dcs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 14:30:04 PDT 2001
>Closed-Date:    Thu Aug 26 02:28:16 GMT 2004
>Last-Modified:  Thu Aug 26 02:28:16 GMT 2004
>Originator:     Robert Sexton
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD arlin.dyn.kudra.com 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Mon Jul 23 18:24:29 CEST 2001 toor@arlin.dyn.kudra.com:/usr/src.5/sys/i386/compile/ARLIN i386


	
>Description:
	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.

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dcs 
Responsible-Changed-By: dd 
Responsible-Changed-When: Wed Jul 25 02:08:27 PDT 2001 
Responsible-Changed-Why:  
Over to author/maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29200 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Thu Jul 22 06:41:07 GMT 2004 
State-Changed-Why:  
Is this still a problem in modern versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29200 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 26 02:27:47 GMT 2004 
State-Changed-Why:  
Feedback timeout (> 1 month). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29200 
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 MIME-Version: 1.0
 
 
 Synopsis:	Syntax errors in /boot/device.hints cause rejection of
 >all subsequent lines, possibly making the system inoperable.
