public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Frey <linux-vNYXhaxa7OiELgA04lAiVw@public.gmane.org>
To: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: qemu-system-x86_64 locks hard when used with kvm
Date: Wed, 24 Oct 2007 19:36:38 +0200	[thread overview]
Message-ID: <200710241936.38273.linux@janfrey.de> (raw)
In-Reply-To: <200710241903.37306.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

On Wednesday 24 October 2007, Amit Shah wrote:
> On Monday 15 October 2007 01:54:03 Jan Frey wrote:
> > Hi,
> >
> > I intended to use qemu-system-x86_64 with kvm for full virtualization.
> > My host is
> >
> > # cat /proc/cpuinfo
> > processor       : 0
> > vendor_id       : AuthenticAMD
> > cpu family      : 15
> > model           : 127
> > model name      : AMD Athlon(tm) 64 Processor 3500+
> > stepping        : 1
> > cpu MHz         : 1000.000
> > cache size      : 512 KB
> > fpu             : yes
> > fpu_exception   : yes
> > cpuid level     : 1
> > wp              : yes
> > flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> > mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
> > fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm svm
> > extapic cr8_legacy misalignsse
> > bogomips        : 2010.55
> > TLB size        : 1024 4K pages
> > clflush size    : 64
> > cache_alignment : 64
> > address sizes   : 40 bits physical, 48 bits virtual
> > power management: ts fid vid ttp tm stc 100mhzsteps
> >
> >
> > So you can see AMD's "svm" is existent.
> > Host's kernel is 2.6.23.1, config file is attached.
> > KVM/Qemu sources I've tried include -37, -40, -45 and -46.
> >
> > When I run something like
> > qemu-system-x86_64 -m 384 -no-kvm <somevdisk>
> >
> > The virtual machine boots and everything works fine (except the
> > slowliness ;-)).
> > But when I try without the "-no-kvm" switch the whole host machine
> > immediately freezes hard (no windows come up, no text on the console,
> > mouse frozen, amazing though that machine still reacts to ping on
> > network.. but anyway, even reset button at the PC doesn't help, I've
> > got to switch off power..)
> >
> > The host distribution is FC6.
>
> That's really strange. I use kvm (frequently updated to the latest git)
> daily and I don't face any such issues.
>
> Can you try this:
>
> Don't load the kvm modules (or rmmod kvm-amd; rmmod kvm if they're
> already loaded) and then try the qemu command line without --no-kvm?
> Does it lock up even then?

It complains about missing /dev/kvm, but it seems to work.
insmod'ing only kvm also doesn't break it. As soon as kvm-amd comes into 
play: immediate freeze upon qemu-system-x86_64 start.

> Also, can you try what you've tried previously on a text console (not
> within X). If there's any kernel output, it'll be dumped.

I did the tests in runlevel 3 on a root console. Same result: absolutely no 
output and the very instant I press <return> (following the 
qemu-system-x86_64 commandline) my machine is dead. Video is still up, but 
there's no way to shake it - as I mentioned before even the mainboard's 
reset button does not bring it back to live (and usually it does)...

Regards,
Jan



-- 
Jan Frey
linux [at] janfrey.de

-------------------------------------------------------------------------
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/

      parent reply	other threads:[~2007-10-24 17:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14 20:24 qemu-system-x86_64 locks hard when used with kvm Jan Frey
     [not found] ` <200710142224.04143.linux-vNYXhaxa7OiELgA04lAiVw@public.gmane.org>
2007-10-15  9:13   ` Avi Kivity
     [not found]     ` <47132F1C.4010100-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-15 17:52       ` Jan Frey
     [not found]         ` <200710151952.49328.linux-vNYXhaxa7OiELgA04lAiVw@public.gmane.org>
2007-10-16 10:42           ` Avi Kivity
     [not found]             ` <47149595.5020900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-18 20:46               ` Jan Frey
     [not found]                 ` <200710182246.37625.linux-vNYXhaxa7OiELgA04lAiVw@public.gmane.org>
2007-10-22  8:50                   ` Avi Kivity
2007-10-24 13:33   ` Amit Shah
     [not found]     ` <200710241903.37306.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-24 17:36       ` Jan Frey [this message]

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=200710241936.38273.linux@janfrey.de \
    --to=linux-vnyxhaxa7oielga04laivw@public.gmane.org \
    --cc=amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@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