From owner-freebsd-bugs@FreeBSD.ORG Tue Mar 31 00:30:05 2009 Return-Path: Delivered-To: freebsd-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 7CDEA1065672 for ; Tue, 31 Mar 2009 00:30:05 +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 3A1198FC13 for ; Tue, 31 Mar 2009 00:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2V0U57R039973 for ; Tue, 31 Mar 2009 00:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2V0U5P9039970; Tue, 31 Mar 2009 00:30:05 GMT (envelope-from gnats) Resent-Date: Tue, 31 Mar 2009 00:30:05 GMT Resent-Message-Id: <200903310030.n2V0U5P9039970@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2D51106564A for ; Tue, 31 Mar 2009 00:20:44 +0000 (UTC) (envelope-from root@paperboy.dev.p2p.nttmcl.com) Received: from paperboy.dev.p2p.nttmcl.com (unknown [IPv6:2001:418:200:200:21e:c9ff:febb:a0a1]) by mx1.freebsd.org (Postfix) with ESMTP id B10F68FC0C for ; Tue, 31 Mar 2009 00:20:44 +0000 (UTC) (envelope-from root@paperboy.dev.p2p.nttmcl.com) Received: from paperboy.dev.p2p.nttmcl.com (localhost [127.0.0.1]) by paperboy.dev.p2p.nttmcl.com (8.14.3/8.14.3) with ESMTP id n2V0KfKi010677 for ; Mon, 30 Mar 2009 17:20:41 -0700 (PDT) (envelope-from root@paperboy.dev.p2p.nttmcl.com) Received: (from root@localhost) by paperboy.dev.p2p.nttmcl.com (8.14.3/8.14.3/Submit) id n2V0Kftc010676; Mon, 30 Mar 2009 17:20:41 -0700 (PDT) (envelope-from root) Message-Id: <200903310020.n2V0Kftc010676@paperboy.dev.p2p.nttmcl.com> Date: Mon, 30 Mar 2009 17:20:41 -0700 (PDT) From: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/133234: [regression] OpenSSL does not use cryptodev even when it is present X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 00:30:05 -0000 >Number: 133234 >Category: bin >Synopsis: [regression] OpenSSL does not use cryptodev even when it is present >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 31 00:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eugene M. Kim >Release: FreeBSD 7.1-RELEASE i386 >Organization: >Environment: System: FreeBSD paperboy.dev.p2p.nttmcl.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Hardware: Dell PowerEdge R300 with: -- Intel Xeon E3110 - dual-core, 3.0GHz -- 4GB memory (3326MB visible to the non-PAE kernel) -- PCI-X riser card -- Broadcom BCM95821SSN PCI-X cryptographic accelerator card Kernel modules: cryptodev, ubsec >Description: When cryptodev is present, OpenSSL probes its usability but actually never uses it for cryptographic operation, falling back to the default, software-based implementation. >How-To-Repeat: With ubsec.ko and cryptodev.ko loaded: $ ktrace openssl speed -evp des-cbc -elapsed $ kdump | grep ioctl The last command shows no CIOCCRYPT ioctls, i.e. actual hardware encryptions. This problem is a regression, previously unobserved on FreeBSD 6.4 (which however has its own problem; see kern/133143). >Fix: None known yet. >Release-Note: >Audit-Trail: >Unformatted: