Skip to contentSkip to conversation

create irq failed due to move_cleanup_count always being set

xen-devel Liuyongan 2 participants 7 messages Jan 5, 2012 – Jan 9, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Liuyongan

author
#1 lore raw
Quoted 12 lines · Andrew Cooper
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain, it failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will clear move_in_progress, according to the prink-message). So I can conclude for certain that __assign_irq_vector failed due to move_cleanup_count always being set.

Is it always 33 domains it takes to cause the problem, or does it vary? If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01 which corrects the logic which works out which moved vectors it should clean up. Without it, stale irq numbers build up in the per-cpu irq_vector tables leading to __assign_irq_vector failing with -ENOSPC as it find find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created before the failures, so vectors of a given cpu should not have been used up. Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+ domains created successfully without this problem.

Quoted 33 lines
Quoted 13 lines

//this is the normal case when create and destroy domain whose id is 31; (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0
(XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind
(XEN) irq.c:1593: dom31: forcing unbind of pirq 79
(XEN) irq.c:223, destroy irq 77

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 6 lines

//all the subsequent domain creation failed, below lists only 3 times:
(XEN) physdev.c:88: dom33: can't create irq for msi!
(XEN) physdev.c:88: dom34: can't create irq for msi!
(XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I compare my code with 4.1.2 and search the mail list for potential patches. (http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanup_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch which add locks in __assign_irq_vector. Can anybody explain why this lock is needed? Or is there a patch that might fix my bug? Thx.

This patch fixes a problem where IOAPIC line level interrupts cease for a while. It has nothing to do with MSI interrupts. (Also, there are no locks altered, and xen-4.0-testing seems to have gained an additional hunk in hvm/vmx code unrelated to the original patch.)

Quoted 9 lines

Addition message: my board is arch-x86, no domains left when failed to create new ones, create_irq failure lasted one day until I reboot the board, and the irq number allocated is used certainly for a msi dev.

Yong an Liu
2012.1.4

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

author
#2 lore raw

As only 33 domains were successfully created(and destroyed) before the problem occurring, there should be enough free IRQ number and vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Yong an

Quoted 83 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected]; [email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 5 lines · Andrew Cooper
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain, it

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will clear move_in_progress, according to the prink-message). So I can conclude for certain that __assign_irq_vector failed due to move_cleanup_count always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does it

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01

which

Quoted 1 line

corrects the logic which works out which moved vectors it should

clean

Quoted 3 lines

up. Without it, stale irq numbers build up in the per-cpu irq_vector tables leading to __assign_irq_vector failing with -ENOSPC as it find find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created before
the failures, so vectors of a given cpu should not have been used up. Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+ domains created successfully without this problem.

Quoted 2 lines
Quoted 2 lines

//this is the normal case when create and destroy domain whose id is

31;

Quoted 5 lines
Quoted 5 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 7 lines
Quoted 7 lines

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//all the subsequent domain creation failed, below lists only 3

times:

Quoted 5 lines
Quoted 5 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I compare

my code with 4.1.2 and search the mail list for potential patches.
(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu
p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch which add locks in __assign_irq_vector. Can anybody explain why this lock is needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts cease

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also, there are

no

Quoted 4 lines

locks altered, and xen-4.0-testing seems to have gained an additional hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left when

failed to create new ones, create_irq failure lasted one day until I reboot the board, and the irq number allocated is used certainly for a msi dev.

Quoted 8 lines
Quoted 8 lines

Yong an Liu
2012.1.4

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

#3 lore raw

Could you please avoid top posing.

Quoted 1 line · Liuyongan

As only 33 domains were successfully created(and destroyed) before the problem occurring, there should be enough free IRQ number and vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Is it repeatably 33 domains, or was that a 1 off experiment? Can you confirm exactly which version of Xen you are using, including changeset if you know it? Without knowing your hardware, it is hard to say if there are actually enough free IRQs, although I do agree that what you are currently seeing is buggy behavior.

The per-cpu IDT functionality introduced in Xen-4.0 is fragile at the best of times, and has had several bugfixes and tweaks to it which I am not certain have actually found their way back to Xen-4.0. Could you try with Xen-4.1 and see if the problem persists?

~Andrew

Quoted 81 lines

Yong an

Quoted 80 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected]; [email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 5 lines · Andrew Cooper
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain, it

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will clear move_in_progress, according to the prink-message). So I can conclude for certain that __assign_irq_vector failed due to move_cleanup_count always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does it

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01

which

Quoted 1 line

corrects the logic which works out which moved vectors it should

clean

Quoted 3 lines

up. Without it, stale irq numbers build up in the per-cpu irq_vector tables leading to __assign_irq_vector failing with -ENOSPC as it find find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created before
the failures, so vectors of a given cpu should not have been used up. Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+ domains created successfully without this problem.

Quoted 1 line
Quoted 1 line

//this is the normal case when create and destroy domain whose id is

31;

Quoted 5 lines
Quoted 5 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 7 lines
Quoted 7 lines

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//all the subsequent domain creation failed, below lists only 3

times:

Quoted 5 lines
Quoted 5 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I compare

my code with 4.1.2 and search the mail list for potential patches.
(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu
p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch which add locks in __assign_irq_vector. Can anybody explain why this lock is needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts cease

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also, there are

no

Quoted 4 lines

locks altered, and xen-4.0-testing seems to have gained an additional hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left when

failed to create new ones, create_irq failure lasted one day until I reboot the board, and the irq number allocated is used certainly for a msi dev.

Quoted 7 lines
Quoted 7 lines

Yong an Liu
2012.1.4

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

Signature · 2 lines
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com
author
#4 lore raw
Quoted 12 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 7:01 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to move_cleanup_count always being set

Could you please avoid top posing.

Quoted 8 lines
Quoted 1 line · Liuyongan

As only 33 domains were successfully created(and destroyed) before

the problem occurring, there should be enough free IRQ number and vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Is it repeatably 33 domains, or was that a 1 off experiment? Can you

No, it's not repeatable, this occurred 2 times, another one is after 152 domains.

Quoted 11 lines

confirm exactly which version of Xen you are using, including changeset if you know it? Without knowing your hardware, it is hard to say if there are actually enough free IRQs, although I do agree that what you are currently seeing is buggy behavior.

The per-cpu IDT functionality introduced in Xen-4.0 is fragile at the best of times, and has had several bugfixes and tweaks to it which I am not certain have actually found their way back to Xen-4.0. Could you try with Xen-4.1 and see if the problem persists?

~Andrew

As I could not make it re-occure in xen-4.0, trying xen-4.1 seems useless.
I noticed a scenario:

1) move_in_progress occure;
2) IPI IRQ_MOVE_CLEANUP_VECTOR interrupt is sent;
3) the irq is destroyed, so cfg->vector is cleared, and etc.;
4) IRQ_MOVE_CLEANUP_VECTOR irq is responded.

