[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#645366: linux-image-3.1.0-rc7-amd64: suspend fails with process waiting for IO on unmounted drive



On Sat, Oct 15, 2011 at 05:25:26AM +0100, Ben Hutchings wrote:
> On Fri, 2011-10-14 at 22:52 +0000, brian m. carlson wrote:
> I don't understand why SIGINT would be delivered to ssh rather than to
> afio.

Well, sshfs, not just ssh.  afio is running under a shell script called
tob (from the package of the same name).  tob sets up the mount using:

  PRECMD='klist -5s || kinit bmc; sshfs bmc@castro:/media/backup/ /media/backup'

When I hit Ctrl-C, something got sent SIGINT and tob cleaned itself up;
part of the cleanup routine is to unmount the filesystem:

  POSTCMD='fusermount -u -z /media/backup'

The command is called from a trap command in the shell script I believe.
I'm not sure which program actually received the SIGINT itself, but
/media/backup was eventually unmounted.

> > * aborting disk IO requests when the underlying device disappears;
> [...]
> 
> I believe this should have happened.

Great.  If the kernel were fixed so that happened, that would be
satisfactory.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: