From: "Nawang Chhetan" Subject: Re: OCF Support on linux 2.6. Date: Tue, 17 Jul 2007 12:50:21 +0530 Message-ID: <70a419b80707170020h6245b8e0w498c159ad885c588@mail.gmail.com> References: <70a419b80707160248g57943dd3p6ed57fda2405014e@mail.gmail.com> <20070716235133.GA27925@securecomputing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-crypto@vger.kernel.org To: "David McCullough" Return-path: Received: from nz-out-0506.google.com ([64.233.162.232]:36742 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758865AbXGQHUX (ORCPT ); Tue, 17 Jul 2007 03:20:23 -0400 Received: by nz-out-0506.google.com with SMTP id s18so1066849nze for ; Tue, 17 Jul 2007 00:20:22 -0700 (PDT) In-Reply-To: <20070716235133.GA27925@securecomputing.com> Content-Disposition: inline Sender: linux-crypto-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org Hi David, Thanks for the reply. I have been using the SafeXcel 1141 card on x86 platform. Need to investigate this further as suggested by you. I have a question, I have noticed that list of hardware accelerators are supported with OCF-Linux is a bit unclear, even though these hardware accelerators are mentioned clearly: 1. Hifn-7751 2. SafeXcel-1141 3. Intel-Ixp. Is this the exhaustive list ? On 7/17/07, David McCullough wrote: > > Jivin Nawang Chhetan lays it down ... > > Hi All, > > > > I am trying to integrate OCF-linux with Quicksec on linux 2.6 kernels. > > Many versions of OCF-Linux have been released but wtihout clear > > demarcation of 2.6 kernel versions they support. All they mention is > > support for kernel verison 2.6.11 and later and the README within the > > distributions states it can be easily modified to support recent > > version of kernels( which is true, I did it for 2.6.17.7 ) > > My Question here is that: > > Is there any good OCF-Linux documentation available ? > > Only whats on the website. Your best bet is to ask. > The current releases work for kernels up to 2.6.18 without > any major issues. I should be doing a release this week with > everything up to 2.6.22 supported fully. Just finishing off the > testing. > > > What is/are the version of 2.6 kernel, the OCF-Linux is most > > stable/tested/developed for ? > > Further I tried to use SafeXcel-1141 hardware accelerator ( which is > > claimed to be supported) with OCF-Linux, but inserting the module > > safe.ko (after ocf.ko and cryptodev.ko ) hangs the machine (Kernel > > version 2.6.17.6 .). > > Do I need to insmod the SafeXcel-1141 driver too ? > > I have used the safenet driver on SuperH and ARM platforms. It works > fine there. I don't have any way to test it on x86 though. > > It should work fine on 2.6.17, load everything with debug enabled > and see what happens. > > If you are running on an x86_64 system, disable all the code in > "random.c" however, it was broken on 64bits arches in older versions. > > Cheers, > Davidm > > -- > David McCullough, david_mccullough@securecomputing.com, Ph:+61 734352815 > Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com > -- Nawang Chhetan Software Engineer SafeNet India.