All of lore.kernel.org
 help / color / mirror / Atom feed
* tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-14  7:04 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-14  7:04 UTC (permalink / raw)
  To: Frederic Weisbecker
  Cc: Ingo Molnar, the arch/x86 maintainers, Linux Kernel Mailing List,
	Xen-devel

Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the 
format decoding layer for its 3 users", causes a regression in xenbus 
which results in no devices getting attached to a new domain.  Reverting 
fef20d9c1380f04ba9492d6463148db07b413708 and 
39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.

I haven't identified what format string is being handled wrongly, so I 
don't know what the precise bug is.  The most complex looking format in 
use seems to be %.*s; there's also "%s/%s", "%i" and "%lX".

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-14  7:04 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-14  7:04 UTC (permalink / raw)
  To: Frederic Weisbecker
  Cc: Xen-devel, Ingo Molnar, the arch/x86 maintainers,
	Linux Kernel Mailing List

Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the 
format decoding layer for its 3 users", causes a regression in xenbus 
which results in no devices getting attached to a new domain.  Reverting 
fef20d9c1380f04ba9492d6463148db07b413708 and 
39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.

I haven't identified what format string is being handled wrongly, so I 
don't know what the precise bug is.  The most complex looking format in 
use seems to be %.*s; there's also "%s/%s", "%i" and "%lX".

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-14  7:04 ` Jeremy Fitzhardinge
  (?)
@ 2009-03-14  9:43 ` Boris Derzhavets
  -1 siblings, 0 replies; 17+ messages in thread
From: Boris Derzhavets @ 2009-03-14  9:43 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Xen-devel


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

Two PV DomUs (CentOS 5.2 , F10) have been tested with new kernel
During shutdown of any one of mentioned DomUs usual sequence of daemon's messages drops into stack trace with following messages at the end:-

xenbus_dev_shutdown:   device/vif/0 timeout closing device
xenbus_dev_shutdown:   device/vbd/51712 timeout closing device
System halted.

After that Xen Host stop responding at all, just dies.

Boris


--- On Sat, 3/14/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: [Xen-devel] tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
To: "Frederic Weisbecker" <fweisbec@gmail.com>
Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Ingo Molnar" <mingo@elte.hu>, "the arch/x86 maintainers" <x86@kernel.org>, "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Date: Saturday, March 14, 2009, 3:04 AM

Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the
format decoding layer for its 3 users", causes a regression in xenbus which
results in no devices getting attached to a new domain.  Reverting
fef20d9c1380f04ba9492d6463148db07b413708 and
39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.

