From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752593Ab1GBPMv (ORCPT ); Sat, 2 Jul 2011 11:12:51 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:59121 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751868Ab1GBPMs (ORCPT ); Sat, 2 Jul 2011 11:12:48 -0400 Date: Sat, 2 Jul 2011 17:13:08 +0200 From: Christoph Fritz To: Andi Kleen Cc: Dave Jones , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk, rjw@sisk.pl Subject: Re: Linux 3.0 oopses when pulling a USB CDROM Message-ID: <20110702151308.GA14652@lovely.krouter> References: <20110701170531.GA3693@tassilo.jf.intel.com> <20110701181406.GA1614@redhat.com> <20110701183227.GF23059@one.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110701183227.GF23059@one.firstfloor.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 01, 2011 at 08:32:27PM +0200, Andi Kleen wrote: > On Fri, Jul 01, 2011 at 02:14:06PM -0400, Dave Jones wrote: > > On Fri, Jul 01, 2011 at 10:05:31AM -0700, Andi Kleen wrote: > > > > > I found I can reliably crash a 3.0 system by pulling the > > > USB cable of a mounted USB cdrom (or rather a USB device which > > > has a builtin fake CD-ROM) > > > > > > I suspect it's a regression too. > > > > We've been seeing a lot of similar bugs in Fedora since we pushed > > a 2.6.38.8 update. Some of the traces are different, but some > > I've also seen one with an earlier kernel where the NULL > reference was in elv_.* something. Don't have a written down backtrace > for this, but perhaps you have. Do you mean https://bugzilla.kernel.org/show_bug.cgi?id=38412 ? [..] Process eject (pid: 5846, ti=f5b9a000 task=f5b19a80 task.ti=f5b9a000) Stack: c1198600 c119ac69 00000256 00000000 00000002 c119b2f9 f4eed270 c11a3237 00000000 f5297200 f637e418 00005309 0000005d c11a3378 0000005d 00000000 f5c1b700 00000000 f5c02e00 00000000 f4a2e1f4 f59c0700 c10d1bc3 f53ed001 Call Trace: [] ? elv_put_request+0x10/0x20 [] ? __blk_put_request+0x99/0xc0 [] ? blk_put_request+0x19/0x40 [] ? T.593+0x77/0x90 [] ? scsi_cmd_ioctl+0x128/0x440 [] ? blkdev_get+0x43/0x380 [] ? bd_acquire+0x20/0xd0 [] ? __dentry_open+0x1cd/0x2a0 [] ? nameidata_to_filp+0x70/0x80 [] ? blkdev_get+0x380/0x380 [] ? sd_ioctl+0x82/0xc0 [] ? sd_check_events+0x140/0x140 [] ? __blkdev_driver_ioctl+0x29/0x40 [] ? blkdev_ioctl+0x213/0x7e0 [] ? do_filp_open+0x34/0x90 [] ? block_ioctl+0x35/0x50 [] ? blkdev_get_block+0x50/0x50 [] ? do_vfs_ioctl+0x92/0x610 [] ? do_sys_open+0x16e/0x1c0 [] ? do_sys_open+0x16e/0x1c0 [] ? sys_ioctl+0x3d/0x70 [] ? sysenter_do_call+0x12/0x26 Code: Bad EIP value. EIP: [<2f327473>] 0x2f327473 SS:ESP 0068:f5b9bdb0 CR2: 000000002f327473 ---[ end trace 4877fe842f054f84 ]--- Thanks, -- Christoph