All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] kernel-kqemu and linux
Date: Tue, 21 Mar 2006 00:39:15 +0100	[thread overview]
Message-ID: <441F3D23.8080008@bellard.org> (raw)
In-Reply-To: <20060317092540.20fd5e7a@c1358217.kevquinn.com>

Try the following patch:

diff -u -w -r1.39 helper2.c
--- helper2.c   4 Dec 2005 18:46:06 -0000       1.39
+++ helper2.c   20 Mar 2006 23:38:51 -0000
@@ -110,6 +110,7 @@
          env->pat = 0x0007040600070406ULL;
          env->cpuid_ext_features = 0;
          env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | 
CPUID_SSE2
| CPUID_PAE | CPUID_SEP;
+        env->cpuid_features |= CPUID_APIC; /* TEST */
          env->cpuid_xlevel = 0;
          {
              const char *model_id = "QEMU Virtual CPU version " 
QEMU_VERSION;

If it works then APIC usage will become the default on i386...

Fabrice.

Kevin F. Quinn wrote:
> Hi.
> 
> I'm successfully running Windows 2000 guest on qemu (linux host) with
> kernel-kqemu, and the speed is excellent.  However I can't get linux to
> run as a guest (still linux host); no matter what kernel or kernel
> config I create, it always BUGs at the same point:
> 
>  hda: hda1 hda2 hda3
> ------------[ cut here ]------------
> kernel BUG at mm/swap.c:215!
> invalid operand: 0000 [#1]
> Modules linked in:
> CPU:    0
> EIP:    0060:[<c0141981>]    Not tainted VLI
> EFLAGS: 00010256   (2.6.15-gentoo-r1)
> EIP is at release_pages+0x131/0x140
> eax: 00000000   ebx: c12f98e0   ecx: c0458c94   edx: c12f98e0
> esi: 00000000   edi: 00000000   ebp: 00000001   esp: d7fc1da8
> ds: 007b   es: 007b   ss: 0068
> Process swapper (pid: 1, threadinfo=d7fc0000 task=d7fe4a10)
> Stack: 00000000 00000000 00000000 c136eca8 d7fc1e30 00000040 0000000e
> c12fb160
>        c0458bc0 00000001 c04f2ac0 c0141bca c04f2ac8 00000001 00000000
> d7fc1e28
>        00000001 d7fc1e28 00000001 00000001 ffffffff c01419b5 d7fc1e30
> 00000001
> Call TRace:
>  [<c0141bca>] __pagevec_lru_add_active+0xaa/0xc0
>  [<c01419b5>] __pagevec_release+0x25/0x30
>  [<c0142119>] invalidate_mapping_pages+0xf9/0x100
>  [<c014213e>] invalidate_inode_pages+0x1e/0x30
>  [<c015d658>] kill_bdev+0x19/0x40
>  [<c0232db9>] add_disk+0x49/0x60
> ... (during ide probe)
> 
> 
> If kernel-kqemu works with linux 2.6 for anyone, could you email
> a .config that works?)
> 
> Thanks,
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

  reply	other threads:[~2006-03-20 23:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17  8:25 [Qemu-devel] kernel-kqemu and linux Kevin F. Quinn
2006-03-20 23:39 ` Fabrice Bellard [this message]
2006-03-21  6:13   ` Brad Campbell
2006-03-21 11:13     ` Brad Campbell
2006-03-21 17:10       ` Pascal Terjan
2006-03-21  7:48   ` Kevin F. Quinn

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=441F3D23.8080008@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.