Skip to contentSkip to conversation

Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

DISCUSSION Konrad Rzeszutek Wilk 9 participants 28 messages Feb 10, 2010 – Feb 23, 2010

Subsystems (2)
lore
Share & tools
lore

Konrad Rzeszutek Wilk

author Tested-by Thomas Renninger
#0 lore raw

FYI.

----- Forwarded message from Yinghai Lu <[email protected]> -----

Date: Tue, 09 Feb 2010 11:32:12 -0800
From: Yinghai Lu <[email protected]>
To: Ingo Molnar <[email protected]>, Thomas Gleixner <[email protected]>,
"H. Peter Anvin" <[email protected]>,
Andrew Morton <[email protected]>,
Linus Torvalds <[email protected]>
Cc: Jesse Barnes <[email protected]>,
Christoph Lameter <[email protected]>, [email protected], [email protected], Yinghai Lu <[email protected]>, [email protected]
Subject: [PATCH 01/35] x86: fix sci on ioapic 1

Thomas Renninger <[email protected]> reported on IBM x3330

booting a latest kernel on this machine results in:

PCI: PCI BIOS revision 2.10 entry at 0xfd61c, last bus=1
PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0
ACPI: SCI (IRQ30) allocation failed
ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler (20090903/evevent-161)
ACPI: Unable to start the ACPI Interpreter

Later all kind of devices fail...

and bisect it down to this commit:
commit b9c61b70075c87a8612624736faf4a2de5b1ed30

x86/pci: update pirq_enable_irq() to setup io apic routing

it turns out we need to set irq routing for the sci on ioapic1 early.

-v2: make it work without sparseirq too.
-v3: fix checkpatch.pl warning, and cc to stable

---
 arch/x86/include/asm/io_apic.h |    1 +
 arch/x86/kernel/acpi/boot.c    |    9 ++++++-
 arch/x86/kernel/apic/io_apic.c |   50 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+), 1 deletions(-)
arch/x86/include/asm/io_apic.h +1 -0
index 7c7c16c..5f61f6e 100644
@@ -160,6 +160,7 @@ extern int io_apic_get_redir_entries(int ioapic);
 struct io_apic_irq_attr;
 extern int io_apic_set_pci_routing(struct device *dev, int irq,
 		 struct io_apic_irq_attr *irq_attr);
+void setup_IO_APIC_irq_extra(u32 gsi);
 extern int (*ioapic_renumber_irq)(int ioapic, int irq);
 extern void ioapic_init_mappings(void);
 extern void ioapic_insert_resources(void);
arch/x86/kernel/acpi/boot.c +8 -1
index 036d28a..6083bfa 100644
@@ -446,6 +446,12 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)
 int acpi_gsi_to_irq(u32 gsi, unsigned int *irq)
 {
 	*irq = gsi;
+
+#ifdef CONFIG_X86_IO_APIC
+	if (acpi_irq_model == ACPI_IRQ_MODEL_IOAPIC)
+		setup_IO_APIC_irq_extra(gsi);
+#endif
+
 	return 0;
 }
 
@@ -473,7 +479,8 @@ int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity)
 		plat_gsi = mp_register_gsi(dev, gsi, trigger, polarity);
 	}
 #endif
-	acpi_gsi_to_irq(plat_gsi, &irq);
+	irq = plat_gsi;
+
 	return irq;
 }
 
arch/x86/kernel/apic/io_apic.c +50 -0

56 lines not on this page · raw message

Signature · 8 lines
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

----- End forwarded message -----
#1 lore raw
Quoted 26 lines · Konrad Rzeszutek Wilk

FYI.

----- Forwarded message from Yinghai Lu <[email protected]> -----

Date: Tue, 09 Feb 2010 11:32:12 -0800
From: Yinghai Lu <[email protected]>
To: Ingo Molnar <[email protected]>, Thomas Gleixner <[email protected]>,
"H. Peter Anvin" <[email protected]>,
Andrew Morton <[email protected]>,
Linus Torvalds <[email protected]>
Cc: Jesse Barnes <[email protected]>,
Christoph Lameter <[email protected]>, [email protected], [email protected], Yinghai Lu <[email protected]>, [email protected]
Subject: [PATCH 01/35] x86: fix sci on ioapic 1

Thomas Renninger <[email protected]> reported on IBM x3330

booting a latest kernel on this machine results in:

PCI: PCI BIOS revision 2.10 entry at 0xfd61c, last bus=1
PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0
ACPI: SCI (IRQ30) allocation failed
ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler (20090903/evevent-161)
ACPI: Unable to start the ACPI Interpreter

Quoted 9 lines

Later all kind of devices fail...

and bisect it down to this commit:
commit b9c61b70075c87a8612624736faf4a2de5b1ed30

x86/pci: update pirq_enable_irq() to setup io apic routing

it turns out we need to set irq routing for the sci on ioapic1 early.

Yes, this did the trick. Introduced the code changes manually in the kernel tree, and now, networking is available (see also output of /proc/interrupts).

