From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 19 04:20:33 2005 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 21CB716A4CF for ; Sat, 19 Feb 2005 04:20:33 +0000 (GMT) Received: from duchess.speedfactory.net (duchess.speedfactory.net [66.23.201.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 90B3E43D54 for ; Sat, 19 Feb 2005 04:20:32 +0000 (GMT) (envelope-from ups@tree.com) Received: (qmail 21454 invoked by uid 89); 19 Feb 2005 04:20:30 -0000 Received: from duchess.speedfactory.net (66.23.201.84) by duchess.speedfactory.net with SMTP; 19 Feb 2005 04:20:30 -0000 Received: (qmail 21426 invoked by uid 89); 19 Feb 2005 04:20:30 -0000 Received: from unknown (HELO ?66.23.216.52?) (66.23.216.52) by duchess.speedfactory.net with SMTP; 19 Feb 2005 04:20:30 -0000 From: Stephan Uphoff To: Ulrich Spoerlein In-Reply-To: <20050218233942.GA76830@galgenberg.net> References: <420731DD.3050206@syskonnect.de> <420B938D.2040708@syskonnect.de> <1108352789.6309.9948.camel@palm.tree.com> <20050216110200.GA913@galgenberg.net> <1108755156.7621.8860.camel@palm.tree.com> <20050218233942.GA76830@galgenberg.net> Content-Type: text/plain Message-Id: <1108786727.35807.905.camel@beach> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 18 Feb 2005 23:18:50 -0500 Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: Firewire blues 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: Sat, 19 Feb 2005 04:20:33 -0000 On Fri, 2005-02-18 at 18:39, Ulrich Spoerlein wrote: > On Fri, 18.02.2005 at 14:32:36 -0500, Stephan Uphoff wrote: > > Changing a line in the function dcons_modevent() (File > > sys/dev/dcons/dcons.c or dcons_os.c depending on your sources) should > > help you. > > > > #if __FreeBSD_version >= 500000 > > - if (ret == 0) { > > + if (ret == 0 && dcons_consdev.cn_pri == CN_DEAD) { > > dcons_cnprobe(&dcons_consdev); > > dcons_cninit(&dcons_consdev); > > cnadd(&dcons_consdev); > > } > > #endif > > Didn't work. Strange - are you sure that you have not accidentally have options DCONS_FORCE_CONSOLE=1 in your config file? ( Or forgot to config or make depend after removing it?) Works on 5.3 release for me. (Default loader.conf ...) > > As a work around you should also be able to set > > boot_multicons="YES" > > in your /boot/loader.conf file. (Not tested) > > Didnt work either. I tried both and booted into single-user mode. There > was _no_ local console, only the firewire one. There is a tunable hidden in dcons_crom that causes the dcons console to be selected. Try adding boot_multicons and hw.firewire.dcons_crom.force_console to /boot/loader.conf: boot_multicons="YES" hw.firewire.dcons_crom.force_console=0 > > On a running system you can use conscontrol to change console devices. > > This works, running conscontrol consolectl immediately switches to the > local console, but how am I supposed to run this command when booting > into singleuser? Can I somehow lower the priority of dcons? > > Ulrich Spoerlein