Re: [Pkg-xen-devel] ioatdma: Boot process hangs then reboots whenusing Xen + Linux 3.2

From: Thomas Goirand
Date: Mon Mar 05 2012 - 10:36:09 EST


On 03/03/2012 03:31 AM, Dan Williams wrote:
> Can you send the log of the driver load with debug enabled?
>
> diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
> index a4d6cb0..82472de 100644
> --- a/drivers/dma/ioat/dma.c
> +++ b/drivers/dma/ioat/dma.c
> @@ -24,7 +24,7 @@
> * This driver supports an Intel I/OAT DMA engine, which does asynchronous
> * copy operations.
> */
> -
> +#define DEBUG
> #include <linux/init.h>
> #include <linux/module.h>
> #include <linux/slab.h>
> diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c
> index 5d65f83..da337e7 100644
> --- a/drivers/dma/ioat/dma_v2.c
> +++ b/drivers/dma/ioat/dma_v2.c
> @@ -24,7 +24,7 @@
> * This driver supports an Intel I/OAT DMA engine (versions >= 2), which
> * does asynchronous data movement and checksumming operations.
> */
> -
> +#define DEBUG
> #include <linux/init.h>
> #include <linux/module.h>
> #include <linux/slab.h>

I will do my best to provide it ASAP. Should I compile with BUG_ON so
you see it crashing, as per the original code, or just with WARN_ON, so
you also see further things in dmesg?

Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/