From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 22:58:35 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CCD416A4CE for ; Mon, 9 Feb 2004 22:58:35 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6353443D2F for ; Mon, 9 Feb 2004 22:58:34 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.10/8.12.10) with ESMTP id i1A6wUcj080809 for ; Tue, 10 Feb 2004 09:58:30 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 10 Feb 2004 09:58:30 +0300 (MSK) From: Dmitry Morozovsky To: freebsd-hackers@freebsd.org Message-ID: <20040210075552.O78030@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 4-stable bug: comconsole and boot -a option X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 06:58:35 -0000 Dear colleagues, I found very strange bug. Actually, bug was introduced at running system with vinum root, when I did not succeed in mounting explicit root via `boot -a' prompt. I did a bit of research, and found that there is certainly a bug when comconsole is enabled: ad0: 7339MB [15907/15/63] at ata0-master UDMA33 Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:/dev/ad0s1e Mounting root from ufs:/dev/ad0s1a Look at two last lines. Input asked at vfs_mountroot_ask() did not used, possibly because kern/vfs_conf.c:gets() dit not actually read the input from comconsole. However, I'm not kernel hacker and looking at kern/tty_cons.c scares me a bit :) Should I file a PR for this? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------