Re: Panic in gart_map_sg

From: Amit Shah
Date: Thu Oct 25 2007 - 04:03:03 EST


On 25/10/2007, Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:
> On Thu, Oct 25 2007, Amit Shah wrote:
> > I get a kernel panic at gart_map_sg+0x201/0x470, which is around here:

...

> Tomo already nailed this one, see below.
>
> From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Subject: [PATCH] x86: pci-gart fix
>
> map_sg could copy the last sg element to another position (if merging
> some elements). It breaks sg chaining. This copies only
> dma_address/length instead of the whole sg element.

Thanks, this fixed it.

--
Amit Shah
http://www.amitshah.net/
-
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/