RE: AW: is a kernel 2.6.14.* patch available

"Dick St.Peters" <[email protected]> Sun, 27 Nov 2005 22:06:54 -0500
Newsgroups gmane.comp.encryption.cipe
Message-ID <[email protected]>
Vitaly Protsko writes:
> Seems, it is an old-old mis-design (?) "feature" - compile your kernel w/o
> "regparam" and cipe will go to work properly ...
> 
> Can anybody look onto it to fix?

Setting the kernel config parameter CONFIG_PARM alters the way the
kernel passes function arguments internally.  Unless a module is
compiled to match it will almost certainly fail.  The module will be
expecting to get arguments from the rest of the kernel on the stack,
but the kernel will pass some of them in registers.

Compiling the cipe kernel module with "-mregparm=3" added to the gcc
arguments should make a working cipe module.  Maybe somebody with a
SUSE kernel could try this ...

--
Dick St.Peters, [email protected] 

--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>