In xen-4.1 , step 3, vector_irq of old_cpu_mask/old_domain is also reset, so in step 4) move_cleanup_count will failed to sub by one, and finally leading to create_irq failure(right?);

In xen-4.0, step 3, and in my code vector_irq is not reset(this is a bug as you'v mentioned), I still could not figure out why
create_irq should failed.

Quoted 99 lines
Quoted 11 lines
Quoted 11 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected]; [email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 1 line · Andrew Cooper
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain, it

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will

clear

Quoted 2 lines
Quoted 2 lines

move_in_progress, according to the prink-message). So I can conclude for certain that __assign_irq_vector failed due to

move_cleanup_count

Quoted 9 lines
Quoted 9 lines

always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does it

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01

which

Quoted 1 line

corrects the logic which works out which moved vectors it should

clean

Quoted 1 line

up. Without it, stale irq numbers build up in the per-cpu

irq_vector

Quoted 1 line
Quoted 1 line
Quoted 1 line

tables leading to __assign_irq_vector failing with -ENOSPC as it

find

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created

before

Quoted 1 line
Quoted 1 line

the failures, so vectors of a given cpu should not have been used

up.

Quoted 5 lines
Quoted 5 lines

Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+ domains created successfully without this problem.

Quoted 1 line
Quoted 1 line

//this is the normal case when create and destroy domain whose id

is

Quoted 12 lines
Quoted 12 lines

31;

Quoted 11 lines
Quoted 11 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

//all the subsequent domain creation failed, below lists only 3

times:

Quoted 5 lines
Quoted 5 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I

compare

Quoted 2 lines
Quoted 2 lines

my code with 4.1.2 and search the mail list for potential patches.

