Re: [PATCH] x86, kdump: No need to disable ioapic in crash path

2012-02-02 Thread Eric W. Biederman
Don Zickus writes: > A customer of ours noticed when their machine crashed, kdump did not > work but hung instead. Using their firmware dumping solution they > grabbed a vmcore and decoded the stacks on the cpus. What they > noticed seemed to be a rare deadlock with the ioapic_lock. > > CPU4:

[PATCH] x86, kdump: No need to disable ioapic in crash path

2012-02-02 Thread Don Zickus
A customer of ours noticed when their machine crashed, kdump did not work but hung instead. Using their firmware dumping solution they grabbed a vmcore and decoded the stacks on the cpus. What they noticed seemed to be a rare deadlock with the ioapic_lock. CPU4: machine_crash_shutdown -> mach

Re: [PATCH] x86, kdump, ioapic: Fix kdump race with migrating irq

2012-02-02 Thread Don Zickus
On Wed, Feb 01, 2012 at 05:34:01PM -0800, Eric W. Biederman wrote: > > I attached the output of the Pentium4 when kdumping. Not sure what to > > really look for to verify the PIC is being skipped. Perhaps you know? > > The important part is the kexec on panic works without shutting down > the io

Re: [PATCH] x86, kdump, ioapic: Fix kdump race with migrating irq

2012-02-02 Thread Don Zickus
On Wed, Feb 01, 2012 at 05:34:01PM -0800, Eric W. Biederman wrote: > > Talking to folks here and trying to read the code it seems like the PIT > > stuff is delayed until after the IOAPIC is configured using Fast TSC > > calibration as a mechanism to work around the PIT?? > > > > I attached the outp