xen ~ # cat /proc/interrupts
CPU0 CPU1

  1:          8          0  xen-pirq-ioapic-edge  i8042
  4:          1          0  xen-pirq-ioapic-edge
  6:          3          0  xen-pirq-ioapic-edge  floppy
  8:          2          0  xen-pirq-ioapic-edge  rtc0
 12:        110          0  xen-pirq-ioapic-edge  i8042
 14:      14559          0  xen-pirq-ioapic-edge  ide0
 15:         56          0  xen-pirq-ioapic-edge  ide1
 19:      17492          0  xen-pirq-ioapic-level  uhci_hcd:usb1, peth0
 20:          0          0   IO-APIC-fasteoi   acpi
408:          0          0   xen-dyn-event     evtchn:xenstored
409:         45          0   xen-dyn-event     evtchn:xenstored
410:          0          0   xen-dyn-virq      hvc_console
411:         74          0   xen-dyn-event     xenbus
412:          0        346   xen-dyn-ipi       callfuncsingle1
413:          0          0   xen-dyn-virq      debug1
414:          0          0   xen-dyn-ipi       callfunc1
415:          0      12160   xen-dyn-ipi       resched1
416:          0       2517   xen-dyn-ipi       spinlock1
417:          0     112999   xen-dyn-virq      timer1
418:        437          0   xen-dyn-ipi       callfuncsingle0
419:          0          0   xen-dyn-virq      debug0
420:          0          0   xen-dyn-ipi       callfunc0
421:       4950          0   xen-dyn-ipi       resched0
422:       1983          0   xen-dyn-ipi       spinlock0
423:     112722          0   xen-dyn-virq      timer0
NMI:          0          0   Non-maskable interrupts
LOC:          0          0   Local timer interrupts
SPU:          0          0   Spurious interrupts
CNT:          0          0   Performance counter interrupts
PND:          0          0   Performance pending work
RES:       4950      12160   Rescheduling interrupts
CAL:        437        346   Function call interrupts
TLB:          0          0   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
MCE:          0          0   Machine check exceptions
MCP:          1          1   Machine check polls
ERR:          0
MIS:          0

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

#2 lore raw

SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 32 lines · Marcial Rion
Quoted 31 lines · Konrad Rzeszutek Wilk

FYI.

----- Forwarded message from Yinghai Lu <[email protected]> -----

Date: Tue, 09 Feb 2010 11:32:12 -0800
From: Yinghai Lu <[email protected]>
To: Ingo Molnar <[email protected]>, Thomas Gleixner <[email protected]>,
"H. Peter Anvin" <[email protected]>,
Andrew Morton <[email protected]>,
Linus Torvalds <[email protected]>
Cc: Jesse Barnes <[email protected]>,
Christoph Lameter <[email protected]>, [email protected], [email protected], Yinghai Lu <[email protected]>, [email protected]
Subject: [PATCH 01/35] x86: fix sci on ioapic 1

Thomas Renninger <[email protected]> reported on IBM x3330

booting a latest kernel on this machine results in:

PCI: PCI BIOS revision 2.10 entry at 0xfd61c, last bus=1
PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0
ACPI: SCI (IRQ30) allocation failed
ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler (20090903/evevent-161)
ACPI: Unable to start the ACPI Interpreter

Later all kind of devices fail...

and bisect it down to this commit:
commit b9c61b70075c87a8612624736faf4a2de5b1ed30

Quoted 6 lines
Quoted 4 lines

x86/pci: update pirq_enable_irq() to setup io apic routing

it turns out we need to set irq routing for the sci on ioapic1 early.

Yes, this did the trick. Introduced the code changes manually in the

That is great.

.. snip..

Quoted 2 lines

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen by many distributions as their next vehicle for release. The patches being mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it would not appear normally in 2.6.32 tree unles Greg KH choose to back-port it in. Greg is the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Try it that way, as this way also the distributions will pick up the fix and you would be able to load any new distro on your box without having to manually recompile the kernel and such.

Then when Jeremy revs up the xen/next tree to next stable rev (I think
he will do this, not sure?), it will automatically be picked up (if Greg picks it up in his tree).

E-mailing Jeremy on this, he might have a better idea.

#3 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 64 lines · Konrad Rzeszutek Wilk
Quoted 33 lines · Marcial Rion
Quoted 31 lines · Konrad Rzeszutek Wilk

FYI.

----- Forwarded message from Yinghai Lu<[email protected]> -----

Date: Tue, 09 Feb 2010 11:32:12 -0800
From: Yinghai Lu<[email protected]>
To: Ingo Molnar<[email protected]>, Thomas Gleixner<[email protected]>,
"H. Peter Anvin"<[email protected]>,
Andrew Morton<[email protected]>,
Linus Torvalds<[email protected]>
Cc: Jesse Barnes<[email protected]>,
Christoph Lameter<[email protected]>, [email protected], [email protected], Yinghai Lu<[email protected]>, [email protected]
Subject: [PATCH 01/35] x86: fix sci on ioapic 1

Thomas Renninger<[email protected]> reported on IBM x3330

