From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: Linux 3.0 oopses when pulling a USB CDROM Date: Sat, 2 Jul 2011 20:10:08 +0200 Message-ID: <20110702181008.GL23059@one.firstfloor.org> References: <20110702060846.GH23059@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alan Stern Cc: Andi Kleen , James Bottomley , Dave Jones , linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org, rjw-KKrjLPT3xs0@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-scsi@vger.kernel.org On Sat, Jul 02, 2011 at 08:38:20AM -0400, Alan Stern wrote: > On Sat, 2 Jul 2011, Andi Kleen wrote: > > > > I'm not able to reproduce it on a vanilla 3.0-rc5 system. Can anybody > > > give the exact sequence of steps you went through to trigger the bug? > > > > Connect USB storage device with builtin fake CD rom. Wait for udisk > > to mount it. Pull cable. udisk does umount. Oops. > > > > I also got a log of the refcounting now if you want it. > > Yes, please. The excerpt that James posted isn't enough. In > particular, it doesn't show what happens during device creation. http://halobates.de/tmp/usb-pull-oops-ref -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755467Ab1GBSKQ (ORCPT ); Sat, 2 Jul 2011 14:10:16 -0400 Received: from one.firstfloor.org ([213.235.205.2]:52289 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753104Ab1GBSKO (ORCPT ); Sat, 2 Jul 2011 14:10:14 -0400 Date: Sat, 2 Jul 2011 20:10:08 +0200 From: Andi Kleen To: Alan Stern Cc: Andi Kleen , James Bottomley , Dave Jones , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk, rjw@sisk.pl, linux-usb@vger.kernel.org Subject: Re: Linux 3.0 oopses when pulling a USB CDROM Message-ID: <20110702181008.GL23059@one.firstfloor.org> References: <20110702060846.GH23059@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 02, 2011 at 08:38:20AM -0400, Alan Stern wrote: > On Sat, 2 Jul 2011, Andi Kleen wrote: > > > > I'm not able to reproduce it on a vanilla 3.0-rc5 system. Can anybody > > > give the exact sequence of steps you went through to trigger the bug? > > > > Connect USB storage device with builtin fake CD rom. Wait for udisk > > to mount it. Pull cable. udisk does umount. Oops. > > > > I also got a log of the refcounting now if you want it. > > Yes, please. The excerpt that James posted isn't enough. In > particular, it doesn't show what happens during device creation. http://halobates.de/tmp/usb-pull-oops-ref -Andi