Thread (1 message) 1 message, 1 author, 2003-04-08

Re: insmod search_exception_table !!!

From: Matt Porter <hidden>
Date: 2003-04-08 21:56:45

On Tue, Apr 08, 2003 at 10:08:35PM +0530, invictus rm wrote:
Hi Matt,
I am using io_block_mapping for early_console_prints
    io_block_mapping(0xf0000000, 0xf0000000, 0x10000000, _PAGE_IO);

Is this a cause of the problem ??
Not on its own...you should have ~240MB of initial vmalloc space with
this configuration.
How do i know how much addr i have ioremapped ??
You really want to know how much vmalloc space has been consumed
by all users.

Hard way:

Count all the ioremaps you do (plus 4KB offset between each
vmalloc offset).  If you are on a non-coherent platform you also
have to consider all consistent alloced memory.

Easy way:
ftp://source.mvista.com/pub/linuxppc/vmalloc_stats-2_4_devel.patch
/proc/meminfo contains vmalloc usage stats.
My PAGE_OFFSET is at 0xc0000000

Do i need to change the PCI MEM Map also if i am having a 1:1 mapping in the
kernel virtual space ??
No, you just need to be aware that VMALLOC_END=ioremap_bot and this
value is set to whatever your lowest io_block_map virtual address is.
Any early ioremaps (pre-MM initialized) you do to place system devices
will further drop VMALLOC_END and constrain your vmalloc space.

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help