(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu

Quoted 1 line
Quoted 1 line

p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch

which

Quoted 1 line
Quoted 1 line

add locks in __assign_irq_vector. Can anybody explain why this lock

is

Quoted 4 lines
Quoted 4 lines

needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts cease

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also, there

are

Quoted 2 lines
Quoted 2 lines

no

Quoted 1 line

locks altered, and xen-4.0-testing seems to have gained an

additional

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left when

failed to create new ones, create_irq failure lasted one day until I reboot the board, and the irq number allocated is used certainly for

a

Quoted 8 lines
Quoted 8 lines

msi dev.

Quoted 7 lines
Quoted 7 lines

Yong an Liu
2012.1.4

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

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

#5 lore raw
Quoted 12 lines · Liuyongan
Quoted 12 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 7:01 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to move_cleanup_count always being set

Could you please avoid top posing.

On 06/01/12 06:04, Liuyongan wrote:

Quoted 8 lines
Quoted 7 lines
Quoted 1 line

As only 33 domains were successfully created(and destroyed) before

the problem occurring, there should be enough free IRQ number and vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Is it repeatably 33 domains, or was that a 1 off experiment? Can you

No, it's not repeatable, this occurred 2 times, another one is after 152 domains.

Can you list all the failures you have seen with the number of domains? So far it seems that it has been 33 twice but many more some of the time, which doesn't lend itself to saying "33 domains is a systematic failure" for certain at the moment.

Quoted 5 lines
Quoted 5 lines

confirm exactly which version of Xen you are using, including changeset if you know it? Without knowing your hardware, it is hard to say if there are actually enough free IRQs, although I do agree that what you are currently seeing is buggy behavior.

Quoted 8 lines
Quoted 6 lines

The per-cpu IDT functionality introduced in Xen-4.0 is fragile at the best of times, and has had several bugfixes and tweaks to it which I am not certain have actually found their way back to Xen-4.0. Could you try with Xen-4.1 and see if the problem persists?

~Andrew

As I could not make it re-occure in xen-4.0, trying xen-4.1 seems useless.
I noticed a scenario:

I am confused. Above, you say that the problem is repeatable, but here you say it is not.

Quoted 9 lines

1) move_in_progress occure;
2) IPI IRQ_MOVE_CLEANUP_VECTOR interrupt is sent;
3) the irq is destroyed, so cfg->vector is cleared, and etc.;
4) IRQ_MOVE_CLEANUP_VECTOR irq is responded.

In xen-4.1 , step 3, vector_irq of old_cpu_mask/old_domain is also reset, so in step 4) move_cleanup_count will failed to sub by one, and finally leading to create_irq failure(right?);

In xen-4.0, step 3, and in my code vector_irq is not reset(this is a bug as you'v mentioned), I still could not figure out why
create_irq should failed.

The first point of debugging should be to see how create_irq is failing. Is it failing because of find_unassigned_irq() or because of __assign_irq_vector().

Another piece of useful information would be what your guests are and what they are trying to do with interrupts. Are you using PCI passthrough?

~Andrew

Quoted 97 lines
Quoted 97 lines
Quoted 10 lines
Quoted 10 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected]; [email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 1 line · Andrew Cooper
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain, it

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will

clear

Quoted 2 lines
Quoted 2 lines

move_in_progress, according to the prink-message). So I can conclude for certain that __assign_irq_vector failed due to

move_cleanup_count

Quoted 9 lines
Quoted 9 lines

always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does it

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01

which

Quoted 1 line

corrects the logic which works out which moved vectors it should

clean

Quoted 1 line

up. Without it, stale irq numbers build up in the per-cpu

irq_vector

Quoted 1 line
Quoted 1 line
Quoted 1 line

tables leading to __assign_irq_vector failing with -ENOSPC as it

find

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created

before

Quoted 1 line
Quoted 1 line

the failures, so vectors of a given cpu should not have been used

up.

Quoted 5 lines
Quoted 5 lines

Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+ domains created successfully without this problem.

Quoted 1 line
Quoted 1 line

//this is the normal case when create and destroy domain whose id

is

Quoted 12 lines
Quoted 12 lines

31;

Quoted 11 lines
Quoted 11 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

//all the subsequent domain creation failed, below lists only 3

times:

Quoted 5 lines
Quoted 5 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I

compare

Quoted 2 lines
Quoted 2 lines

my code with 4.1.2 and search the mail list for potential patches.

