Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752880Ab0LWP12 (ORCPT ); Thu, 23 Dec 2010 10:27:28 -0500 Received: from cantor.suse.de ([195.135.220.2]:59673 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752277Ab0LWP11 (ORCPT ); Thu, 23 Dec 2010 10:27:27 -0500 Subject: Re: Boot failure with block/for-next From: James Bottomley To: Tejun Heo Cc: Jens Axboe , linux-scsi , linux-kernel In-Reply-To: <20101223100956.GA15625@htj.dyndns.org> References: <1293038823.3019.89.camel@mulgrave.site> <1293078673.3019.765.camel@mulgrave.site> <20101223100956.GA15625@htj.dyndns.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 23 Dec 2010 09:27:21 -0600 Message-ID: <1293118041.3029.3.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1785 Lines: 52 On Thu, 2010-12-23 at 11:09 +0100, Tejun Heo wrote: > Hello, James. > > On Wed, Dec 22, 2010 at 10:31:13PM -0600, James Bottomley wrote: > > Actually, surprisingly, bisection confirms it's this patch: > > > > Author: Tejun Heo > > Date: Wed Dec 8 20:57:42 2010 +0100 > > > > sd: implement sd_check_events() > > > > I can't quite see how yet. > > Does the following patch fix the problem? Thanks. > > Subject: sd: don't clear media presence unless it's removable No, still the same failure. Here's an excised log of an unsuccessful and successful disk probe: /bin/sh: can't access tty; job control turned off (initramfs) dmesg|grep sda sd 2:0:1:0: [sda] 71132960 512-byte logical blocks: (36.4 GB/33.9 GiB) sd 2:0:1:0: [sda] Write Protect is off sd 2:0:1:0: [sda] Mode Sense: d3 00 10 08 sd 2:0:1:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA device: 'sda': device_add PM: Adding info for No Bus:sda sda: unable to read partition table sd 2:0:1:0: [sda] Attached SCSI disk (initramfs) dmesg|grep sdb sd 2:0:2:0: [sdb] 17942584 512-byte logical blocks: (9.18 GB/8.55 GiB) sd 2:0:2:0: [sdb] Write Protect is off sd 2:0:2:0: [sdb] Mode Sense: e3 00 10 08 sd 2:0:2:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA device: 'sdb': device_add PM: Adding info for No Bus:sdb sdb: sdb1 sdb2 device: 'sdb1': device_add PM: Adding info for No Bus:sdb1 device: 'sdb2': device_add PM: Adding info for No Bus:sdb2 sd 2:0:2:0: [sdb] Attached SCSI disk James -- 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/