From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uri Lublin Subject: Re: Fail to create disk.img Date: Tue, 05 Aug 2008 12:48:27 +0300 Message-ID: <489821EB.5050004@il.qumranet.com> References: <182696.95343.qm@web35207.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Stephen Liu Return-path: Received: from il.qumranet.com ([212.179.150.194]:49025 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755042AbYHEJs2 (ORCPT ); Tue, 5 Aug 2008 05:48:28 -0400 In-Reply-To: <182696.95343.qm@web35207.mail.mud.yahoo.com> Sender: kvm-owner@vger.kernel.org List-ID: Stephen Liu wrote: > --- Uri Lublin wrote: > >> Stephen Liu wrote: > >>>> # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G >>> Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB >>> >>> >>> # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d >> -smp 2 >>> =======================| DirectFB 1.0.1 >> |======================= >>> (c) 2001-2007 The DirectFB Organization (directfb.org) >>> (c) 2000-2004 Convergence (integrated media) GmbH >>> >> ------------------------------------------------------------ >>> (*) DirectFB/Core: Single Application Core. (2008-04-08 15:15) >>> (*) Direct/Memcpy: Using libc memcpy() >>> (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed >>> --> No such file or directory >>> (!) DirectFB/FBDev: Error opening framebuffer device! >>> (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER >> environment >>> variable. >>> (!) DirectFB/Core: Could not initialize 'system' core! >>> --> Initialization error! >>> Could not initialize SDL - exiting >>> * end * >>> >>> >>> without "-smp 2" still the same. >> Does xterm work ? > > Yes, it is working. I'm configuring the server remotely. > > >> Try adding "-vnc :9" > > # kvm -hdb ubuntu6.06_20080805.img -cdrom /dev/scd0 -m 512 -boot d -smp > 2 -vnc :9 > > It is hanging here, > > >> and connect with a vnc viewer, > > $ vncviewer 192.168.0.110:9 > > VNC Viewer Free Edition 4.1.1 for X - built Sep 10 2007 16:58:22 > Copyright (C) 2002-2005 RealVNC Ltd. > See http://www.realvnc.com for information on VNC. > > > The viewer did not start > > >> or use xauth (or >> ssh -X) to >> set permissions to run with SDL. > > Please explain in detail how to do that? TIA > I thought it might be something with X permissions, but it is not.