From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 23 19:54:18 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 A717C16A4CE for ; Wed, 23 Mar 2005 19:54:18 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E7343D54 for ; Wed, 23 Mar 2005 19:54:16 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 2222A7A403; Wed, 23 Mar 2005 11:54:16 -0800 (PST) Message-ID: <4241C967.4090801@elischer.org> Date: Wed, 23 Mar 2005 11:54:15 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en, hu MIME-Version: 1.0 To: Aziz KEZZOU References: <37e131660503231138268bc6cb@mail.gmail.com> In-Reply-To: <37e131660503231138268bc6cb@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: running freebsd in qemu using the "-nographic" 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: Wed, 23 Mar 2005 19:54:18 -0000 Aziz KEZZOU wrote: >Hi all, >I am running freebsd 5.3 under qemu (a fast IA32 emulator). My host >system is linux. Everything works fine, but I want to get rid of this >small non-scrollable window, not practical when gcc says I made many >many errors :-)... > > you can scroll it after hittong tthe "scroll lock" key >Instead I want to get a console. In qemu's documentation it says : >====================================================================== >`-nographic' > Normally, QEMU uses SDL to display the VGA output. With this >option, you can totally disable graphical output so that QEMU is a >simple command line application. The emulated serial port is >redirected on the console. Therefore, you can still use QEMU to debug >a Linux kernel with a serial console. >====================================================================== > >So basically what I need is, some how, to tell the freebsd kernel to >forward its output/input to a serial port. In linux this is done by >supplying the parameter "console=ttyS0". Is there something equivalent >in FreeBSD ? > > > in /boot/loader.conf add: console="comconsole" that should do it.. >Thanks for your help, >Aziz >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >