On Fri, Jul 08, 2005 at 04:18:28PM -0700, Chuan-kai Lin wrote: > On Thu, Jul 07, 2005 at 02:30:10AM -0700, Steve Langasek wrote: > > AIUI, this bug is the same as bug #234787. Is that correct? If so, > > this bug is now sarge-only. Are there any plans to apply that fix for > > sarge?
> There seems to be at least two problems here: one is that fam did not > stop monitoring the mounted CF card before the unmount, and the other is > that Gnome desktop incorrectly reported the CF card as being unmounted. > The first problem could be the same one as in #234787, but the second > sounds really like a Gnome bug. Ok. Do you have any plans to offer a fix for #234787 for sarge? This seems like a significant issue that it would be a very good idea to have fixed in the next point release. I agree that it sounds like there's also a GNOME bug here. I don't know which package that belongs to. > There is no package version number in the bug report, but it does look > like the submitter is using testing/unstable, which means his fam > program has already been patched for #234787. There's no guarantee of that; he may have still been running the version that released with sarge. Jamin, can you please confirm? > For the short term, getting the Gnome folks to migrate to gamin (a > drop-in replacement of fam) may be the best choice. According to the > author of gamin, not supporting FAMSuspendMonitor(), FAMResumeMonitor(), > and FAMMonitorCollection() simplifies system design quite a bit, so > gamin should be less buggy than fam. > For the long term, we need to solve the "monitoring interferes with > unmounting" problem at a more fundamental level; otherwise something > will always go wrong and prevent unmounting. Unfortunately this > interference is the result of limitations of the kernel dnotify API, and > the problem can be completely solved only with the new ionotify API, > which has not been accepted into the Linux kernel yet. gamin supports > ionotify in patched kernels, but fam only understands dnotify. > To summarize, we are kind of screwed, because there is not much we can > do to help the poor users. In any case, I will start talking to the > Gnome team about the migration to gamin. Ok. There have been some problems with gamin, including problems where gamin was *not* ABI compatible with fam; IIRC, this was the reason gamin didn't ship with sarge. Hopefully, these will be sorted out so that we can get a smooth transition. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature