From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 15:43:00 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9498616A403 for ; Tue, 24 Oct 2006 15:43:00 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A3D43D6B for ; Tue, 24 Oct 2006 15:42:59 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 29F742775D for ; Tue, 24 Oct 2006 17:42:57 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id C53469E6C2; Tue, 24 Oct 2006 15:43:44 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id B1515405B; Tue, 24 Oct 2006 17:43:44 +0200 (CEST) Date: Tue, 24 Oct 2006 17:43:44 +0200 From: Jeremie Le Hen To: freebsd-questions@FreeBSD.org Message-ID: <20061024154344.GG20405@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: jeremie@le-hen.org Subject: Running a FreeBSD guest with qemu on a FreeBSD host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 15:43:00 -0000 Hi, (Please Cc: me in your replies.) I'm trying to run TinyBSD in Qemu, using the -nographic mode. Thus I need to configure FreeBSD to use a serial console. % # cat /mnt/md/boot.config % -h % # cat /mnt/md/boot/loader.conf % console="comconsole" % boot_serial="YES" When I run Qemu with this command: % qemu -hda tinybsd.img -m 64 -nographic -serial telnet:127.0.0.1:1234,server I get the following output, when telnet(1)'ing to 127.0.0.1:1234: % Trying 127.0.0.1... % Connected to localhost. % Escape character is '^]'. % /boot.config: -hConsoles: serial port % BIOS drive C: is disk0 % BIOS 639kB/64512kB available memory % % FreeBSD/i386 bootstrap loader, Revision 1.1 % (root@jarjarbinks.octobre.int, Fri Oct 20 22:23:14 UTC 2006) % Loading /boot/defaults/loader.conf % /boot/kernel/kernel text=0x337d74 data=0x357c4+0x3125c syms=[0x4+0x42d60+0x4+0x5527d] % can't open '/boot/beastie.4th': no such file or directory % % - % Hit [Enter] to boot immediately, or any other key for command prompt. % Booting [/boot/kernel/kernel]... % - And the output stalls here. Any idea what's happening ? Does the kernel switch back console to vga ? Thank you. Cheers, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >