From owner-freebsd-stable@FreeBSD.ORG Tue Nov 27 12:54:04 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94ACB16A417 for ; Tue, 27 Nov 2007 12:54:04 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 561ED13C44B for ; Tue, 27 Nov 2007 12:54:04 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id lARCbe6G040300; Tue, 27 Nov 2007 07:37:40 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lARCbdMB077950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Nov 2007 07:37:39 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200711271237.lARCbdMB077950@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 27 Nov 2007 07:37:49 -0500 To: Harald Schmalzbauer , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <20071127092729.189bcbae@titan.flintsbach.schmalzbauer.de> References: <20071127092729.189bcbae@titan.flintsbach.schmalzbauer.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: cryptodev and ssh on RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 12:54:04 -0000 At 03:27 AM 11/27/2007, Harald Schmalzbauer wrote: >Hello, > >I have a HiFN crypto card and can remember that it was used for ssh >connections with 3des encryption (on 6.1 afair). >But with RELENG_7 it isn't used at all (no interrupts) if I >'ssh -v -c 3des-cbc user@host' > >Any ideas what is wrong? > >dmesg: >hifn0 mem >0x80000000-0x80000fff,0x80040000-0x80041fff,0x80080000-0x80087fff irq >12 at device 13.0 on pci0 hifn0: [ITHREAD] hifn0: Hifn 7955, rev 0, >32KB dram, pll=0x801 > >crw-rw-rw- 1 root wheel - 0, 41 Nov 27 08:13:41 2007 /dev/crypto > Hi, Are you sure you have device crypto and device cryptodev in the kernel? Also, there is a program in /usr/src/tools/tools/crypto called hifnstats. It will show some usuage stats. e.g. % hifnstats input 43292952 bytes 182393 packets output 43292952 bytes 182393 packets invalid 0 nomem 0 abort 0 noirq 0 unaligned 67775 totbatch 0 maxbatch 0 nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0