Re: 2.6.13-rc2 hangs at boot

From: Ivan Kokshaysky
Date: Fri Jul 08 2005 - 01:31:14 EST


On Thu, Jul 07, 2005 at 05:13:49PM +0300, Tero Roponen wrote:
> I applied your original patch (the no-op one) and the
> end=0 patch. With those applied I could boot into login
> prompt.

Puzzling. None of these patches should affect your setup.
And you still have DMA timeouts...

> Attached are lspci -vv and dmesg outputs from
> 2.6.12 and 2.6.13-rc2 kernels.

The only difference is that under 2.6.13-rc2 the cardbus ranges
are a lot bigger. With the patch here your PCI setup should be
identical to 2.6.12. I don't think this fixes DMA problem,
but just to be sure...

Ivan.

--- 2.6.13-rc2/drivers/pci/setup-bus.c Thu Jul 7 01:32:43 2005
+++ linux/drivers/pci/setup-bus.c Fri Jul 8 10:25:20 2005
@@ -40,8 +40,8 @@
* FIXME: IO should be max 256 bytes. However, since we may
* have a P2P bridge below a cardbus bridge, we need 4K.
*/
-#define CARDBUS_IO_SIZE (4096)
-#define CARDBUS_MEM_SIZE (32*1024*1024)
+#define CARDBUS_IO_SIZE (256)
+#define CARDBUS_MEM_SIZE (4*1024*1024)

static void __devinit
pbus_assign_resources_sorted(struct pci_bus *bus)
-
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/