On Thu, Jan 28, 2010 at 05:04:57PM -0600, Jeff Epler wrote:
> 2.6.30.5-rtai hits a kernel BUG when ctrl_type= is specified.
> Investigation of in-kernel users of module_param_array(charp) implies
> that they all use zero'd out arrays, in contrast to our initialized array.
> the BUG is that param_set_charp attempts to kfree the old value.
> 
> Revamp how stepgen treats ctrl_type so that an empty or unspecified value
> is treated like 'v', so that the initial ctrl_type can be uninitialized.
> This has the side effect of making empty ctrl_types (e.g., ctrl_type=p,v,,v)
> indicate position control.
> ---
> I verified that this still works OK on sim and 2.6.12-magma (breezy! but
> the only realtime system I had handy); does it fix stepgen ctrl_type
> with your kernel?

Acemi,
Did you ever test this patch?  Did it resolve the problem?

Jeff

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to