Skip to contentSkip to conversation

Xen 4 occasionally hangs during boot

DISCUSSION Christopher S. Aker 8 participants 23 messages Oct 12, 2011 – Jul 26, 2012

lore
Share & tools
lore
#0 lore raw

Since I started playing with Xen 4 (vs 3.x), machines often hang during reboot at exactly the same place:

	(XEN) HVM: Hardware Assisted Paging detected.
	(

... and then nothing. I have to RPC bounce them. On some occasions it takes four or five attempts to get beyond this point. A normal boot looks like this:

(XEN) HVM: Hardware Assisted Paging detected. (XEN) Brought up 16 CPUs

4.1.2-rc @ 23159. All of the Xen 4.x I've tried have done this, but I'd need to dig up which ones those are.

-Chris

#1 lore raw
Quoted 3 lines
Quoted 1 line
Quoted 1 line · Christopher S. Aker

Since I started playing with Xen 4 (vs 3.x), machines often hang during reboot at exactly the same place:

Do those machines have something in common hardware-wise? As you would certainly assume, this isn't a problem generally, and hence telling us on what hardware you observe this might help guessing... Also, any chance you could try recent -unstable?

Jan

Quoted 20 lines
	(XEN) HVM: Hardware Assisted Paging detected.
	(

... and then nothing. I have to RPC bounce them. On some occasions it takes four or five attempts to get beyond this point. A normal boot looks like this:

(XEN) HVM: Hardware Assisted Paging detected. (XEN) Brought up 16 CPUs

4.1.2-rc @ 23159. All of the Xen 4.x I've tried have done this, but I'd need to dig up which ones those are.

-Chris

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

#2 lore raw
In reply to Christopher S. Aker
Quoted 6 lines · Christopher S. Aker

Since I started playing with Xen 4 (vs 3.x), machines often hang during reboot at exactly the same place:

	(XEN) HVM: Hardware Assisted Paging detected.
	(
Quoted 6 lines

... and then nothing. I have to RPC bounce them. On some occasions it takes four or five attempts to get beyond this point. A normal boot looks like this:

(XEN) HVM: Hardware Assisted Paging detected. (XEN) Brought up 16 CPUs

:( If you add "cpuinfo" to the xen commend-line arguments does it print anything more useful?

Tim.

#3 lore raw

Re: Xen 4 serial hangs during boot

Quoted 3 lines · Tim Deegan
Quoted 2 lines · Christopher S. Aker

Since I started playing with Xen 4 (vs 3.x), machines often hang during reboot at exactly the same place:

We're still seeing this occasionally, even with 'cpuinfo' added to Xen args. Serial console stops responding during Xen booting - every time in the exact same place:

	(XEN) CPU9: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping 05
	(XEN) CPU 10

The machine continues to boot and becomes available via network, however nothing I do from then on can get serial to start working again. Control-AAA, sending massive amounts to /dev/console, etc. If I issue the reboot command via dom0 something will tickle Xen and a page or two of buffered OLD data will flush out the serial before the machine reboots, which is interesting.

In this state hvc_console receives no interrupts. When not in this state hvc_console seems to get interrupts occasionally. Not sure of its significance.

I still have a box in this state if anyone has ideas to try.

-Chris

#4 lore raw

Re: Xen 4 serial hangs during boot

Quoted 18 lines · Christopher S. Aker
Quoted 3 lines · Tim Deegan
Quoted 2 lines · Christopher S. Aker

Since I started playing with Xen 4 (vs 3.x), machines often hang during reboot at exactly the same place:

We're still seeing this occasionally, even with 'cpuinfo' added to Xen args. Serial console stops responding during Xen booting - every time in the exact same place:

	(XEN) CPU9: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping 05
	(XEN) CPU 10

The machine continues to boot and becomes available via network, however nothing I do from then on can get serial to start working again. Control-AAA, sending massive amounts to /dev/console, etc. If I issue the reboot command via dom0 something will tickle Xen and a page or two of buffered OLD data will flush out the serial before the machine reboots, which is interesting.

Quoted 5 lines

In this state hvc_console receives no interrupts. When not in this state hvc_console seems to get interrupts occasionally. Not sure of its significance.

I still have a box in this state if anyone has ideas to try.

Is this an HP box by any chance, and are you accessing serial over iLO?

~Andrew

Quoted 7 lines

-Chris

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

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

Re: Xen 4 serial hangs during boot

Quoted 1 line · Andrew Cooper

Is this an HP box by any chance, and are you accessing serial over iLO?

It is not. It's a SM motherboard with an on board UART 16550, which we're booting with xen args "com1=115200,8n1 console=com1".

-Chris

#6 lore raw

Re: Xen 4 serial hangs during boot

Quoted 4 lines · Christopher S. Aker
Quoted 1 line · Andrew Cooper

Is this an HP box by any chance, and are you accessing serial over iLO?

It is not. It's a SM motherboard with an on board UART 16550, which we're booting with xen args "com1=115200,8n1 console=com1".

Oh interesting. We periodically see this with HP kit, but nothing else which is why we assumed it was iLO specific. Perhaps it is not after all.

As for suggestions, try manually prodding port 3f8 to see whether the UART is actually working?

Alternatively, use xl debug-keys and xl dmesg to see whether you can provoke it back to life.

Quoted 7 lines

-Chris

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

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

Re: Xen 4 serial hangs during boot

Quoted 1 line · Andrew Cooper

Alternatively, use xl debug-keys

Interesting. 'xl debug-keys h' got me ~1448 bytes onto the serial console, except it is old buffered output from exactly where it left off during boot. 1448 bytes is about the size of 'h' output from another working box. The same thing happened with 'm'. Xen is flushing an equal amount of characters from the buffer as generated by debug-key command output.

I can continue to poke the buffer until I see output from things I've issued, however it still refuses to respond to serial input (control-aaa) nor can I get dom0 to echo chars. It's currently running a * dump which has been going now for over an hour, currently on vcpu 435628. I won't be doing that again.

Any lightblubs going off?

-Chris

#8 lore raw

Re: Xen 4 serial hangs during boot

Quoted 9 lines · Christopher S. Aker
Quoted 1 line · Andrew Cooper

Alternatively, use xl debug-keys

Interesting. 'xl debug-keys h' got me ~1448 bytes onto the serial console, except it is old buffered output from exactly where it left off during boot. 1448 bytes is about the size of 'h' output from another working box. The same thing happened with 'm'. Xen is flushing an equal amount of characters from the buffer as generated by debug-key command output.

Quoted 7 lines

I can continue to poke the buffer until I see output from things I've issued, however it still refuses to respond to serial input (control-aaa) nor can I get dom0 to echo chars. It's currently running a * dump which has been going now for over an hour, currently on vcpu 435628. I won't be doing that again.

Any lightblubs going off?

Not especially. It sounds like the serial ring buffer filled up and never got drained.

How easy is this to reproduce for you? In the past, I have had success debugging Xen like this with an outb(0x3f8, <ascii char>) in certain locations. Perhaps the serial_rx interrupt handler, or failing that, do_irq checking for vector 0xf0. That should allow you to see whether Xen is actually receiving interrupts when you try to send characters.

Quoted 2 lines

-Chris

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

Re: Xen 4 serial hangs during boot

In reply to Christopher S. Aker
Quoted 10 lines · Christopher S. Aker
Quoted 1 line · Andrew Cooper

Alternatively, use xl debug-keys

Interesting. 'xl debug-keys h' got me ~1448 bytes onto the serial console, except it is old buffered output from exactly where it left off during boot. 1448 bytes is about the size of 'h' output from another working box. The same thing happened with 'm'. Xen is flushing an equal amount of characters from the buffer as generated by debug-key command output.

Quoted 7 lines

I can continue to poke the buffer until I see output from things I've issued, however it still refuses to respond to serial input (control-aaa) nor can I get dom0 to echo chars. It's currently running a * dump which has been going now for over an hour, currently on vcpu 435628. I won't be doing that again.

Any lightblubs going off?

Somehow dom0 disabled the serial-line interrupt during boot. Possibly it appeared as a PnP device in some BIOS table and dom0 decided to disable it because it doesn't think it is being used. Xen would usually stop this happening via programming of the IO-APIC/XT-PIC but perhaps there is some other method of disabling it on this mainboard, which Xen doesn't catch.

-- Keir

Quoted 6 lines

-Chris

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

#10 lore raw

Re: Xen 4 serial hangs during boot

Quoted 5 lines · Keir Fraser

Somehow dom0 disabled the serial-line interrupt during boot. Possibly it appeared as a PnP device in some BIOS table and dom0 decided to disable it because it doesn't think it is being used. Xen would usually stop this happening via programming of the IO-APIC/XT-PIC but perhaps there is some other method of disabling it on this mainboard, which Xen doesn't catch.

Hmm -- except dom0 hasn't even booted yet at the time the serial stops working. Xen is 30-60 seconds away from booting dom0 given the RAM scrub still has to happen.

-Chris

#11 lore raw

Re: Xen 4 serial hangs during boot

Quoted 10 lines · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Somehow dom0 disabled the serial-line interrupt during boot. Possibly it appeared as a PnP device in some BIOS table and dom0 decided to disable it because it doesn't think it is being used. Xen would usually stop this happening via programming of the IO-APIC/XT-PIC but perhaps there is some other method of disabling it on this mainboard, which Xen doesn't catch.

Hmm -- except dom0 hasn't even booted yet at the time the serial stops working. Xen is 30-60 seconds away from booting dom0 given the RAM scrub still has to happen.

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

-- Keir

Quoted 1 line

-Chris

#12 lore raw

Re: Xen 4 serial hangs during boot

Quoted 13 lines · Keir Fraser
Quoted 10 lines · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Somehow dom0 disabled the serial-line interrupt during boot. Possibly it appeared as a PnP device in some BIOS table and dom0 decided to disable it because it doesn't think it is being used. Xen would usually stop this happening via programming of the IO-APIC/XT-PIC but perhaps there is some other method of disabling it on this mainboard, which Xen doesn't catch.

Hmm -- except dom0 hasn't even booted yet at the time the serial stops working. Xen is 30-60 seconds away from booting dom0 given the RAM scrub still has to happen.

Quoted 5 lines

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

What about using the serial line without the interrupt? Meaning com1=115200,8n1,0x3f8,0

That ought to make the code go into polling and ignore the interrupt line right?

Quoted 11 lines

-- Keir

Quoted 1 line

-Chris

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

#13 lore raw

Re: Xen 4 serial hangs during boot

Quoted 20 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Keir Fraser
Quoted 10 lines · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Somehow dom0 disabled the serial-line interrupt during boot. Possibly it appeared as a PnP device in some BIOS table and dom0 decided to disable it because it doesn't think it is being used. Xen would usually stop this happening via programming of the IO-APIC/XT-PIC but perhaps there is some other method of disabling it on this mainboard, which Xen doesn't catch.

Hmm -- except dom0 hasn't even booted yet at the time the serial stops working. Xen is 30-60 seconds away from booting dom0 given the RAM scrub still has to happen.

Quoted 5 lines

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

Quoted 5 lines

What about using the serial line without the interrupt? Meaning com1=115200,8n1,0x3f8,0

That ought to make the code go into polling and ignore the interrupt line right?

Yes, that should work. It does waste some CPU time runnign the poll handler continually, even when the serial line is idle. And of course serial debug key inputs will still not work.

-- Keir

Quoted 11 lines
Quoted 11 lines

-- Keir

Quoted 1 line

-Chris

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

#14 lore raw

Re: Xen 4 serial hangs during boot

In reply to Keir Fraser
Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

Thanks,
-Chris

#15 lore raw

Re: Xen 4 serial hangs during boot

Try enabling x2apic mode in the bios if there's an option for it, or remove any CPU masking that may be applied.

Sorry about top posting (remote login forces using outlook).

Malcolm

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christopher S. Aker
Sent: 23 July 2012 21:54
To: Keir (Xen.org)
Cc: Andrew Cooper; xen devel
Subject: Re: [Xen-devel] Xen 4 serial hangs during boot

Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

Thanks,
-Chris

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

#16 lore raw

Re: Xen 4 serial hangs during boot

In reply to Christopher S. Aker

Sorry for the top post again,

You can also try adding "apic=bigsmp" to the xen command line.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christopher S. Aker
Sent: 23 July 2012 21:54
To: Keir (Xen.org)
Cc: Andrew Cooper; xen devel
Subject: Re: [Xen-devel] Xen 4 serial hangs during boot

Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

Thanks,
-Chris

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

#17 lore raw

Re: Xen 4 serial hangs during boot

In reply to Christopher S. Aker
Quoted 6 lines · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

Quoted 6 lines

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

Thanks,
-Chris

The serial interrupt will be IO-APIC #9 pin 4 which is set with its vector as 0xf1.

I cant immediately see any other issue with that log unfortunately.

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

Re: Xen 4 serial hangs during boot

In reply to Christopher S. Aker
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

This isn't even 8k that make it over, whereas the transmit buffer is 16k, and dropping of characters would only start when it first got full.

The part of the data that didn't make it out isn't big enough to overflow the buffer - to check whether that would actually happen, could you increase the log level of both hypervisor and Dom0 kernel? To me this all (particularly the fact that you can make the data appear combined with the amount of data not being big enough to fill the buffer) looks as if there was some buffering happening outside of the control of Xen. Did you check whether this is possibly a problem with the remote end?

Does this also happen with "sync_console"? Did you check whether disabling the use of the associated IRQ makes any difference, as suggested by Konrad (I think)?

Does the port work flawlessly on native Linux?

Jan

#22 lore raw

Re: Xen 4 serial hangs during boot

In reply to Christopher S. Aker
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

One more thing - having seen various interesting (mis)behavior (or part of the chip set) with the IOMMU turned on, could you also check whether with it disabled you also get the problem?

Jan

#19 lore raw

Re: Xen 4 serial hangs during boot

In reply to Jan Beulich
Quoted 16 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Christopher S. Aker
Quoted 5 lines · Keir Fraser

Then it is Xen doing something to kill the serial interrupt. ;-) I haven't seen anything like this reported before. Not sure what to suggest really... Gather debug output from interrupt-related debug keys (via the xl debug-keys interface) I suppose. I think that would be 'i' and 'z' keys. That plus Xen and dom0 boot logs... something might become apparent.

We hit this again today, and I grabbed boot and debug-keys output:

http://theshore.net/~caker/xen/BUGS/serial/log.txt

This isn't even 8k that make it over, whereas the transmit buffer is 16k, and dropping of characters would only start when it first got full.

Quoted 8 lines

The part of the data that didn't make it out isn't big enough to overflow the buffer - to check whether that would actually happen, could you increase the log level of both hypervisor and Dom0 kernel? To me this all (particularly the fact that you can make the data appear combined with the amount of data not being big enough to fill the buffer) looks as if there was some buffering happening outside of the control of Xen. Did you check whether this is possibly a problem with the remote end?

This got me thinking - I've one particular AMD machine (prototype) that seems to hang often - but if I use 'sync_console' it works fine.

This issue started oooh, I can't remember when but I do have some logs that could shed some light on the about date. I guess I was too quick to blame the prototype for being at fault here :-(

Then recently (yesterday?) the upstream kernel started doing something wonky on this card:

01:05.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) Under Xen, when it boots it hits right here:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002

and then stops [note: I hadn't really done any investigation to see if the machine is dead or if it continues on, but with the serial port just wedged hard].

On baremetal it can actually read the IO bars:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002
[    1.247075] pci 0000:01:05.0: reg 10: [io  0xe050-0xe057]
[    1.252734] pci 0000:01:05.0: reg 14: [io  0xe040-0xe047]
[    1.258394] pci 0000:01:05.0: reg 18: [io  0xe030-0xe037]
[    1.264054] pci 0000:01:05.0: reg 1c: [io  0xe020-0xe027]
[    1.269713] pci 0000:01:05.0: reg 20: [io  0xe010-0xe017]
[    1.275372] pci 0000:01:05.0: reg 24: [io  0xe000-0xe00f]

so I am wondering if the back-ports in Xen 4.1 for dealing with PCI have something to do with this?

Quoted 14 lines

Does this also happen with "sync_console"? Did you check whether disabling the use of the associated IRQ makes any difference, as suggested by Konrad (I think)?

Does the port work flawlessly on native Linux?

Jan

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

#20 lore raw

Re: Xen 4 serial hangs during boot

Quoted 11 lines
Quoted 1 line
Quoted 1 line · Konrad Rzeszutek Wilk

Then recently (yesterday?) the upstream kernel started doing something wonky on this card:

01:05.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Under Xen, when it boots it hits right here:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002

and then stops [note: I hadn't really done any investigation to see if the machine is dead or if it continues on, but with the serial port just wedged hard].

The machine state here, if accessible at all, would of course be very interesting.

Quoted 11 lines

On baremetal it can actually read the IO bars:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002
[    1.247075] pci 0000:01:05.0: reg 10: [io  0xe050-0xe057]
[    1.252734] pci 0000:01:05.0: reg 14: [io  0xe040-0xe047]
[    1.258394] pci 0000:01:05.0: reg 18: [io  0xe030-0xe037]
[    1.264054] pci 0000:01:05.0: reg 1c: [io  0xe020-0xe027]
[    1.269713] pci 0000:01:05.0: reg 20: [io  0xe010-0xe017]
[    1.275372] pci 0000:01:05.0: reg 24: [io  0xe000-0xe00f]

so I am wondering if the back-ports in Xen 4.1 for dealing with PCI have something to do with this?

What backports are you thinking of? I just went through the titles of everything since 4.1.2, and nothing that has "PCI" in it looks in any way dangerous.

Jan

#21 lore raw

Re: Xen 4 serial hangs during boot

Quoted 12 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Konrad Rzeszutek Wilk

Then recently (yesterday?) the upstream kernel started doing something wonky on this card:

01:05.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Under Xen, when it boots it hits right here:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002

and then stops [note: I hadn't really done any investigation to see if the machine is dead or if it continues on, but with the serial port just wedged hard].

Quoted 2 lines

The machine state here, if accessible at all, would of course be very interesting.

<nods> Hope to get to that today.

Quoted 10 lines
Quoted 10 lines

On baremetal it can actually read the IO bars:

[    1.240774] pci 0000:01:05.0: [9710:9835] type 00 class 0x070002
[    1.247075] pci 0000:01:05.0: reg 10: [io  0xe050-0xe057]
[    1.252734] pci 0000:01:05.0: reg 14: [io  0xe040-0xe047]
[    1.258394] pci 0000:01:05.0: reg 18: [io  0xe030-0xe037]
[    1.264054] pci 0000:01:05.0: reg 1c: [io  0xe020-0xe027]
[    1.269713] pci 0000:01:05.0: reg 20: [io  0xe010-0xe017]
[    1.275372] pci 0000:01:05.0: reg 24: [io  0xe000-0xe00f]
Quoted 6 lines
Quoted 2 lines

so I am wondering if the back-ports in Xen 4.1 for dealing with PCI have something to do with this?

What backports are you thinking of? I just went through the titles of everything since 4.1.2, and nothing that has "PCI" in it looks in any way dangerous.

I know :-( That is why I am thinking it might be the kernel, but when I did a git bisection I got an innocious Documentation patch. But then recently (say 3.5) has been doing some weird stuff in the PCI space

(like it seems to have MSI's and BARs disabled - at least when using them with xen-pciback to hide them).

Quoted 2 lines

Jan