lkml.org 
[lkml]   [2011]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [Bug 25832] kernel crashes when a mounted ext3/4 file system is physically removed
On Thu, 22 Sep 2011, Rocko Requin wrote:

> > Rocko:
> >
> > Can you try testing this patch instead of all the patches I sent to
> > you (but keep Ted's patch)?
> >
> > Alan Stern
> >
>
> The simpler patch (in conjunction with Ted's patch) does stop the
> crashes. I get the same results as before: no kernel crashes
> (marvellous!), but the script's attempt to umount fails. I can then
> manually umount afterwards.

That sounds like a problem in the ext4 unmount implementation. Ted
should be able to help track it down.

What happens if you change your script to try two unmounts in a row?
In theory, the second should work like your manual unmount.

> Are these patches likely to be backported to the 3.0 kernel?

Yes, I should think so. The ext4/ext3 patches may be ported even
farther back.

Alan Stern



\
 
 \ /
  Last update: 2011-09-23 17:21    [W:0.350 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site