public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Joshua Hoblitt <jhoblitt-yzCOL6m36nBBFM95potWkg@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: SDL problem with 2.6.21/kvm-17 on x86_64?
Date: Tue, 15 May 2007 10:54:05 +0300	[thread overview]
Message-ID: <4649671D.5000705@qumranet.com> (raw)
In-Reply-To: <20070515032704.GH31709-yzCOL6m36nBBFM95potWkg@public.gmane.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/

  parent reply	other threads:[~2007-05-15  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  3:27 SDL problem with 2.6.21/kvm-17 on x86_64? Joshua Hoblitt
     [not found] ` <20070515032704.GH31709-yzCOL6m36nBBFM95potWkg@public.gmane.org>
2007-05-15  7:54   ` Avi Kivity [this message]
     [not found]     ` <4649671D.5000705-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-17  1:11       ` [PATCH] Handle #SS(0), caused by address size override in vm86 mode Kamble, Nitin A
     [not found]         ` <1179364298.21228.6.camel-mpPvwfgnXtFHIUuj5cj4Omt3HXsI98Cx0E9HWUfgJXw@public.gmane.org>
2007-05-17 12:51           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4649671D.5000705@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=jhoblitt-yzCOL6m36nBBFM95potWkg@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox