From owner-freebsd-i386@FreeBSD.ORG Sun Mar 27 04:00:12 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27FE316A4CF for ; Sun, 27 Mar 2005 04:00:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB5D143D3F for ; Sun, 27 Mar 2005 04:00:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2R40BAu083764 for ; Sun, 27 Mar 2005 04:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2R40Ba6083763; Sun, 27 Mar 2005 04:00:11 GMT (envelope-from gnats) Resent-Date: Sun, 27 Mar 2005 04:00:11 GMT Resent-Message-Id: <200503270400.j2R40Ba6083763@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Murray Baker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E39A16A4CF for ; Sun, 27 Mar 2005 03:51:41 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ACF343D31 for ; Sun, 27 Mar 2005 03:51:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2R3pelU023665 for ; Sun, 27 Mar 2005 03:51:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j2R3peH1023664; Sun, 27 Mar 2005 03:51:40 GMT (envelope-from nobody) Message-Id: <200503270351.j2R3peH1023664@www.freebsd.org> Date: Sun, 27 Mar 2005 03:51:40 GMT From: Murray Baker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/79269: USB ohci da0 plug/unplug causes crashes and lockups. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 04:00:12 -0000 >Number: 79269 >Category: i386 >Synopsis: USB ohci da0 plug/unplug causes crashes and lockups. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 27 04:00:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Murray Baker >Release: 5.3 (also 4.9) >Organization: >Environment: FreeBSD daigomi.baker.lan 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon Feb 21 23:45:21 EST 2005 root@daigomi.baker.lan:/usr/src/sys/i386/compile/DAIGOMI i386 This is a custom kernel. The problem also occurs with standard 5.3 kernel (and also 4.9). >Description: USB mass storage, 1/ 2.5" HDD box with USB2, 2/ USB flash key, ohci, machine will lock up, reset, or kernel panic when the device is plugged in or unplugged. This doesn't happen every time, and seems to happen more on slower machines (socket 7, less often on P///-800). If no crash or lockup, the USB mass storage (da0) works fine. Problem has happened on several machines with different chipsets and processors, and also happens with 4.9. I suggest that when a USB device is [un]plugged, several cycles of connect/disconnect/connect occur in rapid succession and the driver can't handle this. PaidForOs works fine on the same hw. It is unreasonable to assume that connectors will make/break cleanly. >How-To-Repeat: Repeatedly plug/unplug USB mass storage on ohci USB hw, 4.9 or 5.3. Try 'wiggling' the connector during [un]plug to provoke the problem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: