|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: NetBSD dom0 PVH: hardware interrupts stalls
On 24.11.20 15:59, Roger Pau Monné wrote: On Tue, Nov 24, 2020 at 03:42:28PM +0100, Jan Beulich wrote:On 24.11.2020 11:05, Jan Beulich wrote:On 23.11.2020 18:39, Manuel Bouyer wrote:On Mon, Nov 23, 2020 at 06:06:10PM +0100, Roger Pau Monné wrote:OK, I'm afraid this is likely too verbose and messes with the timings. I've been looking (again) into the code, and I found something weird that I think could be related to the issue you are seeing, but haven't managed to try to boot the NetBSD kernel provided in order to assert whether it solves the issue or not (or even whether I'm able to repro it). Would you mind giving the patch below a try?With this, I get the same hang but XEN outputs don't wake up the interrupt any more. The NetBSD counter shows only one interrupt for ioapic2 pin 2, while I would have about 8 at the time of the hang. So, now it looks like interrupts are blocked forever.Which may be a good thing for debugging purposes, because now we have a way to investigate what is actually blocking the interrupt's delivery without having to worry about more output screwing the overall picture.At http://www-soc.lip6.fr/~bouyer/xen-log5.txt you'll find the output of the 'i' key.
debugtrace is your friend here. It already has a debug key for printing
the buffer contents to console ('T').
As the buffer is wrap-around you can even add debug prints in the
related interrupt paths for finding out which paths have been called in
which order and on which cpu. Depending on the findings you might want
to use percpu buffers.
Juergen
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |