Skip to contentSkip to conversation

High-load Domain0 cause guest domian panic.

DISCUSSION Hidetoshi Nishi 4 participants 8 messages Apr 17, 2007 – Jul 12, 2007

lore
Share & tools
lore
#0 lore raw

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

#1 lore raw

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.html for some discussion on this - no resolution though.

Simon

________________________________

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout¹s not long enough we could make it longer, or configurable on the domU command line.

-- Keir

Quoted 41 lines · Simon

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.html
for some discussion on this - no resolution though.

Simon

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Unfortunately, the time required seems to be very variable and (Dom0) load dependant.

When I saw this, the problem was that vif & vbd hot plug in Dom0 were serialized and sometimes vif hot-plug was taking a really long time; I wonder if we need to find a way to not start the timeout for a device until hot plug actually starts in dom0?

Simon

________________________________

From: Keir Fraser [mailto:[email protected]]
Sent: Wed 18/04/2007 9:08 AM
To: Graham, Simon; Hidetoshi Nishi; [email protected]
Subject: Re: [Xen-devel] High-load Domain0 cause guest domian panic.

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout's not long enough we could make it longer, or configurable on the domU command line.

-- Keir

On 18/4/07 13:31, "Graham, Simon" <[email protected]> wrote:

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.html for some discussion on this - no resolution though.

Simon

________________________________

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

________________________________

	_______________________________________________
	Xen-devel mailing list
	[email protected]
	http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

 Hi Keir-san, Simon-san

 Thank you for your replies.

 I think although we set timer be longer, guest domain will mount
the sysroot in init sequence of initrd before xenbus state be connected.

 Then we need the way to make init sequence be stayed until the device is ready, I think.


 Thank you. Nishi

Quoted 22 lines

Unfortunately, the time required seems to be very variable and (Dom0) load dependant.

When I saw this, the problem was that vif & vbd hot plug in Dom0 were serialized and sometimes vif hot-plug was taking a really long time; I wonder if we need to find a way to not start the timeout for a device until hot plug actually starts in dom0?

Simon

________________________________

From: Keir Fraser [mailto:[email protected]]
Sent: Wed 18/04/2007 9:08 AM
To: Graham, Simon; Hidetoshi Nishi; [email protected]
Subject: Re: [Xen-devel] High-load Domain0 cause guest domian panic.

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout's not long enough we could make it longer, or configurable on the domU command line.

Quoted 7 lines

-- Keir

On 18/4/07 13:31, "Graham, Simon" <[email protected]> wrote:

	See http://lists.xensource.com/archives/html/xen-devel/2006-12/

msg00136.

Quoted 8 lines

html for some discussion on this - no resolution though.

Simon

________________________________

From: [email protected] on behalf of Hidetoshi

Nishi

Quoted 48 lines

Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

________________________________

	_______________________________________________
	Xen-devel mailing list
	[email protected]
	http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Keir Fraser

Hi Keir-san, Simon-san

Even now I have concern about this problem.

Keir-san said,

Quoted 5 lines

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout¹s not long enough we could make it longer, or configurable on the domU command line.

-- Keir

Please let me know how to fix this problem on domU in detail. We will try to convert the logic with domU to with domVTx and domVTi.

Thank you. Nishi

Quoted 50 lines · Simon
Quoted 47 lines

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.
html
for some discussion on this - no resolution though.

Simon

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw

Well, there was a race where we did not wait until the root disk's partition table had been read. So you may find the problem is fixed by changeset 82 in linux-2.6.18-xen.hg.

-- Keir

Quoted 70 lines · Hidetoshi Nishi

Hi Keir-san, Simon-san

Even now I have concern about this problem.

Keir-san said,

Quoted 5 lines

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout¹s not long enough we could make it longer, or configurable on the domU command line.

-- Keir

Please let me know how to fix this problem on domU in detail. We will try to convert the logic with domU to with domVTx and domVTi.

Thank you. Nishi

Quoted 50 lines · Simon
Quoted 47 lines

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.
html
for some discussion on this - no resolution though.

Simon

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

Hi Keir-san,

Thank you for your quick return.

We will make PV on HVM and test it.

Thanks a lot. Nishi

Quoted 78 lines

Well, there was a race where we did not wait until the root disk's partition table had been read. So you may find the problem is fixed by changeset 82 in linux-2.6.18-xen.hg.

-- Keir

Quoted 70 lines · Hidetoshi Nishi

Hi Keir-san, Simon-san

Even now I have concern about this problem.

Keir-san said,

Quoted 5 lines

The domU kernel will already wait for all devices it discovers to enter connected state. If that timeout¹s not long enough we could make it longer, or configurable on the domU command line.

-- Keir

Please let me know how to fix this problem on domU in detail. We will try to convert the logic with domU to with domVTx and domVTi.

Thank you. Nishi

Quoted 50 lines · Simon
Quoted 47 lines

See http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00136.
html
for some discussion on this - no resolution though.

Simon

From: [email protected] on behalf of Hidetoshi Nishi
Sent: Tue 17/04/2007 8:53 AM
To: [email protected]
Subject: [Xen-devel] High-load Domain0 cause guest domian panic.

Hi all.

Currently we are investigating guest domain panic.

When guest domain whose root disk is VBD is created, domain0 with high-load gets late to initiate the back-end driver. And guest domain can not mount his root file system and goes into panic.

We think domain initial sequence have to wait to be ready of special device(root disk, etc).
And we should be able to specify special device in config file.

Do you have any idea ?

Thank you. Nishi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel