From owner-freebsd-questions@FreeBSD.ORG Sun Jul 29 14:34:35 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D636C16A46E for ; Sun, 29 Jul 2007 14:34:35 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC7813C49D for ; Sun, 29 Jul 2007 14:34:35 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so123007nfb for ; Sun, 29 Jul 2007 07:34:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=ABiZ0FMTIMg7cwhOXTphrlW0Kd4QX5XkEtZlQBn86NIEthnlwTZUjFP1s63VZRwwO4xFF5oMmazb7E0kwjwEc4zrIfBfIIJSKUP8x5eqOPCJBYDq+j9wetBON466vbjCTdW3nE7L6pEb95MCq+4pqZb+uMfdKUVQLZ4bHHP2wMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=DGNISjJklZNftk6neQStNUuudLzOGEn4aXWIkc9htvLR03IPvF9DSewQUoyKeQI8fLn2AWV45oqNpWWahQfbJf0vyDuEE9UKOdmxe6yTVxb+uWOeq1lXeXkLHxLdrQfHG7j8crP4uqxP5Zw3gfSf+3tRjrNTA9q6UjzChlVijjU= Received: by 10.86.99.9 with SMTP id w9mr3250965fgb.1185718000443; Sun, 29 Jul 2007 07:06:40 -0700 (PDT) Received: from monju-bosatsu.dreamtrack.dnsalias.com ( [86.18.88.217]) by mx.google.com with ESMTPS id 32sm1735187nfu.2007.07.29.07.06.39 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Jul 2007 07:06:39 -0700 (PDT) Message-ID: <46AC9EED.3030904@crackmonkey.us> Date: Sun, 29 Jul 2007 15:06:37 +0100 User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: Rakhesh Sasidharan References: <55021.212.72.24.148.1185715537.squirrel@rakhesh.com> In-Reply-To: <55021.212.72.24.148.1185715537.squirrel@rakhesh.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Adam J Richardson Cc: questions@freebsd.org Subject: Re: Nothing happens with Qemu 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: Sun, 29 Jul 2007 14:34:35 -0000 Rakhesh Sasidharan wrote: > Hi, > > I'm trying to get Qemu working on my FreeBSD 6.2 PC. But nothing seems to > be happening. I posted my problem at the Qemu forums but haven't got any > replies there (I wonder if any one even uses those forums coz mine is like > the last post there!) Just trying my luck here too in case I get some > tips/ ideas. > > Installed Qemu from the ports. Without SDL (coz I don't have X etc > installed and I just SSH into this box). With KQEMU module. After that I > ran "/usr/local/etc/rc.d/kqemu" for loading the modules "aio" and "kqemu". > All went fine. > > Next I created a 2G image. "qemu-img create /tmp/something.img 2G". That > too went fine. > > Then I tried to install some OS into this image. Put the CD in the drive, > and tried "qemu -boot d -cdrom /dev/acd0 -hda /tmp/something.img". But > nothing happens! The CD starts spinning in the drive but nothing happens > after that. I ran "top" and I can see the qemu process is active and > taking some 128MB memory, but there's no other signs of life. > > I tried the above with two OSes. I tried with an Ubuntu server and also an > OpenBSD 4.1. Tried both to make sure its not a OS specific problem. I even > ripped the CDs to ISO files and tried running from that (coz I read > someplace that FreeBSD Qemu has problems reading from CDs). But no luck > ... whatever I do, nothing happens. > > I also tried with the "-full-screen" option. But no go. > > Finally, I tried running with the -nographic option. I remm reading > somewhere that that usually helps. That time I get a "(qemu)" prompt and > that's it -- nothing happens. Tried stuff like Ctrl+Alt+1,2,F, etc but > nothing happens. Can't even Ctrl-C out. Finally had to kill the process > from another terminal. > > I also tried with the option -monitor stdio. That gives me a (qemu) prompt > in which I can type commands. But I couldn't figure a way to proceed > further after that. > > I tried all these steps through SSH as well as on the console (including > uncommenting the console entry in /etc/tty and trying). No luck. > > Any ideas what could be going wrong? I figure it must be something to do > with me not having X and not compiling Qemu with SDL/ X support ... is > that the case? > > Thanks, > Rakhesh > Hi Rakhesh, I see you have covered the usual bases with qemu. I can't suggest anything else there. It seems logical that qemu would need to run on top of X, in much the same way that Firefox [just to pick an example at random] won't work without X. I'm still a FreeBSD newbie though, so I have no idea how X works. I'm still struggling to upgrade my Xorg to 7.2. [Stupid missing OpenGL drivers! >:( ] I would try installing X [good luck with that!] and see if that helps. Adam J Richardson