From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 16 15:30:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B91D1065672 for ; Wed, 16 Sep 2009 15:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4118FC28 for ; Wed, 16 Sep 2009 15:30:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8GFU4pW014105 for ; Wed, 16 Sep 2009 15:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8GFU4Yq014097; Wed, 16 Sep 2009 15:30:04 GMT (envelope-from gnats) Resent-Date: Wed, 16 Sep 2009 15:30:04 GMT Resent-Message-Id: <200909161530.n8GFU4Yq014097@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Larry Baird Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E92B106566C for ; Wed, 16 Sep 2009 15:21:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8D75C8FC13 for ; Wed, 16 Sep 2009 15:21:23 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8GFLNje032368 for ; Wed, 16 Sep 2009 15:21:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8GFLNlv032367; Wed, 16 Sep 2009 15:21:23 GMT (envelope-from nobody) Message-Id: <200909161521.n8GFLNlv032367@www.freebsd.org> Date: Wed, 16 Sep 2009 15:21:23 GMT From: Larry Baird To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/138881: Hardware acceleration not working for openssl port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 15:30:04 -0000 >Number: 138881 >Category: ports >Synopsis: Hardware acceleration not working for openssl port >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 16 15:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Larry Baird >Release: 6,7,8,9 >Organization: GTA, Inc. >Environment: FreeBSD griffin.gta.com 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Mon Sep 14 07:39:19 EDT 2009 root@griffin.gta.com:/usr/src/sys/i386/compile/GRIFFIN i386 >Description: Code using openssl-0.9.8k_3 from ports does NOT get accelerated after a call to: ENGINE_setup_bsd_cryptodev() >How-To-Repeat: >Fix: Problem seems to be with FreeBSD patch file /usr/ports/security/openssl/files/patch-eng_cryptodev.c. This patch modifies the function get_dev_crypto() in the file eng_cryptodev.c to close 'fd' open success. Removing the close() from the FreeBSD patch allows openssl to be accelerated. >Release-Note: >Audit-Trail: >Unformatted: