From owner-freebsd-bugs Tue Jul 24 14:30: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CA4F637B406 for ; Tue, 24 Jul 2001 14:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6OLU4Q45952; Tue, 24 Jul 2001 14:30:04 -0700 (PDT) (envelope-from gnats) Received: from tabby.kudra.com (gw.kudra.com [199.6.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 1F30137B403 for ; 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 To: freebsd-gnats-submit@freebsd.org Subject: misc/29200: bug report Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: at port 0x3bc-0x3bf irq 5,7 on isa0 Without: ppc0: 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