Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2001 17:22:46 -0400
From:      Robert Sexton <robert@kudra.com>
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/29200: bug report
Message-ID:  <20010724172246.A59884@kudra.com>

next in thread | raw e-mail | index | archive | help

>Number:         29200
>Category:       misc
>Synopsis:       bug report
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 14:30:04 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010724172246.A59884>