From owner-freebsd-bugs Wed Aug 29 20: 0:11 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 D5B1837B403 for ; Wed, 29 Aug 2001 20:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7U302b57253; Wed, 29 Aug 2001 20:00:02 -0700 (PDT) (envelope-from gnats) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.140]) by hub.freebsd.org (Postfix) with ESMTP id 9C43537B405; Wed, 29 Aug 2001 19:57:07 -0700 (PDT) (envelope-from corex@alchemy.franken.de) Received: (from corex@localhost) by alchemy.franken.de (8.11.3/8.11.4/ALCHEMY.FRANKEN.DE) id f7U35Kg67032; Thu, 30 Aug 2001 05:05:20 +0200 (CEST) (envelope-from corex) Message-Id: <200108300305.f7U35Kg67032@alchemy.franken.de> Date: Thu, 30 Aug 2001 05:05:20 +0200 (CEST) From: marius@alchemy.franken.de Reply-To: marius@alchemy.franken.de To: FreeBSD-gnats-submit@freebsd.org Cc: jkh@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/30210: 4.4-rc2 install floppy: panic when selecting terminal type 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: 30210 >Category: bin >Synopsis: 4.4-rc2 install floppy: panic when selecting terminal type >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 29 20:00:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: marius strobl >Release: FreeBSD 4.4-RC2 >Organization: >Environment: FreeBSD 4.4-RC2 >Description: trying to select a terminal type beyond "cons25-m" in the options menu causes an immediate "panic: Going nowhere without my init!" >How-To-Repeat: boot from the install floppies, go to options menu and press space twice at the "Terminal"-option >Fix: i guess the problem is type "xterm" in "RunningAsInit"-mode if so, this could be a possible fix (untested): --- options.c.orig Fri Aug 24 01:02:06 2001 +++ options.c Fri Aug 24 01:02:35 2001 @@ -356,7 +356,7 @@ variable_set2(VAR_TERM, "cons25", 0); else if (!strcmp(cp, "cons25")) variable_set2(VAR_TERM, "cons25-m", 0); - else if (!strcmp(cp, "cons25-m")) + else if (!strcmp(cp, "cons25-m") && !RunningAsInit) variable_set2(VAR_TERM, "xterm", 0); else /* must be "high" - wrap around */ variable_set2(VAR_TERM, "ansi", 0); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message