Bug#316579: fam: compact flash card destroyed

2005-07-10 Thread Chuan-kai Lin
On Sat, Jul 09, 2005 at 04:12:29PM -0600, Jamin W. Collins wrote:
> I'm fairly certain the version of fam that was installed was 2.7.0-6
> as that's the version that still has an entry in /var/lib/dpkg/status:

That settles the question then.  I will prepare an upload to sarge with
the #234787 patch.

-- 
Chuan-kai Lin
http://www.cs.pdx.edu/~cklin/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316579: fam: compact flash card destroyed

2005-07-09 Thread Jamin W . Collins

On Jul 9, 2005, at 3:04 AM, Steve Langasek wrote:


On Fri, Jul 08, 2005 at 04:18:28PM -0700, Chuan-kai Lin wrote:


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?


The system in question was following testing up until sarge's release.  
At that time the apt/preferences file on it was updated so that stable 
(sarge) should take precedence:


$ cat /etc/apt/preferences
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 400

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian
Pin-Priority: -1

I'm fairly certain the version of fam that was installed was 2.7.0-6 as 
that's the version that still has an entry in /var/lib/dpkg/status:


$ apt-cache policy fam
fam:
  Installed: (none)
  Candidate: 2.7.0-6
  Version Table:
 2.7.0-7 0
400 ftp://forseti testing/main Packages
300 ftp://forseti unstable/main Packages
 2.7.0-6 0
900 ftp://forseti stable/main Packages
100 /var/lib/dpkg/status

--
Jamin W. Collins



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316579: fam: compact flash card destroyed

2005-07-08 Thread Chuan-kai Lin
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.

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.  fam is quite a mess with
unresponsive upstream, and it would not surprise me that there are other
bugs lurking in the program.  Here is my take on what should happen:

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.

-- 
Chuan-kai Lin
http://www.cs.pdx.edu/~cklin/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316579: fam: compact flash card destroyed

2005-07-07 Thread Steve Langasek
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?

-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Bug#316579: fam: compact flash card destroyed

2005-07-01 Thread Jamin W. Collins
Package: fam
Severity: critical
Justification: causes serious data loss

Fam was installed via dependancies of the gnome virtual package.  Since
it was running it appears to have kept an open handle on one of my
compact flash cards when it was attached to the system and thus it was
inadvertantly removed without completely unmounting.  The unmount
command was issued via right-click on the gnome desktop media icon and
appeared to have complete successfully (icon no longer on the desktop).
However, the media is now completely and utterly unusable in any system
as all report that it does not have a partition table and it is
impossible to partition the media (all attempts on both Linux and Mac OS
X fail).

I've had numerous problems with fam locking removable media incorrectly
(as have others judging by the reports).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages fam depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1 1:3.4.3-13   GCC support library
ii  libstdc++5  1:3.3.5-13   The GNU Standard C++ Library v3
ii  portmap 5-9  The RPC portmapper


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]