[etherlab-users] Memory for kernel module
Dr.-Ing. Wilhelm Hagemeister
hm at igh-essen.com
Fri Jan 14 09:18:10 CET 2011
please tell a bit more about your model. Do you use large matrices as
parameter (This is usually the problem)?
Am 13.01.2011 14:08, schrieb Westpfahl Jasper:
> Dear Etherlab-friends,
> I've got a problem with memory allocation and I hope, somebody can help me...
> Building a kernel modul with rtai stack size (in simulink configuration parameters / Etherlab C code generation options) works with values of 20000 and 200000.
> When inserting the module with 20000, it works fine, meaning that I get a connection to the realtime-process, but the stack size is not big enough to operate the model properly.
> When inserting the module with 200000 (insmod tb_kmod.ko), I got the messsage
> insmod: error inserting 'tb_kmod.ko': -1 Cannot allocate memory
> Can anybody tell me, where and how to adjust the accepted Rtai stack size?
> /var/log/messages is attached.
> Thank You very much in advance!
> etherlab-users mailing list
> etherlab-users at etherlab.org
More information about the Etherlab-users