* umount hangs after card removal
@ 2005-07-29 14:53 Steven Scholz
0 siblings, 0 replies; only message in thread
From: Steven Scholz @ 2005-07-29 14:53 UTC (permalink / raw)
To: linux-fsdevel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-29 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-29 14:53 umount hangs after card removal Steven Scholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).