From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: SDL problem with 2.6.21/kvm-17 on x86_64? Date: Tue, 15 May 2007 10:54:05 +0300 Message-ID: <4649671D.5000705@qumranet.com> References: <20070515032704.GH31709@ifa.hawaii.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Joshua Hoblitt Return-path: In-Reply-To: <20070515032704.GH31709-yzCOL6m36nBBFM95potWkg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Joshua Hoblitt wrote: > Hello, > > I'm attempting to get kvm-17 to work on a "server" system that has a kernel > built without alsa support and libsdl is built without alsa or oss support. > > I get this error when attempting to start qemu: > -- > $ sudo /usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /data/ipp000.0/jhoblitt/openSUSE-10.2-GM-DVD-x86_64.iso -boot d -m 1024 > Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal > error, but for better emulation accuracy either use a 2.6 host Linux > kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. > kvm_create_vm: Invalid argument > Could not create KVM context > $ lsmod | grep kvm > kvm_amd 19348 0 > kvm 68040 1 kvm_amd > > Strange. Can you provide an strace of the run? > -- > sudo /usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /data/ipp000.0/jhoblitt/openSUSE-10.2-GM-DVD-x86_64.iso -boot d -m 1024 -no-kvm > Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal > error, but for better emulation accuracy either use a 2.6 host Linux kernel or > type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root. > Could not initialize SDL - exiting > -- > > So is the lack of sound hardware the problem here? If so, will it be possible > at somepoint to run without it? > > In addition to the problem above, qemu couldn't access your X server. Try adding '-vnc :1' to the command line. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/