2010-02-27 14:04:15

by Michael Bohn

[permalink] [raw]
Subject: hifn_795x module on a 64 bit system

Hello
is there a way to use the hifn_795x module on a 64 bit system. ( with
4GB RAM ) ?

I get this error message if I try to load this module.


# modprobe hifn_795x

FATAL: Error inserting hifn_795x
(/lib/modules/2.6.32-gentoo-r6/kernel/drivers/crypto/hifn_795x.ko):
Invalid argument

# dmesg | grep -i hifn

[ 3.466307] HIFN supports only 32-bit addresses.

[ 1147.645181] HIFN supports only 32-bit addresses.




Thanks in advance for the reply.


Michael


2010-02-27 17:32:36

by Evgeniy Polyakov

[permalink] [raw]
Subject: Re: hifn_795x module on a 64 bit system

On Sat, Feb 27, 2010 at 03:04:13PM +0100, Michael Bohn ([email protected]) wrote:
> is there a way to use the hifn_795x module on a 64 bit system. ( with
> 4GB RAM ) ?
>
> I get this error message if I try to load this module.
>
> [ 3.466307] HIFN supports only 32-bit addresses.
> [ 1147.645181] HIFN supports only 32-bit addresses.

That's it - card only works in 32bit mode, it is limited by descriptor
registers. The only way is to work this around is to allocate temporal
buffer and copy data here and there, which is unlikely to be faster than
software encryption.

--
Evgeniy Polyakov