WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Problem with booting 2.6.32.16 pvops DomU

To: GiovanniB <giovannib1979@xxxxxxxxx>
Subject: Re: [Xen-devel] Problem with booting 2.6.32.16 pvops DomU
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 13 Jul 2010 09:51:01 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Jul 2010 09:51:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <29105236.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <3119103.71278493658977.JavaMail.root@uhura> <4C349E82.30100@xxxxxxxx> <29105236.post@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
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:                                                        \



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>