(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu

Quoted 1 line
Quoted 1 line

p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch

which

Quoted 1 line
Quoted 1 line

add locks in __assign_irq_vector. Can anybody explain why this lock

is

Quoted 4 lines
Quoted 4 lines

needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts cease

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also, there

are

Quoted 2 lines
Quoted 2 lines

no

Quoted 1 line

locks altered, and xen-4.0-testing seems to have gained an

additional

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left when

failed to create new ones, create_irq failure lasted one day until I reboot the board, and the irq number allocated is used certainly for

a

Quoted 8 lines
Quoted 8 lines

msi dev.

Quoted 7 lines
Quoted 7 lines

Yong an Liu
2012.1.4

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

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

Signature · 2 lines
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com
author
#6 lore raw
Quoted 31 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 8:18 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 9 lines · Liuyongan
Quoted 9 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 7:01 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 4 lines
Quoted 4 lines

Could you please avoid top posing.

Quoted 1 line · Liuyongan

As only 33 domains were successfully created(and destroyed)

before

Quoted 6 lines
Quoted 6 lines

the problem occurring, there should be enough free IRQ number and vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Is it repeatably 33 domains, or was that a 1 off experiment? Can

Quoted 8 lines

you

Quoted 1 line

No, it's not repeatable, this occurred 2 times, another one is

after 152 domains.

Can you list all the failures you have seen with the number of domains? So far it seems that it has been 33 twice but many more some of the time, which doesn't lend itself to saying "33 domains is a systematic failure" for certain at the moment.

Sorry, to make it clear: this problems occurred 2 times one is after 33 domains, the other is after 152 domains. I'm not quite expressive in English.

Quoted 41 lines
Quoted 2 lines
Quoted 2 lines

confirm exactly which version of Xen you are using, including

changeset

Quoted 2 lines
Quoted 2 lines

if you know it? Without knowing your hardware, it is hard to say if there are actually enough free IRQs, although I do agree that what

you

Quoted 3 lines
Quoted 3 lines

are currently seeing is buggy behavior.

The per-cpu IDT functionality introduced in Xen-4.0 is fragile at

the

Quoted 1 line
Quoted 1 line

best of times, and has had several bugfixes and tweaks to it which I

am

Quoted 1 line
Quoted 1 line

not certain have actually found their way back to Xen-4.0. Could

you

Quoted 4 lines
Quoted 3 lines

try with Xen-4.1 and see if the problem persists?

~Andrew

As I could not make it re-occure in xen-4.0, trying xen-4.1 seems

useless.

Quoted 1 line

I noticed a scenario:

I am confused. Above, you say that the problem is repeatable, but here you say it is not.

Quoted 6 lines

1) move_in_progress occure;
2) IPI IRQ_MOVE_CLEANUP_VECTOR interrupt is sent;
3) the irq is destroyed, so cfg->vector is cleared, and etc.;
4) IRQ_MOVE_CLEANUP_VECTOR irq is responded.

In xen-4.1 , step 3, vector_irq of old_cpu_mask/old_domain is also

reset, so in step 4) move_cleanup_count will failed to sub by one, and finally leading to create_irq failure(right?);

Quoted 2 lines

In xen-4.0, step 3, and in my code vector_irq is not reset(this is

a bug as you'v mentioned), I still could not figure out why

Quoted 1 line

create_irq should failed.

The first point of debugging should be to see how create_irq is failing. Is it failing because of find_unassigned_irq() or because of __assign_irq_vector().

Quoted 5 lines

Another piece of useful information would be what your guests are and what they are trying to do with interrupts. Are you using PCI passthrough?

~Andrew

Thx for your suggestion. I think I'v got the reason. Dig into details:
1) move_in_progress occurs;
2) new interrupt occurs on new cpus, so IPI IRQ_MOVE_CLEANUP_VECTOR

     interrupt is sent;
  3) the irq is destroyed, so __clear_irq_vector is called;
  4) IRQ_MOVE_CLEANUP_VECTOR irq is responded with function 
     smp_irq_move_cleanup_interrupt(); 

In step 3) code with patch "cpus_and(tmp_mask, cfg->old_domain, cpu_online_map);" will clear vector_irq of old_cpu_mask/old_domain, so in step 4):

        irq = __get_cpu_var(vector_irq)[vector];

        if (irq == -1)
            continue;

will missed the irq(cfg) to clear.

In step 3) code without patch(this is the case of mine),vector_irq of old_cpu_mask is not cleared, so in step 4) irq(cfg) is found correctly, but at code:

         if (vector == cfg->vector && cpu_isset(me, cfg->domain))
            goto unlock;
  there is a chance that vector should equal cfg->vector and me equal
  cfg->domain, but because irq is destroyed, then not "goto unlock",so
         cfg->move_cleanup_count--;

