From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Subject: umount hangs after card removal Date: Fri, 29 Jul 2005 16:53:00 +0200 Message-ID: <42EA42CC.10505@imc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.imc-berlin.de ([217.110.46.186]:54031 "EHLO mail.imc-berlin.de") by vger.kernel.org with ESMTP id S262607AbVG2OxF (ORCPT ); Fri, 29 Jul 2005 10:53:05 -0400 Received: from mailserver.berlin.imc-berlin.de (mailserver.berlin.imc-berlin.de [10.0.0.19]) by mail.imc-berlin.de (Postfix) with ESMTP id 125B62F016 for ; Fri, 29 Jul 2005 16:53:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailserver.berlin.imc-berlin.de (Postfix) with ESMTP id 0809612157 for ; Fri, 29 Jul 2005 16:53:02 +0200 (CEST) Received: from [10.0.2.10] (scholz.berlin.imc-berlin.de [10.0.2.10]) by mailserver.berlin.imc-berlin.de (Postfix) with ESMTP id 2CD981203F for ; Fri, 29 Jul 2005 16:53:01 +0200 (CEST) To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi there, hope this is the correct mailing list. With 2.6.13-rc4 I see the following behaviour: I unplug a mounted compact flash drive (without unmounting it before!) The ide interface disappears but the partition stays mounted. When I then try to umount the directory umount will hang. As far as I tracked it the following happens: ~ # cardctl eject cardmgr[227]: shutting down socket 0 cardmgr[227]: executing: './ide stop hda' cardmgr[227]: executing: 'modprobe -r ide-cs' ~ # umount /mnt/pcmcia/ sys_umount(496) path_release_on_umount(318) __mntput(180) deactivate_super(176) generic_shutdown_super(254) calling sop->put_super @ c00ac7c8 fat_put_super(363) fat_clusters_flush(49) __bread_slow(1311) __wait_on_buffer(91) wait_on_bit(&bh->b_state, BH_Lock, sync_buffer, TASK_UNINTERRUPTIBLE); How could one avoid this? Who's responsible to tell the FS part that the block device disapperead? -- Steven