Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 07:37:49 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Harald Schmalzbauer <h.schmalzbauer@omnisec.de>, freebsd-stable@freebsd.org
Subject:   Re: cryptodev and ssh on RELENG_7
Message-ID:  <200711271237.lARCbdMB077950@lava.sentex.ca>
In-Reply-To: <20071127092729.189bcbae@titan.flintsbach.schmalzbauer.de>
References:  <20071127092729.189bcbae@titan.flintsbach.schmalzbauer.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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<ext clk, 4x mult>
>
>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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711271237.lARCbdMB077950>