Re: ohci1394_dma=early crash since 2.6.32 (was Re: [Bug #14487]PANIC: early exception 08 rip 246:10 error ffffffff810251b5 cr2 0)

From: Justin P. Mattock
Date: Sat Feb 06 2010 - 18:56:23 EST


On 02/04/10 01:57, Jan Beulich wrote:
"Justin P. Mattock"<justinmattock@xxxxxxxxx> 04.02.10 10:48>>>
I see:

ohci.registers = (void *)fix_to_virt(FIX_OHCI1394_BASE);

then I think it calls:

set_fixmap_nocache(FIX_OHCI1394_BASE, ohci_base);

I'm guessing somewhere with the fix_to_virt might be something
(but could be wrong);

No, it ought to be that set_fixmap_nocache().

Jan




looking into fixmap.h I started to look into:
#define NR_FIX_BTMAPS 64
#define FIX_BTMAPS_SLOTS 4
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,

which led me to a patch you had submitted:
http://patchwork.kernel.org/patch/68719/
and another located here:
http://lists.openwall.net/linux-kernel/2008/08/29/211

your patch works, I reapplied it to the latest HEAD, and added a
bisected-and-tested-by unto it and sent it as an attachment to
the bug report.

the other thread(patch) I was able to get the system boot with that, as well but with it only changed the size of page(256 to 512 etc..).

Let me know what would be the best approach with this.

Justin P. Mattock








--
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/