execute unexpectedly. And left cfg->move_cleanup_count=255 finally.

So I think the loop made in smp_irq_move_cleanup_interrupt should based on irq not vectors to find struct cfg.

Is that right? Drowsy head on weekend, if my analysis is right, I'll submit the patch on Monday :)

Quoted 112 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected];
[email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to

move_cleanup_count

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

always being set

Quoted 5 lines · Andrew Cooper
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a domain,

it

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will

clear

Quoted 1 line
Quoted 1 line

move_in_progress, according to the prink-message). So I can

conclude

Quoted 13 lines
Quoted 13 lines
Quoted 1 line
Quoted 1 line

for certain that __assign_irq_vector failed due to

move_cleanup_count

Quoted 9 lines
Quoted 9 lines

always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does it

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-unstable.hg/rev/68b903bb1b01

which

Quoted 1 line

corrects the logic which works out which moved vectors it should

clean

Quoted 1 line

up. Without it, stale irq numbers build up in the per-cpu

irq_vector

Quoted 1 line
Quoted 1 line
Quoted 1 line

tables leading to __assign_irq_vector failing with -ENOSPC as it

Quoted 8 lines
Quoted 8 lines

find

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created

before

Quoted 1 line
Quoted 1 line

the failures, so vectors of a given cpu should not have been used

up.

Quoted 2 lines
Quoted 2 lines

Besides, I got this problem after 143 domains were created another time. But I could not repeat this problem manually as 4000+

domains

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

created successfully without this problem.

Quoted 1 line
Quoted 1 line

//this is the normal case when create and destroy domain whose

id

Quoted 19 lines
Quoted 19 lines

is

Quoted 18 lines
Quoted 18 lines

31;

Quoted 5 lines
Quoted 5 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

Quoted 7 lines
Quoted 7 lines

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//all the subsequent domain creation failed, below lists only 3

times:

Quoted 4 lines
Quoted 4 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I think this might be a bug and might have fixed, so I

compare

Quoted 2 lines
Quoted 2 lines

my code with 4.1.2 and search the mail list for potential patches.

(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu

Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a patch

which

Quoted 1 line
Quoted 1 line

add locks in __assign_irq_vector. Can anybody explain why this

lock

Quoted 3 lines
Quoted 3 lines

is

Quoted 2 lines
Quoted 2 lines

needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts

cease

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also, there

are

Quoted 2 lines
Quoted 2 lines

no

Quoted 1 line

locks altered, and xen-4.0-testing seems to have gained an

additional

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left when

failed to create new ones, create_irq failure lasted one day until

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

reboot the board, and the irq number allocated is used certainly

for

Quoted 5 lines
Quoted 5 lines

a

Quoted 4 lines
Quoted 4 lines

msi dev.

Quoted 3 lines
Quoted 3 lines

Yong an Liu
2012.1.4

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

author
#7 lore raw
Quoted 122 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Liuyongan
Sent: Saturday, January 07, 2012 6:34 PM
To: Andrew Cooper
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [Xen-devel] [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 8 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 8:18 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to move_cleanup_count always being set

Quoted 8 lines
Quoted 7 lines · Liuyongan
Quoted 7 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]]
Sent: Friday, January 06, 2012 7:01 PM
To: Liuyongan
Cc: [email protected]; Keir (Xen.org); Qianhuibin
Subject: Re: [xen-devel] create irq failed due to

move_cleanup_count

Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

always being set

Could you please avoid top posing.

Quoted 1 line · Liuyongan

As only 33 domains were successfully created(and destroyed)

before

Quoted 1 line
Quoted 1 line

the problem occurring, there should be enough free IRQ number

and

Quoted 10 lines
Quoted 5 lines
Quoted 5 lines

vector number to allocate(suppose that irqs and vectors failed to deallocate). And destroy_irq() will clear move_in_progress, so move_cleanup_count must be setted? Is this the case?

Is it repeatably 33 domains, or was that a 1 off experiment? Can

you

Quoted 1 line

No, it's not repeatable, this occurred 2 times, another one is

after 152 domains.

Can you list all the failures you have seen with the number of

domains?

Quoted 3 lines

So far it seems that it has been 33 twice but many more some of the time, which doesn't lend itself to saying "33 domains is a systematic failure" for certain at the moment.

