In place kexec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 28, 2010 at 03:02:19PM -0700, Eric W. Biederman wrote:
> "H. Peter Anvin" <hpa at zytor.com> writes:
> 
> > We are getting a claim that the qla driver corrupts memory after a
> > kexec, apparently due to a DMA engine left running in the before-kernel.
> >
> > For an in-place kexec (as opposed to a crash dump kexec, where we switch
> > into dedicated memory), what shutdown paths get executed?
> 
> It is the normal reboot path, so the device shutdown method gets
> executed.
> 
> Eric
> 
Check your iommu.  We've had lots of problems with them in the past, and in the
crash path we explicity leave the iommu on now, whereas the normal shutdown path
turns it off.  If some other dma-capable device doesn't shut down properly and
keeps dma operations going, you're liable to get memory corruption when the
iommu re-initalizes.  

Neil

> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux