From owner-freebsd-usb@FreeBSD.ORG Mon Nov 23 15:50:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A82106566B for ; Mon, 23 Nov 2009 15:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 797D68FC19 for ; Mon, 23 Nov 2009 15:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nANFo2Mn068045 for ; Mon, 23 Nov 2009 15:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nANFo2mY068044; Mon, 23 Nov 2009 15:50:02 GMT (envelope-from gnats) Resent-Date: Mon, 23 Nov 2009 15:50:02 GMT Resent-Message-Id: <200911231550.nANFo2mY068044@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Corey Smith Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1183106566C for ; Mon, 23 Nov 2009 15:45:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0EF8FC15 for ; Mon, 23 Nov 2009 15:45:54 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nANFjsY3091299 for ; Mon, 23 Nov 2009 15:45:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nANFjs2W091289; Mon, 23 Nov 2009 15:45:54 GMT (envelope-from nobody) Message-Id: <200911231545.nANFjs2W091289@www.freebsd.org> Date: Mon, 23 Nov 2009 15:45:54 GMT From: Corey Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140810: 8.X+ uftdi copy and paste problem / tty overflow X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 15:50:02 -0000 >Number: 140810 >Category: usb >Synopsis: 8.X+ uftdi copy and paste problem / tty overflow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 23 15:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Corey Smith >Release: 8.0-RC3 >Organization: BondDesk Group >Environment: FreeBSD 8.0-RC3 FreeBSD 8.0-RC3 #2: Fri Nov 20 18:28:57 EST 2009 root@:/usr/src/sys/amd64/compile/GENERIC amd64 >Description: We are using a VSCOM USB-16COM-RM which is a UFTDI based 16 port serial terminal. It is detected as 8 FT2232C dual port serial connections: product FTDI SERIAL_2232C 0x6010 FT2232C Dual port Serial ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0x6010 bcdDevice = 0x0500 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 If you 'tip ucom1' and paste a long sequence of text into the terminal then the terminal will start to constantly spew what appears to be random memory contents to the host connected on ucom1. This same configuration is known good in 7.1-RELEASE. The problem definitely occurs on 8.0-BETA3 and 8.0-RC3. The serial ports work fine if you never copy and paste but as soon as you start to copy and paste more than 60 odd characters at a time you see this random garbage on the tty. AFAIK the garbage will continuously send to the attached host until you reboot the box. I don't know if this problem is reproducible using other uftdi based devices as I don't have any other hardware to test with. >How-To-Repeat: Paste long sequences of text into a tip session connected through a uftdi device under 8.0-RC3. Notice constant garbage being transmitted to the host until you reboot the console server. >Fix: No fix but a workaround is to not copy and paste into terminals connected through uftdi devices. >Release-Note: >Audit-Trail: >Unformatted: