Skip to contentSkip to conversation

4.2.3 - xen: vector 0x2 is not implemented

DISCUSSION Boris Ostrovsky 1 participant 1 message Oct 9, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 60 lines · ----- [email protected] wrote:
Quoted 13 lines · Boris Ostrovsky
Quoted 10 lines · ----- [email protected] wrote:
Quoted 8 lines · Boris Ostrovsky
Quoted 7 lines · Steven Haigh
Quoted 6 lines · Boris Ostrovsky
Quoted 5 lines · Ian Campbell
Quoted 4 lines · Steven Haigh

Hi all,

I've had a report of a host starting to give this output:
Oct 7 19:36:37 kernel: INFO: rcu_sched self-detected stall on

CPU { 2}

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

(t=273561 jiffies g=17919 c=17918 q=9688)
Oct 7 19:36:37 kernel: sending NMI to all CPUs:
Oct 7 19:36:37 kernel: xen: vector 0x2 is not implemented

This bit is just a symptom triggered by the initial rcu stall

which is

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

your real problem.

That said I thought the NMI thing was fixed recently, which

might

Quoted 9 lines
Quoted 9 lines

have

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

gotten you better debugging on the rcu problem.

This went into v3.12-rc1 (commit 6efa20e).

Steven, can you try your test with newer kernels that have this

fix?

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

With
it we should be able to see where the stall is happening.

Sadly I can't easily rebuild this to 3.12. Is it possible to get

a

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

version / patch / commit that will work with 3.11.x?

I am not sure I understand what you are asking for. A backport of

the

Quoted 1 line

patch to 3.11.x so that you apply it on top of your sources and

build it

Quoted 1 line

yourself?

Correct. I have a buildroot set up for building 3.11.x into RPMs

that

Quoted 1 line
Quoted 1 line

would take a lot of work to change to 3.12. As this is a problem

with

Quoted 1 line
Quoted 1 line

3.11 as well (as I don't run or provide 3.12 anywhere), I'd like

to

Quoted 4 lines
Quoted 2 lines

test
the fix on 3.11.

I am attaching the patch to 3.11.4 (which is exactly the same as the

one

Quoted 1 line

that went into 3.12 btw). I only compile-tested it to make sure that

it builds.

Quoted 6 lines
Quoted 4 lines

Eventually, it will need to be fixed in the 3.11 series as well.

It's unlikely to go into 3.11 since it's really a new feature and

Quoted 8 lines

not a bug fix.

Thanks, I'll test this and see what I can turn up. The problems are happening in 3.11.2 at this stage - which causes the system to become unresponsive and a load of 45+. It also causes network traffic to stop.

As such, it should probably be looked at as a bugfix for 3.11.

Just to be clear: this patch is not to make your hang go away: it's a way for kernel to produce stack trace that will (hopefully) show where the hang is. So don't get your hopes high that it will fix your problem ;-)

-boris

Quoted 2 lines

Will try and get further results and revert back when I can provide more feedback.