I haven't identified what format string is being handled wrongly, so I
don't know what the precise bug is.  The most complex looking format in use
seems to be %.*s; there's also "%s/%s", "%i" and
"%lX".

   J

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



      

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

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

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-14  7:04 ` Jeremy Fitzhardinge
  (?)
  (?)
@ 2009-03-14 11:08 ` Vegard Nossum
  2009-03-14 16:11     ` Jeremy Fitzhardinge
  -1 siblings, 1 reply; 17+ messages in thread
From: Vegard Nossum @ 2009-03-14 11:08 UTC (permalink / raw)
  To: Jeremy Fitzhardinge, Frederic Weisbecker
  Cc: Ingo Molnar, the arch/x86 maintainers, Linux Kernel Mailing List,
	Xen-devel

2009/3/14 Jeremy Fitzhardinge <jeremy@goop.org>:
> Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the format
> decoding layer for its 3 users", causes a regression in xenbus which results
> in no devices getting attached to a new domain.  Reverting
> fef20d9c1380f04ba9492d6463148db07b413708 and
> 39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.
>
> I haven't identified what format string is being handled wrongly, so I don't
> know what the precise bug is.  The most complex looking format in use seems
> to be %.*s; there's also "%s/%s", "%i" and "%lX".

Hi,

At least %.*s seems to be broken. How about this patch?

Vegard


diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index dc16743..be3001f 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -398,7 +398,7 @@ static noinline char* put_dec(char *buf, unsigned long long num)
 
 enum format_type {
 	FORMAT_TYPE_NONE, /* Just a string part */
-	FORMAT_TYPE_WITDH,
+	FORMAT_TYPE_WIDTH,
 	FORMAT_TYPE_PRECISION,
 	FORMAT_TYPE_CHAR,
 	FORMAT_TYPE_STR,
@@ -770,7 +770,7 @@ static int format_decode(const char *fmt, struct printf_spec *spec)
 	const char *start = fmt;
 
 	/* we finished early by reading the field width */
-	if (spec->type == FORMAT_TYPE_WITDH) {
+	if (spec->type == FORMAT_TYPE_WIDTH) {
 		if (spec->field_width < 0) {
 			spec->field_width = -spec->field_width;
 			spec->flags |= LEFT;
@@ -828,7 +828,7 @@ static int format_decode(const char *fmt, struct printf_spec *spec)
 		spec->field_width = skip_atoi(&fmt);
 	else if (*fmt == '*') {
 		/* it's the next argument */
-		spec->type = FORMAT_TYPE_WITDH;
+		spec->type = FORMAT_TYPE_WIDTH;
 		return ++fmt - start;
 	}
 
@@ -843,7 +843,7 @@ precision:
 				spec->precision = 0;
 		} else if (*fmt == '*') {
 			/* it's the next argument */
-			spec->type = FORMAT_TYPE_WITDH;
+			spec->type = FORMAT_TYPE_PRECISION;
 			return ++fmt - start;
 		}
 	}
@@ -1002,7 +1002,7 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
 			break;
 		}
 
-		case FORMAT_TYPE_WITDH:
+		case FORMAT_TYPE_WIDTH:
 			spec.field_width = va_arg(args, int);
 			break;
 
@@ -1306,7 +1306,7 @@ do {									\
 		case FORMAT_TYPE_NONE:
 			break;
 
-		case FORMAT_TYPE_WITDH:
+		case FORMAT_TYPE_WIDTH:
 		case FORMAT_TYPE_PRECISION:
 			save_arg(int);
 			break;
@@ -1472,7 +1472,7 @@ int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf)
 			break;
 		}
 
-		case FORMAT_TYPE_WITDH:
+		case FORMAT_TYPE_WIDTH:
 			spec.field_width = get_arg(int);
 			break;
 

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-14 11:08 ` Vegard Nossum
@ 2009-03-14 16:11     ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-14 16:11 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Frederic Weisbecker, Ingo Molnar, the arch/x86 maintainers,
	Linux Kernel Mailing List, Xen-devel

Vegard Nossum wrote:
> 2009/3/14 Jeremy Fitzhardinge <jeremy@goop.org>:
>   
>> Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the format
>> decoding layer for its 3 users", causes a regression in xenbus which results
>> in no devices getting attached to a new domain.  Reverting
>> fef20d9c1380f04ba9492d6463148db07b413708 and
>> 39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.
>>
>> I haven't identified what format string is being handled wrongly, so I don't
>> know what the precise bug is.  The most complex looking format in use seems
>> to be %.*s; there's also "%s/%s", "%i" and "%lX".
>>     
>
> Hi,
>
> At least %.*s seems to be broken. How about this patch?
>   

Thanks, that does the trick.

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-14 16:11     ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-14 16:11 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: Xen-devel, Frederic Weisbecker, Ingo Molnar,
	the arch/x86 maintainers, Linux Kernel Mailing List

Vegard Nossum wrote:
> 2009/3/14 Jeremy Fitzhardinge <jeremy@goop.org>:
>   
>> Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the format
>> decoding layer for its 3 users", causes a regression in xenbus which results
>> in no devices getting attached to a new domain.  Reverting
>> fef20d9c1380f04ba9492d6463148db07b413708 and
>> 39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.
>>
>> I haven't identified what format string is being handled wrongly, so I don't
>> know what the precise bug is.  The most complex looking format in use seems
>> to be %.*s; there's also "%s/%s", "%i" and "%lX".
>>     
>
> Hi,
>
> At least %.*s seems to be broken. How about this patch?
>   

