From owner-freebsd-current@FreeBSD.ORG Fri Oct 7 04:30:02 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 407691065670; Fri, 7 Oct 2011 04:30:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1B788FC08; Fri, 7 Oct 2011 04:30:01 +0000 (UTC) Received: by gyf2 with SMTP id 2so4184530gyf.13 for ; Thu, 06 Oct 2011 21:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=24OpHK89h9+uUbigZQeEN9t+Aj7/nEIwsduQzsTo7D4=; b=VfcWDQ0Oh5Nmm05nxeIxDtHiCGNNJS8Z4gHp0UkHI82B2n5O/Q2exgO5dTm3vJ1D4Y Q7pcKRNL2/fsPhPYh0LRLMXooVVJ5yq42ZCLVxIXeGl8mu7nMMThpbDySo2Qm2MPI/Pf P6VS+drz2l2jFKuvEMVw1JwmxSl3aOoi4YFNM= MIME-Version: 1.0 Received: by 10.236.161.10 with SMTP id v10mr7299186yhk.88.1317961801155; Thu, 06 Oct 2011 21:30:01 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.111.42 with HTTP; Thu, 6 Oct 2011 21:30:01 -0700 (PDT) Date: Fri, 7 Oct 2011 12:30:01 +0800 X-Google-Sender-Auth: B-vcMxj5Zyw4S9UBlFofZi3eSNc Message-ID: From: Adrian Chadd To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 Cc: Hans Petter Selasky Subject: 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 04:30:02 -0000 Hi, I've noticed a strange issue with 9.0-BETA3. I haven't tried this on any previous 9.0 installs, I'm sorry, so I don't know when it began. If I'm doing some disk IO (say svn checkout, kernel building, watching a movie) on a USB device, whilst adding/removing non-storage USB devices (specifically here, unsupported wifi devices so I can get their device/vendor IDs), I reliably see failed read/write IO transactions. This ends up causing an eventual panic. 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.) Thanks, Adrian