Sorry, to make it clear: this problems occurred 2 times one is after
33
domains, the other is after 152 domains. I'm not quite expressive in English.

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

confirm exactly which version of Xen you are using, including

changeset

Quoted 1 line
Quoted 1 line

if you know it? Without knowing your hardware, it is hard to say

if

Quoted 7 lines
Quoted 1 line
Quoted 1 line

there are actually enough free IRQs, although I do agree that what

you

Quoted 3 lines
Quoted 3 lines

are currently seeing is buggy behavior.

The per-cpu IDT functionality introduced in Xen-4.0 is fragile at

the

Quoted 1 line
Quoted 1 line

best of times, and has had several bugfixes and tweaks to it which

I

Quoted 11 lines

am

Quoted 1 line
Quoted 1 line

not certain have actually found their way back to Xen-4.0. Could

you

Quoted 4 lines
Quoted 3 lines

try with Xen-4.1 and see if the problem persists?

~Andrew

As I could not make it re-occure in xen-4.0, trying xen-4.1 seems

useless.

Quoted 1 line

I noticed a scenario:

I am confused. Above, you say that the problem is repeatable, but

here

Quoted 8 lines

you say it is not.

Quoted 6 lines

1) move_in_progress occure;
2) IPI IRQ_MOVE_CLEANUP_VECTOR interrupt is sent;
3) the irq is destroyed, so cfg->vector is cleared, and etc.;
4) IRQ_MOVE_CLEANUP_VECTOR irq is responded.

In xen-4.1 , step 3, vector_irq of old_cpu_mask/old_domain is

also

Quoted 1 line

reset, so in step 4) move_cleanup_count will failed to sub by one,

and

Quoted 3 lines

finally leading to create_irq failure(right?);

Quoted 2 lines

In xen-4.0, step 3, and in my code vector_irq is not reset(this

is

Quoted 5 lines

a bug as you'v mentioned), I still could not figure out why

Quoted 1 line

create_irq should failed.

The first point of debugging should be to see how create_irq is failing. Is it failing because of find_unassigned_irq() or because

of

Quoted 7 lines

__assign_irq_vector().

Another piece of useful information would be what your guests are and what they are trying to do with interrupts. Are you using PCI passthrough?

~Andrew

Thx for your suggestion. I think I'v got the reason. Dig into
details:
1) move_in_progress occurs;
2) new interrupt occurs on new cpus, so IPI IRQ_MOVE_CLEANUP_VECTOR

     interrupt is sent;
  3) the irq is destroyed, so __clear_irq_vector is called;
  4) IRQ_MOVE_CLEANUP_VECTOR irq is responded with function
     smp_irq_move_cleanup_interrupt();
Quoted 8 lines

In step 3) code with patch "cpus_and(tmp_mask, cfg->old_domain, cpu_online_map);" will clear vector_irq of old_cpu_mask/old_domain, so in step 4):

        irq = __get_cpu_var(vector_irq)[vector];

        if (irq == -1)
            continue;

will missed the irq(cfg) to clear.

Because move_in_progress will be cleared right after IPI irq sending, so the chance of old_domain's vector_irq being cleared is little, yet chance do exist, so loop based on irq will solve this problem.

Quoted 10 lines

In step 3) code without patch(this is the case of mine),vector_irq of old_cpu_mask is not cleared, so in step 4) irq(cfg) is found correctly, but at code:

         if (vector == cfg->vector && cpu_isset(me, cfg->domain))
            goto unlock;
  there is a chance that vector should equal cfg->vector and me equal
  cfg->domain, but because irq is destroyed, then not "goto unlock",so
         cfg->move_cleanup_count--;

execute unexpectedly. And left cfg->move_cleanup_count=255 finally.

This needs a scenario like this: two irqs move concurrently from/to one cpu: Irq 69 moves from cpu5 to cpu6,and irq 70 moves from cpu6 to cpu7, then if cpu6 receives IPI because of irq 70 moving completion, and at the meantime, irq 69 is destroyed, then irq69's cfg-> move_cleanup_count may be a invalid value of 255.

The radical reason of this problem is that cpu who receives IPI irq cannot tell which vector completes move if there are two move concurrently.

Quoted 139 lines

So I think the loop made in smp_irq_move_cleanup_interrupt should based on irq not vectors to find struct cfg.

Is that right? Drowsy head on weekend, if my analysis is right, I'll submit the patch on Monday :)