Thanks, that does the trick.

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-14 16:11     ` Jeremy Fitzhardinge
  (?)
@ 2009-03-16 12:32     ` Boris Derzhavets
  2009-03-16 14:20         ` Jeremy Fitzhardinge
  -1 siblings, 1 reply; 17+ messages in thread
From: Boris Derzhavets @ 2009-03-16 12:32 UTC (permalink / raw)
  To: Vegard Nossum, Jeremy Fitzhardinge
  Cc: Frederic Weisbecker, Ingo Molnar, Xen-devel,
	the arch/x86 maintainers, Linux Kernel Mailing List


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

What is the issue status in meantime ?
git pull reports conflicting merge ./lib/vsprintf.c
PV DomUs  may be brought up , but cannot be 
shutdown.
 
Boris.


--- On Sat, 3/14/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:

From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
To: "Vegard Nossum" <vegard.nossum@gmail.com>
Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Frederic Weisbecker" <fweisbec@gmail.com>, "Ingo Molnar" <mingo@elte.hu>, "the arch/x86 maintainers" <x86@kernel.org>, "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Date: Saturday, March 14, 2009, 12:11 PM

Vegard Nossum wrote:
> 2009/3/14 Jeremy Fitzhardinge <jeremy@goop.org>:
>   
>> Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify
the format
>> decoding layer for its 3 users", causes a regression in xenbus
which results
>> in no devices getting attached to a new domain.  Reverting
>> fef20d9c1380f04ba9492d6463148db07b413708 and
>> 39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.
>>
>> I haven't identified what format string is being handled wrongly,
so I don't
>> know what the precise bug is.  The most complex looking format in use
seems
>> to be %.*s; there's also "%s/%s", "%i" and
"%lX".
>>     
>
> Hi,
>
> At least %.*s seems to be broken. How about this patch?
>   

Thanks, that does the trick.

    J

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



      

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

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

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-16 12:32     ` Boris Derzhavets
@ 2009-03-16 14:20         ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 14:20 UTC (permalink / raw)
  To: bderzhavets
  Cc: Vegard Nossum, Xen-devel, Frederic Weisbecker, Ingo Molnar,
	the arch/x86 maintainers, Linux Kernel Mailing List

Boris Derzhavets wrote:
> What is the issue status in meantime ?
> git pull reports conflicting merge ./lib/vsprintf.c
> PV DomUs  may be brought up , but cannot be
> shutdown.
>

Do a "git checkout xen/dom0/hackery; git reset --hard 
remotes/xen/xen/dom0/hackery" to rebase your local hackery branch to the 
upstream one.  I did a bit of a history-rewrite to replace the reverts 
with the proper fix.

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-16 14:20         ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 14:20 UTC (permalink / raw)
  To: bderzhavets
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar

Boris Derzhavets wrote:
> What is the issue status in meantime ?
> git pull reports conflicting merge ./lib/vsprintf.c
> PV DomUs  may be brought up , but cannot be
> shutdown.
>

Do a "git checkout xen/dom0/hackery; git reset --hard 
remotes/xen/xen/dom0/hackery" to rebase your local hackery branch to the 
upstream one.  I did a bit of a history-rewrite to replace the reverts 
with the proper fix.

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* how to enable shadow page table? Do I have to run HVM guest systems for shadow paging mode?
  2009-03-16 14:20         ` Jeremy Fitzhardinge
@ 2009-03-16 15:05           ` Long Wang
  -1 siblings, 0 replies; 17+ messages in thread
From: Long Wang @ 2009-03-16 15:05 UTC (permalink / raw)
  To: xen-devel
  Cc: 'the arch/x86 maintainers',
	'Linux Kernel Mailing List'

I am working on a research project based on Xen 3.3.1. I want to use the
shadow page table for setting guest system memory pages as read-only and/or
dirty, and perform a copy-on-write mechanism when these memory pages are
updated. I heard that auto_translated_physmap is not supported any more. 

Then how can I enable shadow page table? Do I have to run HVM guest systems
to have shadow paging mode? Can I enable shadow paging mode in PV?

I look forward to your help on this problem. Thank you very much,

Sincerely,
Long Wang



^ permalink raw reply	[flat|nested] 17+ messages in thread

* how to enable shadow page table? Do I have to run HVM guest systems for shadow paging mode?
@ 2009-03-16 15:05           ` Long Wang
  0 siblings, 0 replies; 17+ messages in thread
From: Long Wang @ 2009-03-16 15:05 UTC (permalink / raw)
  To: xen-devel
  Cc: 'the arch/x86 maintainers',
	'Linux Kernel Mailing List'

I am working on a research project based on Xen 3.3.1. I want to use the
shadow page table for setting guest system memory pages as read-only and/or
dirty, and perform a copy-on-write mechanism when these memory pages are
updated. I heard that auto_translated_physmap is not supported any more. 

Then how can I enable shadow page table? Do I have to run HVM guest systems
to have shadow paging mode? Can I enable shadow paging mode in PV?

I look forward to your help on this problem. Thank you very much,

Sincerely,
Long Wang

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-16 14:20         ` Jeremy Fitzhardinge
  (?)
  (?)
@ 2009-03-16 16:05         ` Boris Derzhavets
  2009-03-16 16:09             ` Jeremy Fitzhardinge
  -1 siblings, 1 reply; 17+ messages in thread
From: Boris Derzhavets @ 2009-03-16 16:05 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar


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

It's not working:-

root@ServerIntrepid:/usr/src/linux-2.6-xen# git checkout xen/dom0/hackery
Already on "xen/dom0/hackery"
root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard remotes/xen/xen/dom0/hackery
fatal: ambiguous argument 'remotes/xen/xen/dom0/hackery': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

Boris



--- On Mon, 3/16/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
To: bderzhavets@yahoo.com
Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Vegard Nossum" <vegard.nossum@gmail.com>, "Frederic Weisbecker" <fweisbec@gmail.com>, "the arch/x86 maintainers" <x86@kernel.org>, "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>, "Ingo Molnar" <mingo@elte.hu>
Date: Monday, March 16, 2009, 10:20 AM

Boris Derzhavets wrote:
> What is the issue status in meantime ?
> git pull reports conflicting merge ./lib/vsprintf.c
> PV DomUs  may be brought up , but cannot be
> shutdown.
> 

Do a "git checkout xen/dom0/hackery; git reset --hard
remotes/xen/xen/dom0/hackery" to rebase your local hackery branch to the
upstream one.  I did a bit of a history-rewrite to replace the reverts with the
proper fix.

   J

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



      

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

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

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-16 16:05         ` Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users" Boris Derzhavets
@ 2009-03-16 16:09             ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 16:09 UTC (permalink / raw)
  To: bderzhavets
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar

Boris Derzhavets wrote:
> It's not working:-
>
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git checkout xen/dom0/hackery
> Already on "xen/dom0/hackery"
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard 
> remotes/xen/xen/dom0/hackery
> fatal: ambiguous argument 'remotes/xen/xen/dom0/hackery': unknown 
> revision or path not in the working tree.
>

The proper name is "remotes/<whatever you called your xen 
remote>/xen/dom0/hackery" (it might be "origin").

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-16 16:09             ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 16:09 UTC (permalink / raw)
  To: bderzhavets
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar

Boris Derzhavets wrote:
> It's not working:-
>
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git checkout xen/dom0/hackery
> Already on "xen/dom0/hackery"
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard 
> remotes/xen/xen/dom0/hackery
> fatal: ambiguous argument 'remotes/xen/xen/dom0/hackery': unknown 
> revision or path not in the working tree.
>

The proper name is "remotes/<whatever you called your xen 
remote>/xen/dom0/hackery" (it might be "origin").

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-16 16:09             ` Jeremy Fitzhardinge
  (?)
@ 2009-03-16 17:48             ` Boris Derzhavets
  2009-03-16 17:55                 ` Jeremy Fitzhardinge
  -1 siblings, 1 reply; 17+ messages in thread
From: Boris Derzhavets @ 2009-03-16 17:48 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar


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

Performed:-

root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard remotes/origin/xen/dom0/hackery
HEAD is now at a38db50 Merge commit 'tip/core/printk' into xen/dom0/hackery
make clean
make
make modules_install install
mkinitramfs -o /boot/initrd-2.6.29-rc7-tip.img 2.6.29-rc7-tip

Booted with new kernel under Xen (19355) and get same bug in place.
Cannot shutdown any PV DomU . Xen Host dies.

Should i download from scratch :-

# git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
# cd linux-2.6-xen
# git checkout origin/xen/dom0/hackery -b xen/dom0/hackery
# git reset --hard remotes/origin/xen/dom0/hackery

Boris



--- On Mon, 3/16/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
To: bderzhavets@yahoo.com
Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Vegard Nossum" <vegard.nossum@gmail.com>, "Frederic Weisbecker" <fweisbec@gmail.com>, "the arch/x86 maintainers" <x86@kernel.org>, "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>, "Ingo Molnar" <mingo@elte.hu>
Date: Monday, March 16, 2009, 12:09 PM

Boris Derzhavets wrote:
> It's not working:-
> 
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git checkout xen/dom0/hackery
> Already on "xen/dom0/hackery"
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard
remotes/xen/xen/dom0/hackery
> fatal: ambiguous argument 'remotes/xen/xen/dom0/hackery': unknown
revision or path not in the working tree.
> 

The proper name is "remotes/<whatever you called your xen
remote>/xen/dom0/hackery" (it might be "origin").

   J



      

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

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

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xen-devel] Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
  2009-03-16 17:48             ` Boris Derzhavets
@ 2009-03-16 17:55                 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 17:55 UTC (permalink / raw)
  To: bderzhavets
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar

Boris Derzhavets wrote:
> Performed:-
>
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard 
> remotes/origin/xen/dom0/hackery
> HEAD is now at a38db50 Merge commit 'tip/core/printk' into 
> xen/dom0/hackery
> make clean
> make
> make modules_install install
> mkinitramfs -o /boot/initrd-2.6.29-rc7-tip.img 2.6.29-rc7-tip
>
> Booted with new kernel under Xen (19355) and get same bug in place.
> Cannot shutdown any PV DomU . Xen Host dies.
>
OK, so we're talking about a new bug now, right?

When you say "Xen Host dies", do you mean that Xen itself crashes?  Or 
that the dom0 kernel crashes?  Hangs?  Non-responsive?

Do you have a serial console?

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users"
@ 2009-03-16 17:55                 ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 17+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-16 17:55 UTC (permalink / raw)
  To: bderzhavets
  Cc: Xen-devel, Vegard Nossum, Frederic Weisbecker,
	the arch/x86 maintainers, Linux Kernel Mailing List, Ingo Molnar

Boris Derzhavets wrote:
> Performed:-
>
> root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard 
> remotes/origin/xen/dom0/hackery
> HEAD is now at a38db50 Merge commit 'tip/core/printk' into 
> xen/dom0/hackery
> make clean
> make
> make modules_install install
> mkinitramfs -o /boot/initrd-2.6.29-rc7-tip.img 2.6.29-rc7-tip
>
> Booted with new kernel under Xen (19355) and get same bug in place.
> Cannot shutdown any PV DomU . Xen Host dies.
>
OK, so we're talking about a new bug now, right?

When you say "Xen Host dies", do you mean that Xen itself crashes?  Or 
that the dom0 kernel crashes?  Hangs?  Non-responsive?

Do you have a serial console?

    J

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-03-16 18:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14  7:04 tip.git regression from "vsprintf: unify the format decoding layer for its 3 users" Jeremy Fitzhardinge
2009-03-14  7:04 ` Jeremy Fitzhardinge
2009-03-14  9:43 ` Boris Derzhavets
2009-03-14 11:08 ` Vegard Nossum
2009-03-14 16:11   ` Jeremy Fitzhardinge
2009-03-14 16:11     ` Jeremy Fitzhardinge
2009-03-16 12:32     ` Boris Derzhavets
2009-03-16 14:20       ` [Xen-devel] " Jeremy Fitzhardinge
2009-03-16 14:20         ` Jeremy Fitzhardinge
2009-03-16 15:05         ` how to enable shadow page table? Do I have to run HVM guest systems for shadow paging mode? Long Wang
2009-03-16 15:05           ` Long Wang
2009-03-16 16:05         ` Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users" Boris Derzhavets
2009-03-16 16:09           ` [Xen-devel] " Jeremy Fitzhardinge
2009-03-16 16:09             ` Jeremy Fitzhardinge
2009-03-16 17:48             ` Boris Derzhavets
2009-03-16 17:55               ` [Xen-devel] " Jeremy Fitzhardinge
2009-03-16 17:55                 ` Jeremy Fitzhardinge

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.