Bob Breuer wrote:
At this point, I am guessing that some pte's allocated for the framebuffer are being wrongly re-used when loading the module.


The cg14 driver is not remapping the framebuffer, and is using the mappings that were setup by the prom and recreated in linux from srmmu_inherit_prom_mappings().


How can we tell vmalloc not to step on that area of memory? Is it just from VMALLOC_START to END? Let's see, for 2.6 those are 0xfe600000 and 0xffc00000. The prom mapped the cg14 to 0xfe700000 (8MB ram) and 0xffec0000 (registers). Hmm, a bit of overlap there... And 2.4 had VMALLOC_START at 0xfe300000. So it would seem that if the total vmalloc'ed memory goes above 1 meg for me, 2.6 will have problems, but 2.4 will still be fine.

Bob
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to