From: Jan Beulich on
>>> "Justin P. Mattock" <justinmattock(a)gmail.com> 04.02.10 00:05 >>>
>[ 0.000000] 0100000000 - 0140000000 page 2M
>[ 0.000000] kernel direct mapping tables up to 140000000 @ b000-11000
>[ 0.000000] init_ohci1394_dma: initializing OHCI-1394 at 05:00.0
>[ 0.000000] bootmem alloc of 4096 bytes failed!
>[ 0.000000] Kernel panic - not syncing: Out of memory
>[ 0.000000] Pid: 0, comm: swapper Not tainted
>2.6.33-rc6-00072-gab65832 # 39
>[ 0.000000] Call Trace:
>
>then the rest shown on the picture on the bug report.
>
>Out of memory?

bootmem allocation before bootmem was even initialized. And that's
likely because the code tries to populate the pmd that (due to the
issue explained yesterday) isn't statically initialized.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Jan Beulich on
>>> "Justin P. Mattock" <justinmattock(a)gmail.com> 04.02.10 10:17 >>>
>so something is using __native_set_fixmap
>that's hitting some memory address then
>set_fixmap_nocache(ohci1394_dma=early)
>fires off hitting the same?

No, afaict it is the ohci1394_dma=early code itself hitting that path.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Jan Beulich on
>>> "Justin P. Mattock" <justinmattock(a)gmail.com> 03.02.10 02:43 >>>
Could you try this simple patch (against plain 2.6.33-rc8)?

Thanks, Jan

--- a/arch/x86/include/asm/fixmap.h
+++ b/arch/x86/include/asm/fixmap.h
@@ -82,6 +82,9 @@ enum fixed_addresses {
#endif
FIX_DBGP_BASE,
FIX_EARLYCON_MEM_BASE,
+#ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT
+ FIX_OHCI1394_BASE,
+#endif
#ifdef CONFIG_X86_LOCAL_APIC
FIX_APIC_BASE, /* local (CPU) APIC) -- required for SMP or not */
#endif
@@ -126,9 +129,6 @@ enum fixed_addresses {
FIX_BTMAP_END = __end_of_permanent_fixed_addresses + 256 -
(__end_of_permanent_fixed_addresses & 255),
FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS*FIX_BTMAPS_SLOTS - 1,
-#ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT
- FIX_OHCI1394_BASE,
-#endif
#ifdef CONFIG_X86_32
FIX_WP_TEST,
#endif


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