booting a latest kernel on this machine results in:

PCI: PCI BIOS revision 2.10 entry at 0xfd61c, last bus=1
PCI: Using configuration type 1 for base access bio: create slab<bio-0> at 0
ACPI: SCI (IRQ30) allocation failed
ACPI Exception: AE_NOT_ACQUIRED, Unable to install System Control Interrupt handler (20090903/evevent-161)
ACPI: Unable to start the ACPI Interpreter

Later all kind of devices fail...

and bisect it down to this commit:
commit b9c61b70075c87a8612624736faf4a2de5b1ed30

Quoted 7 lines
Quoted 5 lines

x86/pci: update pirq_enable_irq() to setup io apic routing

it turns out we need to set irq routing for the sci on ioapic1 early.

Yes, this did the trick. Introduced the code changes manually in the

That is great.

.. snip..

Quoted 3 lines

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen by many distributions as their next vehicle for release. The patches being mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it would not appear normally in 2.6.32 tree unles Greg KH choose to back-port it in. Greg is the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Quoted 4 lines

Try it that way, as this way also the distributions will pick up the fix and you would be able to load any new distro on your box without having to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 3 lines

Then when Jeremy revs up the xen/next tree to next stable rev (I think
he will do this, not sure?), it will automatically be picked up (if Greg picks it up in his tree).

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the 2.6.32 tree basically works (which should be close), then I can merge all the stable branch changes onto it and call it "xen/stable" or something.

J

#4 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 27 lines · Jeremy Fitzhardinge
Quoted 19 lines
Quoted 4 lines

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen by many distributions as their next vehicle for release. The patches being mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it would not appear normally in 2.6.32 tree unles Greg KH choose to back-port it in. Greg is the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Quoted 4 lines

Try it that way, as this way also the distributions will pick up the fix and you would be able to load any new distro on your box without having to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 9 lines
Quoted 3 lines

Then when Jeremy revs up the xen/next tree to next stable rev (I think
he will do this, not sure?), it will automatically be picked up (if Greg picks it up in his tree).

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the 2.6.32 tree basically works (which should be close), then I can merge all the stable branch changes onto it and call it "xen/stable" or something.

So that means I should try xen/next now? :)

-- Pasi

#5 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 8 lines · Pasi Kärkkäinen
Quoted 5 lines · Jeremy Fitzhardinge

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the 2.6.32 tree basically works (which should be close), then I can merge all the stable branch changes onto it and call it "xen/stable" or something.

So that means I should try xen/next now? :)

I wouldn't recommend it yet. I have been trying it, but I haven't yet got it to boot, and my most recent attempt a couple of days ago didn't even build (the errors were

drivers/xen/xenbus/xenbus_probe.c: In function 'exists_connecting_device':
drivers/xen/xenbus/xenbus_probe.c:791: error: 'xenbus_frontend' undeclared (first use in this function) drivers/xen/xenbus/xenbus_probe.c:791: error: (Each undeclared identifier is reported only once drivers/xen/xenbus/xenbus_probe.c:791: error: for each function it appears in.) drivers/xen/xenbus/xenbus_probe.c: In function 'wait_for_devices':
drivers/xen/xenbus/xenbus_probe.c:863: error: 'xenbus_frontend' undeclared (first use in this function) make[3]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1

Michael Young

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

#10 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to Pasi Kärkkäinen
Quoted 36 lines · Pasi Kärkkäinen
Quoted 34 lines · Jeremy Fitzhardinge
Quoted 21 lines
Quoted 6 lines

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen by many distributions as their next vehicle for release. The patches being mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it would not appear normally in 2.6.32 tree unles Greg KH choose to back-port it in. Greg is the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Quoted 5 lines

Try it that way, as this way also the distributions will pick up the fix and you would be able to load any new distro on your box without having to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 4 lines

Then when Jeremy revs up the xen/next tree to next stable rev (I think
he will do this, not sure?), it will automatically be picked up (if Greg picks it up in his tree).

Quoted 8 lines
Quoted 6 lines

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the 2.6.32 tree basically works (which should be close), then I can merge all the stable branch changes onto it and call it "xen/stable" or something.

So that means I should try xen/next now? :)

Give it a go. It boots OK for me, and I can start xend. But I get domains hanging in pvgrub; I'm not sure blkback is working properly. Or it could be a tools issue...

J

#6 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to M A Young
Quoted 9 lines · M A Young

I wouldn't recommend it yet. I have been trying it, but I haven't yet got it to boot, and my most recent attempt a couple of days ago didn't even build (the errors were

drivers/xen/xenbus/xenbus_probe.c: In function 'exists_connecting_device':
drivers/xen/xenbus/xenbus_probe.c:791: error: 'xenbus_frontend' undeclared (first use in this function) drivers/xen/xenbus/xenbus_probe.c:791: error: (Each undeclared identifier is reported only once drivers/xen/xenbus/xenbus_probe.c:791: error: for each function it appears in.) drivers/xen/xenbus/xenbus_probe.c: In function 'wait_for_devices':
drivers/xen/xenbus/xenbus_probe.c:863: error: 'xenbus_frontend' undeclared (first use in this function) make[3]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1

