NetBSD Problem Report #39727

From jmcneill@black.invisible.ca  Sat Oct 11 21:38:11 2008
Return-Path: <jmcneill@black.invisible.ca>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3C1DE63B88A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 11 Oct 2008 21:38:11 +0000 (UTC)
Message-Id: <20081011213806.E9F297D806C@black.invisible.ca>
Date: Sat, 11 Oct 2008 17:38:06 -0400 (EDT)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@gnats.NetBSD.org
Subject: race condition in ehci isoc abort xfer path
X-Send-Pr-Version: 3.95

>Number:         39727
>Category:       kern
>Synopsis:       race condition in ehci isoc abort xfer path
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 11 21:40:00 +0000 2008
>Closed-Date:    Tue Oct 14 18:14:01 +0000 2008
>Last-Modified:  Tue Oct 14 18:14:01 +0000 2008
>Originator:     Jared D. McNeill
>Release:        NetBSD 4.99.72
>Organization:

>Environment:


System: NetBSD black.invisible.ca 4.99.72 NetBSD 4.99.72 (GENERIC) #173: Sat Oct 11 16:43:46 EDT 2008 jmcneill@black.invisible.ca:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	When aborting an ehci isoc transfer using usbd_abort_pipe, a
	panic may happen in usb_transfer_complete.

	ddb appears to skip some frames, but the trace shows:
	  usb_transfer_complete
	  ehci_softintr

	Workaround: I am unable to reproduce this with a UP kernel.
>How-To-Repeat:
	1. read from a high speed isoc endpoint
	2. create disk activity (start firefox3, thunderbird, vlc in parallel)
	3. once the disk settles, stop reading from the endpoint
	4. panic
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 14 Oct 2008 18:14:01 +0000
State-Changed-Why:
fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.