From owner-freebsd-current@FreeBSD.ORG Fri Oct 7 06:32:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C81651065676; Fri, 7 Oct 2011 06:32:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 720108FC12; Fri, 7 Oct 2011 06:32:41 +0000 (UTC) Received: by ggeq3 with SMTP id q3so3102219gge.13 for ; Thu, 06 Oct 2011 23:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rSvoAHax0K8tRjs8BcRgWiTEVYC+y3tPmLwmQ5hvCvQ=; b=HLDh9bZdw3sLCzXyYq2QFZ38LATpN1kCRuJsexJoRR9WHJeq3OXLp9k2jNLXm2+Fqy tBJyHNQWp6efrzJfSShrMofRddPyHyG0IP606FDM0bAK5R7d3v4tJ2k1ub6LrvXWuMug cb5vuR0yBgIatT9kgniLekQJcTbB370DN9UyU= MIME-Version: 1.0 Received: by 10.236.191.161 with SMTP id g21mr8052750yhn.3.1317969160657; Thu, 06 Oct 2011 23:32:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.111.42 with HTTP; Thu, 6 Oct 2011 23:32:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Oct 2011 14:32:40 +0800 X-Google-Sender-Auth: zkaq1saWRwunll4S1ZCNs9tKN2E Message-ID: From: Adrian Chadd To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , Hans Petter Selasky Subject: Re: USB storage corruption/panic when doing file IO and unplugging (another, non-storage) device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 06:32:41 -0000 On 7 October 2011 13:55, Garrett Cooper wrote: >> Has anyone seen this before? >> >> This is _not_ plug/unplug the active storage device, or another >> storage device. This is when doing IO on a storage device (whether the >> root device or a media device) whilst plug/unplug a non-storage USB >> device (wifi chipsets w/ no driver.) > > =A0 =A0Yeah. Ran into it earlier on in the 9.x cycle with twa unplugging > a USB keyboard when I was rebooting a machine; the panic was fixed in > twa, not ukbd. I suppose my question is: does this only happen with > USB, or is firewire affected, and why aren't the devices being > properly masked against interrupts [in the same queue??] [by > newbus???]? Let's wait for hps to get back to us. This seems like something he can replicate very quickly. Adrian