From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 23 19:38:39 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 6A8F516A4CE for ; Wed, 23 Mar 2005 19:38:39 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDBFA43D31 for ; Wed, 23 Mar 2005 19:38:38 +0000 (GMT) (envelope-from opensource.enthousiat@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so279336wri for ; Wed, 23 Mar 2005 11:38:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=pOEH7T9DlLZpRJ3DZwTBJ3wejOoTqjhpOuzHOZDktgLYZ0+CyXAUyGoYnwlSw46ZSqREB0tX/DlfJFoSXiAjZYLNI+8OOC5qDYh71Yw8AsJQ/Elv6m1Cud54cTx6AZIHQ/rirpEl/8/kyZEOlBYUMD9RuO9IkeKpgLWSsV0DqpE= Received: by 10.54.80.1 with SMTP id d1mr412672wrb; Wed, 23 Mar 2005 11:38:38 -0800 (PST) Received: by 10.54.49.28 with HTTP; Wed, 23 Mar 2005 11:38:38 -0800 (PST) Message-ID: <37e131660503231138268bc6cb@mail.gmail.com> Date: Wed, 23 Mar 2005 14:38:38 -0500 From: Aziz KEZZOU To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: running freebsd in qemu using the "-nographic" option ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aziz KEZZOU 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:38:39 -0000 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 :-)... 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 ? Thanks for your help, Aziz