Subject: Re: bin/32414
To: None <gnats-bugs@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 04/23/2006 13:00:21
On Apr 23,  1:50pm, ijk@speakeasy.net (Jeff Ito) wrote:
-- Subject: Re: bin/32414

| The following reply was made to PR bin/32414; it has been noted by GNATS.
| 
| From: Jeff Ito <ijk@speakeasy.net>
| To: gnats-bugs@netbsd.org
| Cc: 
| Subject: Re: bin/32414
| Date: Sun, 23 Apr 2006 09:47:23 -0400
| 
|  Running a kernel with CRYPTO_DEBUG results in the following.
|  
|  Starting sshd.
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|   
|  # openssl
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  OpenSSL> speed -engine cryptodev aes
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22
|  SIOCSESSION violates kernel parameters 22

Can you try playing with the sysctls?

kern.usercrypto = 1
kern.userasymcrypto = 1
kern.cryptodevallowsoft = 1