Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526Ab2BQNfL (ORCPT ); Fri, 17 Feb 2012 08:35:11 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:20677 "EHLO acsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865Ab2BQNfJ (ORCPT ); Fri, 17 Feb 2012 08:35:09 -0500 Date: Fri, 17 Feb 2012 08:34:56 -0500 From: Chris Mason To: "Nathan A. Mourey II" Cc: Linux Kernel Mailing List , "Srivatsa S. Bhat" , Linux PM mailing list , "Rafael J. Wysocki" , linux-fsdevel@vger.kernel.org Subject: Re: Kernel bug with btrfs on laptop with external hd and suspend and resume. Message-ID: <20120217133456.GG21896@shiny> Mail-Followup-To: Chris Mason , "Nathan A. Mourey II" , Linux Kernel Mailing List , "Srivatsa S. Bhat" , Linux PM mailing list , "Rafael J. Wysocki" , linux-fsdevel@vger.kernel.org References: <1328990690.2464.6.camel@firefly> <4F391B83.7080703@linux.vnet.ibm.com> <20120213144107.GC1573@shiny> <1329428930.6062.4.camel@firefly> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1329428930.6062.4.camel@firefly> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4F3E5785.0174,ss=1,re=0.000,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2002 Lines: 31 On Thu, Feb 16, 2012 at 04:48:50PM -0500, Nathan A. Mourey II wrote: > I booted up my laptop with my eSATA drives attached and mounted. I then > closed the lid without logging in. It then when to sleep mode. I was > wrong in my first post about the computer suspending. It didn't suspend > to disk, as I would have noticed the hd light. The drives where not > unplugged at any time. It looks like the problem occurred when trying > to stop the disks. I was able to do a hard reboot and the disk came up > fine. Once again I hope that this helps. > > > Feb 14 14:46:39 firefly kernel: [ 96.374559] Restarting tasks ... > Feb 14 14:46:39 firefly kernel: [ 96.375986] XFS (sdb1): xfs_do_force_shutdown(0x1) called from line 1033 of file fs/xfs/xfs_buf.c. Return address = 0xffffffffa05f18ba > Feb 14 14:46:39 firefly kernel: [ 96.375993] XFS (sdb1): I/O Error Detected. Shutting down filesystem > Feb 14 14:46:39 firefly kernel: [ 96.376017] XFS (sdb1): Please umount the filesystem and rectify the problem(s) > Feb 14 14:46:39 firefly kernel: [ 96.384244] sd 4:0:0:0: [sdb] Synchronizing SCSI cache > Feb 14 14:46:39 firefly kernel: [ 96.384280] sd 4:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK > Feb 14 14:46:39 firefly kernel: [ 96.384284] sd 4:0:0:0: [sdb] Stopping disk > Feb 14 14:46:39 firefly kernel: [ 96.384291] sd 4:0:0:0: [sdb] START_STOP FAILED > Feb 14 14:46:39 firefly kernel: [ 96.384293] sd 4:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK These messages look like the drive wasn't up and running when the filesystem tried to talk with it. Both XFS and btrfs are having trouble (some more gracefully than others) so this should be a problem in the resume code. -chris -- 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/