From owner-freebsd-usb@FreeBSD.ORG Sat Sep 3 20:00:21 2011 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 3AABE106566B for ; Sat, 3 Sep 2011 20:00:21 +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 EF5C68FC18 for ; Sat, 3 Sep 2011 20:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p83K0KUc021230 for ; Sat, 3 Sep 2011 20:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p83K0KFQ021229; Sat, 3 Sep 2011 20:00:20 GMT (envelope-from gnats) Resent-Date: Sat, 3 Sep 2011 20:00:20 GMT Resent-Message-Id: <201109032000.p83K0KFQ021229@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, Poul-Henning Kamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BAEF106566C for ; Sat, 3 Sep 2011 19:55:23 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB738FC18 for ; Sat, 3 Sep 2011 19:55:22 +0000 (UTC) Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6C48A5E25 for ; Sat, 3 Sep 2011 19:55:21 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p83JtL1f009110 for ; Sat, 3 Sep 2011 19:55:21 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.14.5/8.14.5/Submit) id p83JtLaK009109; Sat, 3 Sep 2011 19:55:21 GMT (envelope-from phk) Message-Id: <201109031955.p83JtLaK009109@critter.freebsd.dk> Date: Sat, 3 Sep 2011 19:55:21 GMT From: Poul-Henning Kamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/160436: ucom wedges machine on parity error ? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2011 20:00:21 -0000 >Number: 160436 >Category: usb >Synopsis: ucom wedges machine on parity error ? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 03 20:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 8.2-STABLE i386 >Organization: >Environment: FreeBSD shus.dc.freebsd.dk 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Aug 31 08:43:34 UTC 2011 root@hex-drift.freebsd.dk:/freebsd/obj/nanobsd.shus/freebsd/src/sys/NET4801 i386 Soekris NET4801 >Description: I'm running Soekris NET4801 doing data collection, it has been running stable for years. Recently I added a USB-serial port running in raw mode at 300/7/EVEN The machine started freezing hard and recovered only when the watchdog kicked in. When frozen, there is no serial console reaction, no packet traffic and no signs of a panic message. I tried two different USB-serial dongles, one UPLCOM and one UFTDI, apart from a possibly slightly different frequency, no difference. Disabling the software on the USB serial port, made the freezes go away. I have now moved the parity check into software, running the port as 300/8/NONE instead, and the problem has not been seen since. Has anybody ever tested a parity error on a USB serial port ? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: