From owner-freebsd-current@FreeBSD.ORG Tue Aug 9 04:10:17 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98FA616A41F; Tue, 9 Aug 2005 04:10:17 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37CEC43D46; Tue, 9 Aug 2005 04:10:17 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.93] ([66.127.85.93]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j794AFms051202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Aug 2005 21:10:16 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42F82CD4.3010307@errno.com> Date: Mon, 08 Aug 2005 21:11:00 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20050728205413.GB762@darkness.comp.waw.pl> <6.2.1.2.0.20050806205925.0522cad0@64.7.153.2> <20050807065223.GB1002@garage.freebsd.pl> <6.2.1.2.0.20050807091937.040d9e48@64.7.153.2> <20050807160735.GD1002@garage.freebsd.pl> <6.2.1.2.0.20050807231805.0449b9c0@64.7.153.2> <6.2.1.2.0.20050807233527.06eef730@64.7.153.2> <20050808095233.P69029@fw.reifenberger.com> <20050808084907.GB1578@garage.freebsd.pl> In-Reply-To: <20050808084907.GB1578@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Michael Reifenberger , freebsd-current@freebsd.org, Mike Tancsa Subject: Re: Hifn driver in SMP (was Re: GELI - disk encryption GEOM class committed.) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 04:10:17 -0000 Pawel Jakub Dawidek wrote: > On Mon, Aug 08, 2005 at 09:55:45AM +0200, Michael Reifenberger wrote: > +> On Sun, 7 Aug 2005, Mike Tancsa wrote: > +> > +> >Date: Sun, 07 Aug 2005 23:37:02 -0400 > +> >From: Mike Tancsa > +> >To: Pawel Jakub Dawidek > +> >Cc: freebsd-current@freebsd.org > +> >Subject: Hifn driver in SMP (was Re: GELI - disk encryption GEOM class > +> > committed.) > +> >Actually, it seems I can easily lock up the box with > +> >/usr/bin/openssl aes-128-cbc -in big -k pass | ssh -c aes128-cbc mdtancsa@127.0.0.1 "cat - > /home/mdtancsa/targetfile.enc" > +> >Is the hifn driver perhaps not fully smp safe ? > +> > +> BTW: > +> I've had hard lockups using the previous version of GELI and hifn on UP and amd64 (if that matters) too. > +> newfs worked but iozone locked up allways... > > You're probably seeing the same problem I have. > Are all the lockups on amd systems? I definitely tested hifn on a dual-xeon w/o issues but phk and others have reported various issues with hifn-based cards on operteron systems (though not hard lockups from what I recall). Given that I don't have an smp amd system someone w/ such a setup will need to collect info to help. Can you break to the debugger and inspect state? There's also debug.hifn I think (or something like it) to get debug msgs to the console. Sam