Quoted 16 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

-----Original Message-----
From: Liuyongan
Sent: Thursday, January 05, 2012 2:14 PM
To: Liuyongan; [email protected];
[email protected]; [email protected]
Cc: Qianhuibin
Subject: RE: [xen-devel] create irq failed due to

move_cleanup_count

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

always being set

Quoted 5 lines · Andrew Cooper
Quoted 4 lines · Liuyongan

Hi, all

I'm using xen-4.0 to do a test. And when I create a

domain,

Quoted 12 lines

it

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

failed due to create_irq() failure. As only 33 domains were successfully created and destroyed before I got the continuous failures, and the domain just before the failure was properly destroyed(at least destroy_irq() was properly called, which will

clear

Quoted 1 line
Quoted 1 line

move_in_progress, according to the prink-message). So I can

conclude

Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

for certain that __assign_irq_vector failed due to

move_cleanup_count

Quoted 2 lines
Quoted 2 lines

always being set.

Quoted 1 line

Is it always 33 domains it takes to cause the problem, or does

it

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

vary?

Quoted 2 lines

If it varies, then I think you want this patch
http://xenbits.xensource.com/hg/xen-

unstable.hg/rev/68b903bb1b01

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

which

Quoted 1 line

corrects the logic which works out which moved vectors it

should

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

clean

Quoted 1 line

up. Without it, stale irq numbers build up in the per-cpu

irq_vector

Quoted 1 line
Quoted 1 line
Quoted 1 line

tables leading to __assign_irq_vector failing with -ENOSPC as

it

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

find

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

find a vector to allocate.

Yes, I've noticed this patch, as only 33 domains were created

before

Quoted 1 line
Quoted 1 line

the failures, so vectors of a given cpu should not have been

used

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

up.

Quoted 1 line
Quoted 1 line

Besides, I got this problem after 143 domains were created

another

Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

time. But I could not repeat this problem manually as 4000+

domains

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

created successfully without this problem.

Quoted 1 line
Quoted 1 line

//this is the normal case when create and destroy domain whose

id

Quoted 14 lines
Quoted 14 lines

is

Quoted 13 lines
Quoted 13 lines

31;

Quoted 12 lines
Quoted 12 lines

(XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom31: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom31: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//domain id 32 is created and destroyed correctly also. (XEN) irq.c:1232:d0 bind pirq 79, irq 77, share flag:0 (XEN) irq.c:1377: dom32: pirq 79, irq 77 force unbind (XEN) irq.c:1593: dom32: forcing unbind of pirq 79 (XEN) irq.c:223, destroy irq 77

//all the subsequent domain creation failed, below lists only

3

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines

times:

Quoted 5 lines
Quoted 5 lines

(XEN) physdev.c:88: dom33: can't create irq for msi! (XEN) physdev.c:88: dom34: can't create irq for msi! (XEN) physdev.c:88: dom35: can't create irq for msi!

I think this might be a bug and might have fixed, so I

compare

Quoted 1 line
Quoted 1 line

my code with 4.1.2 and search the mail list for potential

patches.

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line

(http://xen.markmail.org/search/?q=move_cleanup_count#query:move_cleanu

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

p_count+page:6+mid:fpkrafqbeyiauvhs+state:results) submit a

patch

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines

which

Quoted 1 line
Quoted 1 line

add locks in __assign_irq_vector. Can anybody explain why this

lock

Quoted 3 lines
Quoted 3 lines

is

Quoted 2 lines
Quoted 2 lines

needed? Or is there a patch that might fix my bug? Thx.

Quoted 1 line

This patch fixes a problem where IOAPIC line level interrupts

cease

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

for

Quoted 1 line

a while. It has nothing to do with MSI interrupts. (Also,

there

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

are

Quoted 2 lines
Quoted 2 lines

no

Quoted 1 line

locks altered, and xen-4.0-testing seems to have gained an

additional

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

hunk in hvm/vmx code unrelated to the original patch.)

Quoted 1 line

Addition message: my board is arch-x86, no domains left

when

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

failed to create new ones, create_irq failure lasted one day

until

Quoted 12 lines

I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

reboot the board, and the irq number allocated is used certainly

for

Quoted 9 lines
Quoted 9 lines

a

Quoted 8 lines
Quoted 8 lines

msi dev.

Quoted 7 lines
Quoted 7 lines

Yong an Liu
2012.1.4

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

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

--
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

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