All of lore.kernel.org
 help / color / mirror / Atom feed
From: MaoXiaoyun <tinnycloud@hotmail.com>
To: xen devel <xen-devel@lists.xensource.com>
Cc: jeremy@goop.org, dave@ivt.com.au, giamteckchoon@gmail.com,
	ian.campbell@citrix.com, konrad.wilk@oracle.com
Subject: RE: kernel BUG at arch/x86/xen/mmu.c:1860!
Date: Fri, 8 Apr 2011 19:46:43 +0800	[thread overview]
Message-ID: <BLU157-w387DF0269504101B8ABD17DAA70@phx.gbl> (raw)
In-Reply-To: <BLU157-w488E5FEBD5E2DBC0666EF1DAA70@phx.gbl>


[-- Attachment #1.1: Type: text/plain, Size: 3144 bytes --]


HI:
 
     As I go through the code with log, I noticed that  the log: 
(XEN) grant_table.c:266:d0 Bad flags (0) or dom (0). (expected dom 0)
 
is from xen/common/grant_table.c:266, which is in function _set_status_v1()
so it looks like kernel 2.6.32 use grant table version 1.
 
While in 2.6.31. driver/xen/grant-table.c, I noticed function gnttab_request_version()
which looks like 2.6.31 require grant version 2. But this function cannot be found 
in 2.6.32.
 
Is this correct?
 
Thanks.
 
 
>--------------------------------------------------------------------------------
>From: tinnycloud@hotmail.com
>To: xen-devel@lists.xensource.com
>CC: dave@ivt.com.au; ian.campbell@citrix.com; giamteckchoon@gmail.com; konrad.wilk@oracle.com; jeremy@goop.org
>Subject: Re: kernel BUG at arch/x86/xen/mmu.c:1860!
>Date: Fri, 8 Apr 2011 19:24:35 +0800
>
>Hi: 
>     Unfortunately I met the exactly same bug today. With pvops kernel 2.6.32.36, and xen 4.0.1.
>     Kernel Panic and serial log attached. 
> 
>     Our test cases is quite simple, on a single physical host, we start 12 HVMS(windows 2003),
>each of the HVM reboot every 10minutes. 
> 
>     The bug is easy to hit on our 48G machine(in hours). But We haven't hit the bug in our 24G 
>machine(we have three 24G machine, all works fine.)  -----Is is possible related to Memory capacity?
> 
>Taking a look at the serial output,  the Dom0 code is attempting to pin what it thins 
>is a "PGT_l3_page_table", however the hypervisor returns -EINVAL because it actually  is a "PGT_writable_page". 
> 
>(XEN) mm.c:2364:d0 Bad type (saw 7400000000000001 != exp 4000 0000 0000 0000) for mfn 898a41 (pfn 9ca41)
>(XEN) mm.c:2733:d0 Error while pinning mfn 898a41
> 
>And  before that quite a lot abnormal grant table log like :
> 
>(XEN) grant_table.c:1717:d0 Bad grant reference 4294965983
>(XEN) grant_table.c:266:d0 Bad flags (0) or dom (0). (expected dom 0)
>(XEN) grant_table.c:266:d0 Bad flags (0) or dom (0). (expected dom 0)
>(XEN) grant_table.c:266:d0 Bad flags (0) or dom (0). (expected dom 0)
>(XEN) grant_table.c:1717:d0 Bad grant reference 4294965888
>(XEN) grant_table.c:1717:d0 Bad grant reference 4294965983
> 
>It looks like something wrong with grant table.
> 
>Many thanks.
> 
>> From: Jeremy Fitzhardinge <jeremy@goop.org>
>> Subject: Re: [Xen-devel] [SPAM] Re: kernel BUG at
>> arch/x86/xen/mmu.c:1860! - ideas.
>> To: Ian Campbell <Ian.Campbell@citrix.com>
>> Cc: Dave Hunter <dave@ivt.com.au>, Teck Choon Giam
>> <giamteckchoon@gmail.com>, "xen-devel@lists.xensource.com"
>> xen-devel@lists.xensource.com
> 
>> On 04/06/2011 12:53 AM, Ian Campbell wrote:
>> > Please don't top post.
>> >
>> > On Wed, 2011-04-06 at 00:20 +0100, Dave Hunter wrote:
>> >> Is it likely that Debian would release an updated kernel in squeeze with
>> >> this configuration? (sorry, this might not be the place to ask).
>> > I doubt they will, enabling DEBUG_PAGEALLOC seems very much like a
>> > workaround not a solution to me.
>> 
>> Yes, it will impose a pretty large performance overhead.
>> 
>> J
>> 
>> 
> 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4560 bytes --]

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

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

  reply	other threads:[~2011-04-08 11:46 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <COL0-MC1-F14hmBzxHs00230882@col0-mc1-f14.Col0.hotmail.com>
2011-04-08 11:24 ` kernel BUG at arch/x86/xen/mmu.c:1860! MaoXiaoyun
2011-04-08 11:46   ` MaoXiaoyun [this message]
2011-04-10  3:57   ` kernel BUG at arch/x86/xen/mmu.c:1872 MaoXiaoyun
2011-04-10  4:29   ` MaoXiaoyun
2011-04-10 13:57     ` MaoXiaoyun
2011-04-10 20:14       ` Teck Choon Giam
2011-04-11 12:16         ` Teck Choon Giam
2011-04-11 12:22           ` Teck Choon Giam
2011-04-11 12:31           ` MaoXiaoyun
2011-04-11 15:25             ` Teck Choon Giam
2011-04-12  3:30               ` MaoXiaoyun
2011-04-12 16:08                 ` Teck Choon Giam
2011-04-11 18:08             ` Jeremy Fitzhardinge
2011-04-12  3:35               ` MaoXiaoyun
2011-04-12  6:48                 ` Grant Table Error on 2.6.32.36 + Xen 4.0.1 MaoXiaoyun
2011-04-12  8:46                   ` Konrad Rzeszutek Wilk
2011-04-12  9:02                     ` MaoXiaoyun
2011-04-12  9:11                 ` Kernel BUG at arch/x86/mm/tlb.c:61 MaoXiaoyun
2011-04-12 10:00                   ` Konrad Rzeszutek Wilk
2011-04-12 10:10                     ` MaoXiaoyun
2011-04-14  6:16                     ` MaoXiaoyun
2011-04-14  7:26                       ` Teck Choon Giam
2011-04-14  7:56                         ` MaoXiaoyun
2011-04-14 11:16                           ` MaoXiaoyun
2011-04-15 12:23                             ` MaoXiaoyun
2011-04-15 21:22                               ` Jeremy Fitzhardinge
2011-04-18 15:20                                 ` MaoXiaoyun
2011-04-25  3:15                                 ` MaoXiaoyun
2011-04-26  5:52                                   ` Tian, Kevin
2011-04-26  7:04                                     ` MaoXiaoyun
2011-04-26  8:31                                       ` Tian, Kevin
2011-04-28 23:29                                     ` Jeremy Fitzhardinge
2011-04-29  0:19                                       ` Tian, Kevin
2011-04-29  1:50                                         ` MaoXiaoyun
2011-04-29  1:57                                           ` Tian, Kevin
2011-04-25  4:42                                 ` MaoXiaoyun
2011-04-25 12:54                                   ` MaoXiaoyun
2011-04-25 13:11                                     ` MaoXiaoyun
2011-04-25 15:05                                       ` MaoXiaoyun
2011-04-26  5:55                                         ` Tian, Kevin
2011-04-12 16:32               ` kernel BUG at arch/x86/xen/mmu.c:1872 Teck Choon Giam
2011-04-15  7:37 kernel BUG at arch/x86/xen/mmu.c:1860! Joerg Stephan
  -- strict thread matches above, loose matches on Subject: below --
2010-12-26  8:16 Teck Choon Giam
2010-12-27 15:53 ` Konrad Rzeszutek Wilk
2010-12-27 22:14   ` Teck Choon Giam
2010-12-28 10:42     ` Pasi Kärkkäinen
2010-12-28 18:01       ` Teck Choon Giam
2010-12-29  4:25         ` Teck Choon Giam
2010-12-29  4:58           ` Teck Choon Giam
2011-01-14 15:20             ` Konrad Rzeszutek Wilk
2011-01-14 19:25               ` Teck Choon Giam
2011-01-14 19:44                 ` Konrad Rzeszutek Wilk
2011-01-14 20:09                   ` Teck Choon Giam
2011-01-14 20:32                     ` Teck Choon Giam
2011-01-24  1:42                       ` Teck Choon Giam
2011-01-24 14:36                         ` Konrad Rzeszutek Wilk
2011-01-24 15:56                           ` Teck Choon Giam
2011-01-25 14:48                             ` Konrad Rzeszutek Wilk
2011-01-26 14:31                               ` Konrad Rzeszutek Wilk
2011-01-27 17:17                                 ` Teck Choon Giam
2011-01-27 20:32                                   ` Konrad Rzeszutek Wilk
2011-01-27 22:20                                     ` Teck Choon Giam
2011-02-26 12:03                                       ` Teck Choon Giam
2011-02-28 16:20                                         ` Konrad Rzeszutek Wilk
2011-03-01  9:59                                           ` Teck Choon Giam
2011-03-03 22:16                                             ` Konrad Rzeszutek Wilk
2011-03-04  5:30                                               ` Teck Choon Giam
2011-03-04  6:15                                                 ` Fajar A. Nugraha
2011-03-04  6:33                                                   ` Teck Choon Giam
2011-03-08 19:29                                                     ` Konrad Rzeszutek Wilk
2011-03-08 20:10                                                       ` Konrad Rzeszutek Wilk
2011-03-08 20:20                                                         ` Teck Choon Giam
2011-03-08 20:45                                                           ` Guido Hecken
2011-03-08 20:50                                                           ` [SPAM] " tjaouen
2011-03-09  0:06                                                             ` Andreas Olsowski
2011-03-11 18:38                                                               ` benco
2011-03-11 19:59                                                                 ` Sander Eikelenboom
2011-03-11 20:29                                                                   ` Teck Choon Giam
2011-03-11 20:45                                                                   ` Teck Choon Giam
2011-03-11 21:02                                                                     ` Sander Eikelenboom
2011-03-11 21:15                                                                       ` Teck Choon Giam
2011-03-09  0:41                                                           ` Konrad Rzeszutek Wilk
2011-01-04 15:10       ` Christophe Saout
2011-01-04 15:19         ` Christophe Saout
2011-01-04 15:37           ` benco
2011-01-04 18:40           ` Christophe Saout
2011-01-04 19:32             ` Teck Choon Giam
2011-01-04 19:56               ` benco
2011-01-14 15:22             ` Konrad Rzeszutek Wilk
2011-01-14 15:33               ` Christophe Saout
2011-01-04 23:10         ` Christophe Saout
2011-01-05 10:51         ` Pasi Kärkkäinen
2011-01-05 14:56           ` Teck Choon Giam
2011-01-14 15:24             ` Konrad Rzeszutek Wilk
2011-01-14 19:31               ` Teck Choon Giam
2011-01-04 13:48 ` Ian Campbell
2011-01-04 19:24   ` Teck Choon Giam
2011-01-05 15:30     ` Teck Choon Giam
2011-01-13 14:28 ` tjaouen

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=BLU157-w387DF0269504101B8ABD17DAA70@phx.gbl \
    --to=tinnycloud@hotmail.com \
    --cc=dave@ivt.com.au \
    --cc=giamteckchoon@gmail.com \
    --cc=ian.campbell@citrix.com \
    --cc=jeremy@goop.org \
    --cc=konrad.wilk@oracle.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.