I've fixed that since then. It really is a WIP is branch.

J

#11 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to Jeremy Fitzhardinge

[email protected] wrote on 02/17/2010 01:52:40 PM:

Quoted 6 lines · Pasi Kärkkäinen
Quoted 5 lines · Jeremy Fitzhardinge
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Question: Is it known when this piece of code will be introduced in

the

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

"pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen

by

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

many distributions as their next vehicle for release. The patches

being

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

mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it wouldnot

appear

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

normally in 2.6.32 tree unles Greg KH choose to back-port it in.

Greg is

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Try it that way, as this way also the distributions will pick up the

fix

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

and you would be able to load any new distro on your box without

having

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 1 line

Then when Jeremy revs up the xen/next tree to next stable rev (I

think

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

he will do this, not sure?), it will automatically be picked up

(if Greg picks it up in his tree).

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the

2.6.32

Quoted 1 line
Quoted 1 line
Quoted 1 line

tree basically works (which should be close), then I can merge all

the

Quoted 10 lines
Quoted 5 lines
Quoted 3 lines

stable branch changes onto it and call it "xen/stable" or something.

So that means I should try xen/next now? :)

Give it a go. It boots OK for me, and I can start xend. But I get domains hanging in pvgrub; I'm not sure blkback is working properly. Or

it could be a tools issue...

Does this require Xen 4.0-rc or can I do some testing using my 3.4.2 installs?

-Mike

---
Michael D Labriola
Electric Boat
[email protected]
401-848-8871 (desk)
401-848-8513 (lab)
401-316-9844 (cell)

#12 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 59 lines · Michael D Labriola

[email protected] wrote on 02/17/2010 01:52:40 PM:

Quoted 6 lines · Pasi Kärkkäinen
Quoted 5 lines · Jeremy Fitzhardinge
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Question: Is it known when this piece of code will be introduced in

the

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

"pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen

by

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

many distributions as their next vehicle for release. The patches

being

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

mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it wouldnot

appear

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

normally in 2.6.32 tree unles Greg KH choose to back-port it in.

Greg is

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Try it that way, as this way also the distributions will pick up the

fix

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

and you would be able to load any new distro on your box without

having

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 1 line

Then when Jeremy revs up the xen/next tree to next stable rev (I

think

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

he will do this, not sure?), it will automatically be picked up

(if Greg picks it up in his tree).

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the

2.6.32

Quoted 1 line
Quoted 1 line
Quoted 1 line

tree basically works (which should be close), then I can merge all

the

Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

stable branch changes onto it and call it "xen/stable" or something.

So that means I should try xen/next now? :)

Quoted 8 lines
Quoted 4 lines

Give it a go. It boots OK for me, and I can start xend. But I get domains hanging in pvgrub; I'm not sure blkback is working properly. Or

it could be a tools issue...

Does this require Xen 4.0-rc or can I do some testing using my 3.4.2 installs?

I believe xen/next uses the new APIC setup stuff, so it requires Xen 4.0.0 hypervisor. Correct?

iirc earlier there was a patch on xen-devel to support the new APIC stuff with Xen 3.4 hypervisor.

Was it this patch?:
http://xenbits.xen.org/xen-3.4-testing.hg?rev/608ebc959c35

-- Pasi

#17 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to Michael D Labriola
Quoted 5 lines · Michael D Labriola
Quoted 2 lines

it could be a tools issue...

Does this require Xen 4.0-rc or can I do some testing using my 3.4.2 installs?

No, the kernel requires Xen 4.0.

J

#13 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to Pasi Kärkkäinen
Quoted 3 lines · Pasi Kärkkäinen

I believe xen/next uses the new APIC setup stuff, so it requires Xen 4.0.0 hypervisor. Correct?

Right.

Quoted 5 lines

iirc earlier there was a patch on xen-devel to support the new APIC stuff with Xen 3.4 hypervisor.

Was it this patch?:
http://xenbits.xen.org/xen-3.4-testing.hg?rev/608ebc959c35

Looks like it. Has that made it into any release versions of 3.4?

J

#14 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 7 lines · Jeremy Fitzhardinge
Quoted 3 lines · Pasi Kärkkäinen

I believe xen/next uses the new APIC setup stuff, so it requires Xen 4.0.0 hypervisor. Correct?

Right.

Quoted 8 lines
Quoted 5 lines

iirc earlier there was a patch on xen-devel to support the new APIC stuff with Xen 3.4 hypervisor.

Was it this patch?:
http://xenbits.xen.org/xen-3.4-testing.hg?rev/608ebc959c35

Looks like it. Has that made it into any release versions of 3.4?

Not yet.. it'll be in 3.4.3.

-- Pasi

#15 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

[email protected] wrote on 02/17/2010 02:41:35 PM:

Quoted 3 lines · Jeremy Fitzhardinge
Quoted 2 lines · Pasi Kärkkäinen
Quoted 1 line

I believe xen/next uses the new APIC setup stuff, so it requires Xen

4.0.0

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

hypervisor. Correct?

Right.

Quoted 1 line

iirc earlier there was a patch on xen-devel to support the new

APIC stuff with Xen 3.4 hypervisor.

Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Was it this patch?:
http://xenbits.xen.org/xen-3.4-testing.hg?rev/608ebc959c35

Looks like it. Has that made it into any release versions of 3.4?

Not yet.. it'll be in 3.4.3.

Cool. So I can apply that patch to my 3.4 tree, recompile, and test the xen/next branch...

---
Michael D Labriola
Electric Boat
[email protected]
401-848-8871 (desk)
401-848-8513 (lab)
401-316-9844 (cell)

#16 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 18 lines · Michael D Labriola

[email protected] wrote on 02/17/2010 02:41:35 PM:

Quoted 3 lines · Jeremy Fitzhardinge
Quoted 2 lines · Pasi Kärkkäinen
Quoted 1 line

I believe xen/next uses the new APIC setup stuff, so it requires Xen

4.0.0

Quoted 12 lines
Quoted 6 lines
Quoted 2 lines

hypervisor. Correct?

Right.

Quoted 1 line

iirc earlier there was a patch on xen-devel to support the new

APIC stuff with Xen 3.4 hypervisor.

Quoted 5 lines
Quoted 4 lines

Was it this patch?:
http://xenbits.xen.org/xen-3.4-testing.hg?rev/608ebc959c35

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Looks like it. Has that made it into any release versions of 3.4?

Not yet.. it'll be in 3.4.3.

Cool. So I can apply that patch to my 3.4 tree, recompile, and test the xen/next branch...

If it doesn't work with 3.4 then just use 4.0.. Jeremy has been using 4.0 for testing.

Also, let us know how it goes. If you grab the latest 3.4.3-rcX
(hg clone http://xenbits.xen.org/xen-3.4-testing.hg) you don't need to patch anything..

-- Pasi

#7 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

In reply to Jeremy Fitzhardinge
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 9 lines · M A Young

I wouldn't recommend it yet. I have been trying it, but I haven't yet got it to boot, and my most recent attempt a couple of days ago didn't even build (the errors were

drivers/xen/xenbus/xenbus_probe.c: In function 'exists_connecting_device':
drivers/xen/xenbus/xenbus_probe.c:791: error: 'xenbus_frontend' undeclared (first use in this function) drivers/xen/xenbus/xenbus_probe.c:791: error: (Each undeclared identifier is reported only once drivers/xen/xenbus/xenbus_probe.c:791: error: for each function it appears in.) drivers/xen/xenbus/xenbus_probe.c: In function 'wait_for_devices':
drivers/xen/xenbus/xenbus_probe.c:863: error: 'xenbus_frontend' undeclared (first use in this function) make[3]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1

Quoted 1 line

I've fixed that since then. It really is a WIP is branch.

Are you sure? I have just tried a fresh build and it fails in exactly the same place.

Michael Young

#8 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 13 lines · M A Young
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 9 lines · M A Young

I wouldn't recommend it yet. I have been trying it, but I haven't yet got it to boot, and my most recent attempt a couple of days ago didn't even build (the errors were

drivers/xen/xenbus/xenbus_probe.c: In function 'exists_connecting_device':
drivers/xen/xenbus/xenbus_probe.c:791: error: 'xenbus_frontend' undeclared (first use in this function) drivers/xen/xenbus/xenbus_probe.c:791: error: (Each undeclared identifier is reported only once drivers/xen/xenbus/xenbus_probe.c:791: error: for each function it appears in.) drivers/xen/xenbus/xenbus_probe.c: In function 'wait_for_devices':
drivers/xen/xenbus/xenbus_probe.c:863: error: 'xenbus_frontend' undeclared (first use in this function) make[3]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1

Quoted 3 lines
Quoted 1 line

I've fixed that since then. It really is a WIP is branch.

Are you sure? I have just tried a fresh build and it fails in exactly the same place.

This is on xen/next, change 507288f2bf47dc2b2aed08c7a9c72c7c1dad8bb4?

J

#9 lore raw

Re: SOLVED: Re: Issue with pv_ops Kernel 2.6.31.6 and Xen [[email protected]: [PATCH 01/35] x86: fix sci on ioapic 1]

Quoted 14 lines · Jeremy Fitzhardinge
Quoted 13 lines · M A Young
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 9 lines · M A Young

I wouldn't recommend it yet. I have been trying it, but I haven't yet got it to boot, and my most recent attempt a couple of days ago didn't even build (the errors were

drivers/xen/xenbus/xenbus_probe.c: In function 'exists_connecting_device':
drivers/xen/xenbus/xenbus_probe.c:791: error: 'xenbus_frontend' undeclared (first use in this function) drivers/xen/xenbus/xenbus_probe.c:791: error: (Each undeclared identifier is reported only once drivers/xen/xenbus/xenbus_probe.c:791: error: for each function it appears in.) drivers/xen/xenbus/xenbus_probe.c: In function 'wait_for_devices':
drivers/xen/xenbus/xenbus_probe.c:863: error: 'xenbus_frontend' undeclared (first use in this function) make[3]: *** [drivers/xen/xenbus/xenbus_probe.o] Error 1

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I've fixed that since then. It really is a WIP is branch.

Are you sure? I have just tried a fresh build and it fails in exactly the same place.

This is on xen/next, change 507288f2bf47dc2b2aed08c7a9c72c7c1dad8bb4?

I thought it was. However having checked my generation process, it turns out that the offending lines had crept back in during my attempts to resolve conflicts produced by merging in v2.6.32.8 in git.

Michael Young

#18 lore raw

xen/next Linux 2.6.32 pv_ops dom0 kernel

In reply to Jeremy Fitzhardinge
Quoted 43 lines · Jeremy Fitzhardinge
Quoted 42 lines · Pasi Kärkkäinen
Quoted 40 lines · Jeremy Fitzhardinge
Quoted 21 lines
Quoted 6 lines

Question: Is it known when this piece of code will be introduced in the "pv_ops Kernel tree"?

Hmm.. Jeremy's plans are to re-base the pvops changes that went in 2.6.31.6 onto 2.6.32. The reason being that 2.6.32 has been choosen by many distributions as their next vehicle for release. The patches being mostly, if possible, related only to Xen.

The patch I forwarded to you is targetted for 2.6.33 so it would not appear normally in 2.6.32 tree unles Greg KH choose to back-port it in. Greg is the maintainer of the 2.6.32 stable tree.

I would recommend you e-mail Greg KH with this e-mail, explain your situation and ask him if he wouldn't mind merging the patch in. Thought you might need to do some of the work yourself (as in, merge the patch in an earlier kernel) - it seems you already have done this so hopefully that shouldn't be a problem.

Quoted 5 lines

Try it that way, as this way also the distributions will pick up the fix and you would be able to load any new distro on your box without having to manually recompile the kernel and such.

Is that one change enough to fix the reported problem? Can we just cherry-pick it over? Or does it need a lot of supporting patches?

Quoted 4 lines

Then when Jeremy revs up the xen/next tree to next stable rev (I think
he will do this, not sure?), it will automatically be picked up (if Greg picks it up in his tree).

Yes. At the moment xen/next is based on plain 2.6.32 because that is also an ancestor version of mainline git development. Once the 2.6.32 tree basically works (which should be close), then I can merge all the stable branch changes onto it and call it "xen/stable" or something.

Quoted 7 lines
Quoted 2 lines

So that means I should try xen/next now? :)

Give it a go. It boots OK for me, and I can start xend. But I get domains hanging in pvgrub; I'm not sure blkback is working properly. Or it could be a tools issue...

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

I'm able to run PV guests without problems!

-- Pasi

#19 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:
Hello,

Quoted 3 lines

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

i'm new on git.
How can i get xen/next?

Regards,
Stefan Kuhne

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

#20 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

# git pull
# git checkout origin/xen/next -b xen/next
will switch to from xen/master to xen/next

Make sure what current branch is :-

# git branch

Boris.

--- On Sat, 2/20/10, Stefan Kuhne <[email protected]> wrote:

From: Stefan Kuhne <[email protected]>
Subject: Re: [Xen-devel] xen/next Linux 2.6.32 pv_ops dom0 kernel
To: [email protected]
Date: Saturday, February 20, 2010, 2:55 PM

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:
Hello,

Quoted 3 lines

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

i'm new on git.
How can i get xen/next?

Regards,
Stefan Kuhne

-----Inline Attachment Follows-----

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

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

#21 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

Sample:-

[root@fedora linux-2.6-xen]# git pull

remote: Counting objects: 1661, done.
remote: Compressing objects: 100% (597/597), done.
remote: Total 1040 (delta 843), reused 524 (delta 409) Receiving objects: 100% (1040/1040), 243.06 KiB | 55 KiB/s, done. Resolving deltas: 100% (843/843), completed with 184 local objects.

Quoted 1 line

From git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen

   f2014f7..523f506  xen/core   -> origin/xen/core
 * [new branch]      xen/dom0/acpi -> origin/xen/dom0/acpi
   444c982..ca352dc  xen/dom0/acpi-parser -> origin/xen/dom0/acpi-parser
 * [new branch]      xen/dom0/apic-next -> origin/xen/dom0/apic-next e762bd5..b5280ed  xen/dom0/backend/blkback -> origin/xen/dom0/backend/blkback e116b21..f0aedbb  xen/dom0/backend/blktap2 -> origin/xen/dom0/backend/blktap2 f4685d0..f8a9a00  xen/dom0/backend/core -> origin/xen/dom0/backend/core a84aa84..c6f55dd  xen/dom0/backend/netback -> origin/xen/dom0/backend/netback 33fdaa9..2d2cb9a  xen/dom0/gntdev -> origin/xen/dom0/gntdev
 * [new branch]      xen/dom0/konrad-swiotlb-2.6.32 -> origin/xen/dom0/konrad-swiotlb-2.6.32 7906f14..a36135d  xen/dom0/mce -> origin/xen/dom0/mce
   29ab662..aa75c0a  xen/dom0/pciback -> origin/xen/dom0/pciback 7113308..eebc806  xen/frontend -> origin/xen/frontend
   60e0545..733bcb9  xen/master -> origin/xen/master
   f251273..ab77527  xen/next   -> origin/xen/next
   4f3c9d7..7ec723a  xen/pcifront -> origin/xen/pcifront
   aa228e3..7d9b144  xen/vsyscall -> origin/xen/vsyscall
