Re: Kernel bug with btrfs on laptop with external hd and suspend andresume.

From: Chris Mason
Date: Fri Feb 17 2012 - 08:35:13 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/