lkml.org 
[lkml]   [2014]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectkdump kernel with SMP
From
Hello,

I need advises with a problem of kdump kernel in SMP machine. The
problem I see is when panic happens, if the panic occurs on core 0,
kdump kernel would receive interrups, specifically the sata disk
driver works fine, but if panic happens on any other core, kdump
kernel seems to not get any interrupt. I add boot parameter to dump
local APIC and IO APIC and it looks like all interrupts has the
destination is APIC ID 0, which I believe means core 0, while local
APIC has a different APIC ID. So I start looking around the kernel and
find a function call smp_processor_id() that seems to always return 0
regardless what core is running. This return value ultimately
determines the structure cpu_online_map that is returned by
apic->target_cpus() inside IO APIC setup code. That is what I believe
is happening but not sure if what I understand is right or missing
something here?
I tried boot parameter max_irqs=0 and interrupts seem to work but I
know that would disable SMP and IO APIC. Can kdump kernel be in SMP
mode? Why does smp_processor_id returns 0 even though the core that
panics is non 0, which cause IO APIC to be programmed with all dest
APIC ID to be 0?

Thanks a lot for your help.
Regards,
Luong


\
 
 \ /
  Last update: 2014-05-29 08:41    [W:0.036 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site