Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757302Ab1DOVlr (ORCPT ); Fri, 15 Apr 2011 17:41:47 -0400 Received: from silver.sucs.swan.ac.uk ([137.44.10.1]:58442 "EHLO silver.sucs.swan.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757077Ab1DOVlq (ORCPT ); Fri, 15 Apr 2011 17:41:46 -0400 Date: Fri, 15 Apr 2011 22:41:40 +0100 From: Sitsofe Wheeler To: Tejun Heo Cc: Jens Axboe , linux-kernel@vger.kernel.org Subject: Re: WARNING: at block/genhd.c:1556 disk_clear_events+0xdc/0xf0() Message-ID: <20110415214140.GB1295@sucs.org> References: <20110404211604.GB6133@sucs.org> <20110406130423.GE4142@mtj.dyndns.org> <20110406212611.GA5131@sucs.org> <20110406213718.GA14139@mtj.dyndns.org> <20110409093449.GA10016@sucs.org> <20110410145920.GA3408@sucs.org> <20110413200000.GG3987@mtj.dyndns.org> <20110415090118.GA3315@mtj.dyndns.org> <20110415182006.GA15916@mtj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110415182006.GA15916@mtj.dyndns.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1753 Lines: 45 On Sat, Apr 16, 2011 at 03:20:06AM +0900, Tejun Heo wrote: > Please try the following patch instead. Thanks. I couldn't reproduce the problem with the very latest kernel but here's the output that appeared with an older kernel with your patch: ------------[ cut here ]------------ WARNING: at block/genhd.c:1561 disk_clear_events+0x164/0x170() Hardware name: 900 Pid: 10200, comm: blkid Not tainted 2.6.39-rc1-00220-g148086b-dirty #407 Call Trace: [] warn_slowpath_common+0x68/0xa0 [] ? disk_clear_events+0x164/0x170 [] ? disk_clear_events+0x164/0x170 [] warn_slowpath_null+0x1b/0x20 [] disk_clear_events+0x164/0x170 [] check_disk_change+0x25/0x70 [] sd_open+0x97/0x180 [] ? sd_release+0x60/0x60 [] __blkdev_get+0x265/0x310 [] ? bdget+0x37/0x100 [] __blkdev_get+0x1cd/0x310 [] blkdev_get+0x46/0x2c0 [] ? _raw_spin_unlock+0x1d/0x20 [] blkdev_open+0x55/0x70 [] __dentry_open+0x112/0x290 [] nameidata_to_filp+0x66/0x70 [] ? blkdev_get+0x2c0/0x2c0 [] do_last+0x19d/0x770 [] path_openat+0x90/0x310 [] do_filp_open+0x5d/0x80 [] ? _raw_spin_unlock+0x1d/0x20 [] ? alloc_fd+0x164/0x1b0 [] do_sys_open+0xf1/0x1c0 [] sys_open+0x29/0x40 [] sysenter_do_call+0x12/0x36 ---[ end trace e94a40ecc7f65c23 ]--- -- Sitsofe | http://sucs.org/~sits/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/