[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/43438: x86 module map size is limited
>Synopsis: x86 module map size is limited
>Arrival-Date: Wed Jun 09 02:55:00 +0000 2010
>Originator: matthew green
>Release: NetBSD 5.99.30
people's front against (bozotic) www (softwar foundation)
trying to load the "solaris" and "zfs" kmodules into an amd64
GENERIC kernel results in ENOMEM being returned by the zfs load
attempt. i tracked this down to the x86 module_map being
sized at 20MB - size of kernel + rodata. in my case, the module
map was only left about 3MB or space, and it could not satisfy
the modload attempts.
boot large amd64 kernel (GENERIC + debugging seems sufficient,
plus *VERBOSE too) and try to modload zfs.
i assume that there is some x86 specific setup that limits this
size to 20MB but i'm not sure what the fix is.
i worked around the issue by removing about 100 drivers i wasn't
using from my kernel and freeing up enough space in the module map.
Main Index |
Thread Index |