From: Jeremy Fitzhardinge <jeremy@goop.org>
To: GiovanniB <giovannib1979@ymail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Problem with booting 2.6.32.16 pvops DomU
Date: Tue, 13 Jul 2010 09:51:01 -0700 [thread overview]
Message-ID: <4C3C9975.30708@goop.org> (raw)
In-Reply-To: <29105236.post@talk.nabble.com>
On 07/08/2010 02:51 AM, GiovanniB wrote:
> Hello
>
> same problem here.
>
> Supermicro Board
> XEON E5506
>
> xm dmesg:
> (XEN) traps.c:2230:d11 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d11 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d11 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d12 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d12 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d12 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000.
> (XEN) traps.c:2230:d12 Domain attempted WRMSR 000000000000008b from
> 00000011:00000000 to 00000000:00000000
>
>
> domU hangs here with 400% CPU load (4 vcpus)
> (same problem with 1 vcpu)
>
> ...
> [ 1.807477] kjournald starting. Commit interval 5 seconds
> [ 2.005607] EXT3 FS on xvda1, internal journal
> [ 2.005618] EXT3-fs: recovery complete.
> [ 2.005626] EXT3-fs: mounted filesystem with writeback data mode.
> [ 2.005643] VFS: Mounted root (ext3 filesystem) on device 202:1.
> [ 2.005727] Freeing unused kernel memory: 580k freed
> [ 2.005892] Write protecting the kernel read-only data: 8160k
>
> here it hangs
>
> 2.6.32.15 there is no problem. I have used the same .config for 2.6.32.16.
>
> I have recompiled it with no energy save option, same error.
> C1 and else are disabled in BIOS.
>
Does this patch help?
Thanks,
J
arch/x86/include/asm/cmpxchg_64.h | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/x86/include/asm/cmpxchg_64.h b/arch/x86/include/asm/cmpxchg_64.h
index 485ae41..70ac0a4 100644
--- a/arch/x86/include/asm/cmpxchg_64.h
+++ b/arch/x86/include/asm/cmpxchg_64.h
@@ -26,26 +26,26 @@ extern void __cmpxchg_wrong_size(void);
switch (size) { \
case 1: \
asm volatile("xchgb %b0,%1" \
- : "=q" (__x) \
- : "m" (*__xg(ptr)), "0" (__x) \
+ : "=q" (__x), "+m" (*__xg(ptr)) \
+ : "0" (__x) \
: "memory"); \
break; \
case 2: \
asm volatile("xchgw %w0,%1" \
- : "=r" (__x) \
- : "m" (*__xg(ptr)), "0" (__x) \
+ : "=r" (__x), "+m" (*__xg(ptr)) \
+ : "0" (__x) \
: "memory"); \
break; \
case 4: \
asm volatile("xchgl %k0,%1" \
- : "=r" (__x) \
- : "m" (*__xg(ptr)), "0" (__x) \
+ : "=r" (__x), "+m" (*__xg(ptr)) \
+ : "0" (__x) \
: "memory"); \
break; \
case 8: \
asm volatile("xchgq %0,%1" \
- : "=r" (__x) \
- : "m" (*__xg(ptr)), "0" (__x) \
+ : "=r" (__x), "+m" (*__xg(ptr)) \
+ : "0" (__x) \
: "memory"); \
break; \
default: \
prev parent reply other threads:[~2010-07-13 16:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-07 9:07 Problem with booting 2.6.32.16 pvops DomU Carsten Schiers
2010-07-07 15:34 ` Jeremy Fitzhardinge
2010-07-08 9:51 ` GiovanniB
2010-07-13 16:51 ` Jeremy Fitzhardinge [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=4C3C9975.30708@goop.org \
--to=jeremy@goop.org \
--cc=giovannib1979@ymail.com \
--cc=xen-devel@lists.xensource.com \
/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.