From corex@alchemy.franken.de  Wed Aug 29 19:57:08 2001
Return-Path: <corex@alchemy.franken.de>
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
Subject: 4.4-rc2 install floppy: panic when selecting terminal type
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30210
>Category:       bin
>Synopsis:       4.4-rc2 install floppy: panic when selecting terminal type
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    qa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 29 20:00:02 PDT 2001
>Closed-Date:    Mon Oct 1 14:08:11 PDT 2001
>Last-Modified:  Sat Aug 24 19:20:34 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Thu Aug 30 00:19:09 PDT 2001 
Responsible-Changed-Why:  
Problem with 4.4 sysinstall. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30210 
Responsible-Changed-From-To: jkh->eric 
Responsible-Changed-By: jkh 
Responsible-Changed-When: Thu Aug 30 17:02:43 PDT 2001 
Responsible-Changed-Why:  
Because it beats having me do it. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30210 
Responsible-Changed-From-To: eric->freebsd-qa 
Responsible-Changed-By: eric 
Responsible-Changed-When: Mon Oct 1 11:55:36 PDT 2001 
Responsible-Changed-Why:  
assign idle sysinstall bugs to freebsd-qa, as suggested by murray 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30210 
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Mon Oct 1 14:08:11 PDT 2001 
State-Changed-Why:  
This bug is now fixed in -CURRENT and in -STABLE.  Unfortunately I 
didn't see this bug report before the release of 4.4.  Thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30210 
Responsible-Changed-From-To: freebsd-qa->qa 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Aug 24 19:20:11 PDT 2002 
Responsible-Changed-Why:  
Use short names for mailing list to make searches    
using the web query form work with the shown responsible. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30210 
>Unformatted:
