From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 16:56:12 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 7BEC216A412 for ; Tue, 24 Oct 2006 16:56:12 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7A9943D7B for ; Tue, 24 Oct 2006 16:56:07 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp4-g19.free.fr (Postfix) with ESMTP id 08E21548AF for ; Tue, 24 Oct 2006 18:56:07 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 94D7E9E6C5; Tue, 24 Oct 2006 16:56:50 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 84FF5405B; Tue, 24 Oct 2006 18:56:50 +0200 (CEST) Date: Tue, 24 Oct 2006 18:56:50 +0200 From: Jeremie Le Hen To: freebsd-questions@FreeBSD.org Message-ID: <20061024165650.GH20405@obiwan.tataz.chchile.org> References: <20061024154344.GG20405@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061024154344.GG20405@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: jeremie@le-hen.org Subject: Re: [fbsd] 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 16:56:12 -0000 Hi, On Tue, Oct 24, 2006 at 05:43:44PM +0200, Jeremie Le Hen wrote: > 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 ? Maybe because the kernel didn't have sio(4) ? Sorry for the noise. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >