Subject: Re: bin/32414
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, ijk@speakeasy.net>
From: Jeff Ito <ijk@speakeasy.net>
List: netbsd-bugs
Date: 02/22/2006 14:10:03
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: Wed, 22 Feb 2006 09:06:30 -0500

 The openssl/cryptodev problems persist.
 
 Here is some potentially useful additional information:
 
 issuing 'openssl engine' now lists cryptodev as a potential engine.
 
 However, upon issuing 'openssl speed -engine cryptodevi aes' I get
 benchmarks which match an identical machine minus the crypto
 accelerator.
 
 ktrace provides:
 
 ...
  16372      1 openssl  CALL  ioctl(4,CIOCGSESSION,0xbfbfbdb0)
  16372      1 openssl  GIO   fd 4 wrote 28 bytes
        "\^C\0\0\0\0\0\0\0\^P\0\0\0\M-\\M-7\M-7\M-;\0\0\0\0\0\0\0\0\0\0\0\0"
  16372      1 openssl  RET   ioctl -1 errno 22 Invalid argument
  16372      1 openssl  CALL  ioctl(4,CIOCGSESSION,0xbfbfbdb0)
  16372      1 openssl  GIO   fd 4 wrote 28 bytes
        "\^D\0\0\0\0\0\0\0\^P\0\0\0\M-\\M-7\M-7\M-;\0\0\0\0\0\0\0\0\0\0\0\0"
  16372      1 openssl  RET   ioctl -1 errno 22 Invalid argument
  16372      1 openssl  CALL  close(4)
  16372      1 openssl  RET   close 0
  16372      1 openssl  CALL  getpid
  16372      1 openssl  RET   getpid 16372/0x3ff4, 3752/0xea8
  16372      1 openssl  CALL  getpid
  16372      1 openssl  RET   getpid 16372/0x3ff4, 3752/0xea8
  16372      1 openssl  CALL  write(2,0xbfbfb610,0x18)
  16372      1 openssl  GIO   fd 2 wrote 24 bytes
        "engine \"cryptodev\" set.
 ...
 
 I can provide full ktrace, or any additional information necessary.