Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 05:05:20 +0200 (CEST)
From:      marius@alchemy.franken.de
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jkh@freebsd.org
Subject:   bin/30210: 4.4-rc2 install floppy: panic when selecting terminal type
Message-ID:  <200108300305.f7U35Kg67032@alchemy.franken.de>

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

>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




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