From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 6 06:10:04 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1DDD16A4CE for ; Mon, 6 Sep 2004 06:10:04 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6ACB43D41 for ; Mon, 6 Sep 2004 06:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i866A4s0061484 for ; Mon, 6 Sep 2004 06:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i866A4ZK061483; Mon, 6 Sep 2004 06:10:04 GMT (envelope-from gnats) Resent-Date: Mon, 6 Sep 2004 06:10:04 GMT Resent-Message-Id: <200409060610.i866A4ZK061483@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Zoltan Tesch Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE76F16A4CE for ; Mon, 6 Sep 2004 06:05:29 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B310443D55 for ; Mon, 6 Sep 2004 06:05:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8665TfE086264 for ; Mon, 6 Sep 2004 06:05:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i8665TJ6086263; Mon, 6 Sep 2004 06:05:29 GMT (envelope-from nobody) Message-Id: <200409060605.i8665TJ6086263@www.freebsd.org> Date: Mon, 6 Sep 2004 06:05:29 GMT From: Zoltan Tesch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/71417: Cryptoflex e-gate USB token (ugen0) communication problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 06:10:05 -0000 >Number: 71417 >Category: ports >Synopsis: Cryptoflex e-gate USB token (ugen0) communication problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 06 06:10:04 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Zoltan Tesch >Release: 5.2.1 >Organization: kancellar.hu Ltd. >Environment: FreeBSD warbsd 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Fri Sep 3 22:15:44 CEST 2004 root@warbsd:/usr/src/sys/i386/compile/BASE i386 (usb debug option is enabled) >Description: I would like to use this token with openct-0.6.1. It seems that card initialization, ATR query, reset and status request works fine, but when the first data packet is sent to the card, the program receives the following error (ktrace output): 663 ifdhandler CALL ioctl(0x7,USB_SET_TIMEOUT,0xbfbfc14c) 663 ifdhandler RET ioctl 0 663 ifdhandler CALL ioctl(0x7,USB_DO_REQUEST,0xbfbfc150) 663 ifdhandler RET ioctl -1 errno 5 Input/output error It seems to me the control messages are handled well, but data messages drops the error. Maybe this is not a kernel problem but I have no any idea how I can be sure about it. >How-To-Repeat: Just issue the pkcs15-tool -c -C command >Fix: >Release-Note: >Audit-Trail: >Unformatted: