Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: modload & xen and -current 9.99.60



On Fri, 8 May 2020, Manuel Bouyer wrote:

On Fri, May 08, 2020 at 02:55:10PM +0200, Frank Kardel wrote:
I checked to same kernel in an instance with memory=2048 and it just works.

Using todays kernel also works woth memory=2048.

Using memory=65536 for the xen instance gives a surprising familiar

TEST-A# modload bpfjit
[  97.4727034] kobj_load, 444: [%M/bpfjit/bpfjit.kmod]: linker error: out of
memory
modload: bpfjit: Cannot allocate memory
TEST-A#

So it seems to be linked to available memory.

The more you have the less you get for modload.

It could be a variable overflow somewhere but I can't see how it relates to
64Gb. Does it work with 16Gb ?

This sounds similar to the problem I reported a couple of weeks ago with exactly 16GB:

http://mail-index.netbsd.org/port-xen/2020/04/17/msg009654.html

Also could you try with a PVH or HVM guest ? These ones would use modules
from /stand/amd64/ and not /stand/amd64-xen/ and should be close to native.

I don't have a box with that much RAM to test ...

--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
    NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index