Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051Ab0LWQKV (ORCPT ); Thu, 23 Dec 2010 11:10:21 -0500 Received: from cantor.suse.de ([195.135.220.2]:60727 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751710Ab0LWQKU (ORCPT ); Thu, 23 Dec 2010 11:10:20 -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: <20101223155239.GB18482@htj.dyndns.org> References: <1293038823.3019.89.camel@mulgrave.site> <1293078673.3019.765.camel@mulgrave.site> <20101223100956.GA15625@htj.dyndns.org> <1293118041.3029.3.camel@mulgrave.site> <20101223155239.GB18482@htj.dyndns.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 23 Dec 2010 10:10:14 -0600 Message-ID: <1293120614.7776.0.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: 1874 Lines: 49 On Thu, 2010-12-23 at 16:52 +0100, Tejun Heo wrote: > Hey, > > On Thu, Dec 23, 2010 at 09:27:21AM -0600, James Bottomley wrote: > > > 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: > > Hmmm... That's unfortunate. > > > /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 > > Can you please apply the debug patch I posted in the other message and > post the boot log? Let's see how the partition read is failing. That's actually a red herring ... the disk isn't spinning up, so the partition read is getting a not ready. 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/