cryptodev and ssh on RELENG_7

Mike Tancsa mike at sentex.net
Tue Nov 27 04:54:04 PST 2007


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 at 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 



More information about the freebsd-stable mailing list