With hope that resurrecting a 1.5yr old thread is not a wrong thing todo...

On Wed, Feb 07, 2007 at 05:02:13PM -0500, James Bottomley wrote:> On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:> > I suspect all this horror is due to stupidity in the DMA API.> >> > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas> > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy> > to use GFP_KERNEL.> >> > I bet this fixes it>> It does, but the DMA API was expanded to cope with this exact case, so> use dma_alloc_coherent() directly in the megaraid code instead. The dev> is just &pci_dev->dev.

I'm wondering if this was meant to lay this issue to rest. The reasonbeing that I just got this error last night during a period of high diskand network IO (there was an over-the-network backup happening). dmesggives: