public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* problem running kvm with 2.6.22
@ 2007-07-30 23:48 Gerb Stralko
       [not found] ` <75b57c110707301648t590cccbfpa5e47b011b6d595e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Gerb Stralko @ 2007-07-30 23:48 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: gerb.stralko-Re5JQEeQqe8AvxtiuMwx3w

Hello,

   this isn't really a dev issue but google couldn't help me on this
one.  I'm running a 2.6.22 kernel with the kvm and kvm-intel as
modules built as modules:

stralko@magnum_pi ~ $ lsmod
Module                  Size  Used by
nvidia               5425812  12
i2c_core               23680  1 nvidia
kvm_intel              21200  0
kvm                    62024  1 kvm_intel
snd_emu10k1           130912  1
snd_rawmidi            23136  1 snd_emu10k1
snd_ac97_codec        109976  1 snd_emu10k1
ac97_bus                4864  1 snd_ac97_codec
snd_pcm                76488  2 snd_emu10k1,snd_ac97_codec
snd_seq_device          8272  2 snd_emu10k1,snd_rawmidi
snd_timer              22216  2 snd_emu10k1,snd_pcm
snd_page_alloc          9936  2 snd_emu10k1,snd_pcm
snd_util_mem            6080  1 snd_emu10k1
snd_hwdep              10248  1 snd_emu10k1
snd                    52712  9
snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep

however when i run the following commands:

stralko@magnum_pi ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
/mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
Could not initialize SDL - exiting

I do have the libsdl libraries installed, but i can't figure out wants
going on.  The userspace verision of kvm i have is kvm-33.

stralko@magnum_pi ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping        : 6
cpu MHz         : 2128.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr
lahf_lm
bogomips        : 4270.52
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping        : 6
cpu MHz         : 2128.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr
lahf_lm
bogomips        : 4263.48
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


Any Ideas?

Thanks

-Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem running kvm with 2.6.22
       [not found] ` <75b57c110707301648t590cccbfpa5e47b011b6d595e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-07-31  6:55   ` Avi Kivity
       [not found]     ` <75b57c110707310446k5d80512bi8f857922a1727099@mail.gmail.com>
       [not found]     ` <46AEDCE6.5000903-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Avi Kivity @ 2007-07-31  6:55 UTC (permalink / raw)
  To: Gerb Stralko; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Gerb Stralko wrote:
> however when i run the following commands:
>
> stralko@magnum_pi ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
> /mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
> Could not initialize SDL - exiting
>
>   

Can you run normal X clients?  Is $DISPLAY set correctly, etc.?

If not, either fix that, or use the -vnc option.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* problem running kvm with 2.6.22
       [not found]       ` <75b57c110707310446k5d80512bi8f857922a1727099-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-07-31 11:48         ` Gerb Stralko
  0 siblings, 0 replies; 5+ messages in thread
From: Gerb Stralko @ 2007-07-31 11:48 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> Can you run normal X clients?  Is $DISPLAY set correctly, etc.?

 Yes, i can run normal X Clients and $DISPLAY is just regular old
=:0.0  _but_ when i run without sudo

stralko@magnum_pi ~ $ /usr/local/kvm/bin/qemu-system-x86_64 -hda
/mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512

it boots up fine, but says cannot open /dev/kvm, disabling kvm mode.
Which makes sense,  because a normal users can't run kvm.  However, is
there anything special i need to do for the sdl libs?

Anyways i research SDL alittle and see what i can find.

Thanks again keep up the good work,

Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem running kvm with 2.6.22
       [not found]     ` <46AEDCE6.5000903-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-08-01  2:26       ` Gerb Stralko
       [not found]         ` <75b57c110707311926n5711dc3fs60b81a6e2b054671-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Gerb Stralko @ 2007-08-01  2:26 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 7/31/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> Gerb Stralko wrote:
> > however when i run the following commands:
> >
> > stralko@magnum_pi ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
> > /mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
> > Could not initialize SDL - exiting
> >

This is weird, when i do
$>su -
$>/usr/local/kvm/bin/qemu-system-x86_64 -hda \
  /mnt/kvm/win32xp.img \
  -cdrom /mnt/kvm/win32xp.iso -boot d -m 512

it works like a champ!  Some permission problem with SDL (i guess),
kvm is working fine...sorry for the noise.

-gerb

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem running kvm with 2.6.22
       [not found]         ` <75b57c110707311926n5711dc3fs60b81a6e2b054671-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-08-13 13:25           ` Zhao, Yunfeng
  0 siblings, 0 replies; 5+ messages in thread
From: Zhao, Yunfeng @ 2007-08-13 13:25 UTC (permalink / raw)
  To: Gerb Stralko, Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]

I met the same problem on one machine today.
I was trying to create KVM on vncserver, but always failed with "Could not initialize SDL - exiting"
I get around this issue with set DISPLAY to 1 again
# export DISPLAY=:1

Thanks
Yunfeng

>-----Original Message-----
>From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>[mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Gerb Stralko
>Sent: 2007年8月1日 10:26
>To: Avi Kivity
>Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: [kvm-devel] problem running kvm with 2.6.22
>
>On 7/31/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> Gerb Stralko wrote:
>> > however when i run the following commands:
>> >
>> > stralko@magnum_pi ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
>> > /mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
>> > Could not initialize SDL - exiting
>> >
>
>This is weird, when i do
>$>su -
>$>/usr/local/kvm/bin/qemu-system-x86_64 -hda \
>  /mnt/kvm/win32xp.img \
>  -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
>
>it works like a champ!  Some permission problem with SDL (i guess),
>kvm is working fine...sorry for the noise.
>
>-gerb
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/
>_______________________________________________
>kvm-devel mailing list
>kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/kvm-devel


[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-13 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 23:48 problem running kvm with 2.6.22 Gerb Stralko
     [not found] ` <75b57c110707301648t590cccbfpa5e47b011b6d595e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-07-31  6:55   ` Avi Kivity
     [not found]     ` <75b57c110707310446k5d80512bi8f857922a1727099@mail.gmail.com>
     [not found]       ` <75b57c110707310446k5d80512bi8f857922a1727099-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-07-31 11:48         ` Gerb Stralko
     [not found]     ` <46AEDCE6.5000903-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-01  2:26       ` Gerb Stralko
     [not found]         ` <75b57c110707311926n5711dc3fs60b81a6e2b054671-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 13:25           ` Zhao, Yunfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox