Re: Bug: Latest (rc2 and beyond) kernel fails on Dreamcast

From: Adrian McMenamin
Date: Mon Jan 19 2009 - 17:34:18 EST


2009/1/19 Adrian McMenamin <lkmladrian@xxxxxxxxx>:
> I haven't had time to look at this, but the most up to date kernel
> (and the one of around a week ago also) fails to boot, seemingly
> seeking an IP address for the 8139too based NIC.

> [ 4.664236] Sending DHCP requests .<3>eth0: PCI Bus error 2200.
> [ 4.669582] eth0: PCI Bus error 2200.
> [ 4.673395] eth0: PCI Bus error 2200.
> [ 4.677152] eth0: PCI Bus error 2200.
> [ 4.680905] eth0: PCI Bus error 2200.
> [ 4.684677] eth0: PCI Bus error 2200.
> [ 4.688450] eth0: PCI Bus error 2200.
> [ 4.692245] eth0: PCI Bus error 2200.
> [ 4.695944] eth0: PCI Bus error 2200.
> [ 4.699767] eth0: PCI Bus error 2200.
> [ 4.703540] eth0: PCI Bus error 2200.
> [ 4.707336] eth0: PCI Bus error 2200.
> [ 4.711086] eth0: PCI Bus error 2200.
> [ 4.714858] eth0: PCI Bus error 2200.
> [ 4.718630] eth0: PCI Bus error 2200.
> [ 4.722415] eth0: PCI Bus error 2200.
> [ 4.726187] eth0: PCI Bus error 2200.
> [ 4.729948] eth0: PCI Bus error 2200.
> [ 4.733720] eth0: PCI Bus error 2200.
> [ 4.737492] eth0: PCI Bus error 2200.
> [ 4.741288] eth0: PCI Bus error 2200.
> [ 4.745038] eth0: PCI Bus error 2200.
> [ 4.748810] eth0: PCI Bus error 2200.
>
> and so on ... quite possibly for ever. Will investigate further.
>

And the bisection reveals the following:

adrian@bossclass:~/linux-2.6$ git bisect bad
58c6d3dfe436eb8cfb451981d8fdc9044eaf42da is first bad commit
commit 58c6d3dfe436eb8cfb451981d8fdc9044eaf42da
Author: Johannes Weiner <hannes@xxxxxxxxxxx>
Date: Tue Jan 6 14:43:10 2009 -0800

dma-coherent: catch oversized requests to dma_alloc_from_coherent()

Prevent passing an order to bitmap_find_free_region() that is larger than
the actual bitmap can represent.

These requests can come from device drivers that have no idea how big the
dma region is and need to rely on dma_alloc_from_coherent() to sort it out
for them.

Reported-by: Guennadi Liakhovetski <lg@xxxxxxx>
Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
Cc: Dmitry Baryshkov <dbaryshkov@xxxxxxxxx>
Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

:040000 040000 5c8a694b778f36a3254103d99cb73b561cb84565
5efd4e32eb145f32ca4e96aefbea08f4f8f4d27d M kernel
--
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/