Updating 60e0545..733bcb9
Fast forward
 arch/x86/include/asm/dma-mapping.h    |    1 +
 arch/x86/include/asm/fixmap.h         |    2 + arch/x86/include/asm/xen/pci.h        |    4 +- arch/x86/include/asm/xen/swiotlb.h    |    4 +- arch/x86/kernel/amd_iommu_init.c      |    2 +- arch/x86/kernel/aperture_64.c         |    2 +- arch/x86/kernel/pci-calgary_64.c      |    2 +- arch/x86/kernel/pci-gart_64.c         |    2 +- arch/x86/kernel/pci-swiotlb.c         |    3 +
 arch/x86/mm/tlb.c                     |    2 +
 arch/x86/pci/xen.c                    |    6 ++-
 arch/x86/xen/enlighten.c              |    3 +-
 arch/x86/xen/pci-swiotlb.c            |   11 +---
 arch/x86/xen/pci.c                    |    2 +- drivers/acpi/processor_core.c         |    9 +-- drivers/block/xen-blkfront.c          |   83 ++++++++++++++++++++++++++-- drivers/xen/Kconfig                   |    5 ++
 drivers/xen/acpi_processor.c          |   10 +++- drivers/xen/blkback/Makefile          |    3 +- drivers/xen/blkback/blkback-pagemap.c |    7 ++- drivers/xen/blkback/blkback-pagemap.h |   18 ++++++- drivers/xen/blkback/blkback.c         |   21 +++---- drivers/xen/blkback/common.h          |    4 -
 drivers/xen/blktap/Makefile           |    2 +-
 drivers/xen/blktap/blktap.h           |   12 ++++- drivers/xen/blktap/control.c          |    3 +-
 drivers/xen/blktap/device.c           |   98 ++++++++++++++++----------------- drivers/xen/blktap/request.c          |    9 +--
 drivers/xen/blktap/ring.c             |    2 +-
 drivers/xen/blktap/sysfs.c            |    6 +-
 include/xen/acpi.h                    |    2 +
 include/xen/grant_table.h             |    4 +-
 mm/memory.c                           |    1 +

 33 files changed, 231 insertions(+), 114 deletions(-)

[root@fedora linux-2.6-xen]# git checkout origin/xen/next -b xen/next Checking out files: 100% (10334/10334), done.
Branch xen/next set up to track remote branch xen/next from origin. Switched to a new branch 'xen/next'

--- On Sat, 2/20/10, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] xen/next Linux 2.6.32 pv_ops dom0 kernel
To: [email protected]
Date: Saturday, February 20, 2010, 3:50 PM

# git pull
# git checkout origin/xen/next -b xen/next
will switch to from xen/master to xen/next

Make sure what current branch is :-

# git branch

Boris.

--- On Sat, 2/20/10, Stefan Kuhne <[email protected]> wrote:

From: Stefan Kuhne <[email protected]>
Subject: Re: [Xen-devel] xen/next Linux 2.6.32 pv_ops dom0 kernel
To: [email protected]
Date: Saturday, February 20, 2010, 2:55 PM

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:
Hello,

Quoted 3 lines

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

i'm new on git.
How can i get
xen/next?

Regards,
Stefan Kuhne

-----Inline Attachment Follows-----

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

-----Inline Attachment Follows-----

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

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

#22 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

In reply to Stefan Kuhne
Quoted 9 lines · Stefan Kuhne

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:
Hello,

Quoted 3 lines

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

i'm new on git.
How can i get xen/next?

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 -m xen/next
git pull

that should do it.

-- Pasi

#25 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

In reply to Pasi Kärkkäinen
Quoted 5 lines · Pasi Kärkkäinen

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

I'm able to run PV guests without problems!

That's great news.

What's your config? Are you using pvgrub? What are your block and net devices?

At the very least pvgrub/minios fails in very obscure ways and needs to give better diagnostics. But there may also be some outright bugs in there which are triggering non-deterministically...

J

#26 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

Quoted 4 lines · Jeremy Fitzhardinge
Quoted 3 lines · Pasi Kärkkäinen

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

Quoted 8 lines
Quoted 2 lines

I'm able to run PV guests without problems!

That's great news.

What's your config? Are you using pvgrub? What are your block and net devices?

.config here:
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32-pvops-dom0-xen-next-x86_64

I was using pygrub, not pvgrub.. also I was using phy: backed LVM volumes, and just the normal bridged vif configuration.

Quoted 4 lines

At the very least pvgrub/minios fails in very obscure ways and needs to give better diagnostics. But there may also be some outright bugs in there which are triggering non-deterministically...

Ok.. I can try pvgrub after a couple of days when I'm back from travelling and have access to my testing equipment.

-- Pasi

#27 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

Quoted 10 lines · Pasi Kärkkäinen
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 6 lines · Pasi Kärkkäinen

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor. It seems to build, boot and work for me.

I'm able to run PV guests without problems!

Quoted 9 lines
Quoted 6 lines

That's great news.

What's your config? Are you using pvgrub? What are your block and net devices?

.config here:
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32-pvops-dom0-xen-next-x86_64

I meant your Xen config file.

Quoted 1 line

I was using pygrub, not pvgrub..

Can you get pvgrub working?

Quoted 2 lines

also I was using phy: backed LVM volumes,

Try blktap; tap:aio should work.

Quoted 8 lines
Quoted 5 lines

At the very least pvgrub/minios fails in very obscure ways and needs to give better diagnostics. But there may also be some outright bugs in there which are triggering non-deterministically...

Ok.. I can try pvgrub after a couple of days when I'm back from travelling and have access to my testing equipment.

Thanks,
J

#23 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

In reply to Pasi Kärkkäinen

Pasi, look:

*git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-xen*
Initialized empty Git repository in /usr/src/xen/linux-2.6-xen/.git/
remote: Counting objects: 1427356, done.
remote: Compressing objects: 100% (234218/234218), done.
remote: Total 1427356 (delta 1186822), reused 1420971 (delta 1182249) Receiving objects: 100% (1427356/1427356), 310.10 MiB | 18 KiB/s, done. Resolving deltas: 100% (1186822/1186822), done.
Checking out files: 100% (29214/29214), done.

*cd linux-2.6-xen*
*git checkout -m xen/next*
*error: pathspec 'xen/next' did not match any file(s) known to git.*

*git pull*
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 59 (delta 49), reused 0 (delta 0)
Unpacking objects: 100% (59/59), done.

Quoted 1 line

From git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen

c6f55dd..37a36aa xen/dom0/backend/netback ->
origin/xen/dom0/backend/netback
ab77527..5c88709 xen/next -> origin/xen/next
Already up-to-date.

Is that right?!

Thanks!
Thiago

Quoted 19 lines · Pasi Kärkkäinen
Quoted 4 lines · Stefan Kuhne

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:
Hello,

Quoted 1 line

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen

4.0.0-rc4 hypervisor.

Quoted 5 lines
Quoted 2 lines

It seems to build, boot and work for me.

i'm new on git.
How can i get xen/next?

git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen
cd linux-2.6-xen
git checkout -m xen/next
git pull

that should do it.

Quoted 8 lines

-- Pasi

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

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

#24 lore raw

Re: xen/next Linux 2.6.32 pv_ops dom0 kernel

Right now :-

# git checkout origin/xen/next -b xen/next

then what ?

--- On Tue, 2/23/10, Martinx <[email protected]> wrote:

From: Martinx <[email protected]>
Subject: Re: [Xen-devel] xen/next Linux 2.6.32 pv_ops dom0 kernel
To: "Pasi Kärkkäinen" <[email protected]>
Cc: [email protected]
Date: Tuesday, February 23, 2010, 1:41 PM

Pasi, look:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git  linux-2.6-xen Initialized empty Git repository in /usr/src/xen/linux-2.6-xen/.git/

remote: Counting objects: 1427356, done.
remote: Compressing objects: 100% (234218/234218), done.
remote: Total 1427356 (delta 1186822), reused 1420971 (delta 1182249) Receiving objects: 100% (1427356/1427356), 310.10 MiB | 18 KiB/s, done.

Resolving deltas: 100% (1186822/1186822), done.
Checking out files: 100% (29214/29214), done.

cd linux-2.6-xen
git checkout -m xen/next
error: pathspec 'xen/next' did not match any file(s) known to git.

git pull
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 59 (delta 49), reused 0 (delta 0)
Unpacking objects: 100% (59/59), done.

Quoted 1 line

From git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen

   c6f55dd..37a36aa  xen/dom0/backend/netback -> origin/xen/dom0/backend/netback ab77527..5c88709  xen/next   -> origin/xen/next
Already up-to-date.

Is that right?!

Thanks!
Thiago

On 20 February 2010 23:02, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 8 lines · Stefan Kuhne

Am 20.02.2010 16:29, schrieb Pasi Kärkkäinen:

Hello,

Quoted 1 line

I just tried the latest xen/next 2.6.32 64bit dom0 kernel with Xen 4.0.0-rc4 hypervisor.

Quoted 9 lines
Quoted 3 lines

It seems to build, boot and work for me.

i'm new on git.

How can i get xen/next?

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 -m xen/next

git pull

that should do it.

-- Pasi

_______________________________________________

Xen-devel mailing list

[email protected]

http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

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

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