Launchpad has imported 21 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=30283.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-09-20T15:52:18+00:00 Ian Abbott wrote:

Created attachment 38816
udisks --dump

I'm using Gentoo's udisks-1.0.1-r2, which is effectively udisks-1.0.1
plus the "Update to latest LVM2 API" patch (commit
2b2fcf80841972b70ad695a5a1ed74487d4fd37a) and the "Fix long hangs on
probing nonexistant floppy drives" patch (commit
ca93d4e2d9e7f483b2fde1725da086e2cca44164). The problem is with the
latter patch.

If udisks-daemon is running, then after using the 'mount' command to
mount a filesystem on an inserted floppy disk, the mount succeeds, but
immediately afterwards, udisks-daemon steps in and forcibly unmounts it
again! The problem seems to be due to the handling of media change
notification. The "Fix long hangs on probing nonexistant floppy drives"
patch modifies update_info() in "src/device.c" so that the
device_is_media_available flag is always set to FALSE for a (removable)
floppy drive. Consequently, the file system gets forcibly unmounted
because udisks-daemon thinks the mounted medium has gone away!

Mounting the floppy with the 'udisks --mount' command works, but it
ought to be possible to use the regular 'mount' command.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/265

------------------------------------------------------------------------
On 2010-09-20T15:54:20+00:00 Ian Abbott wrote:

Created attachment 38817
udevadm info --export-db

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/266

------------------------------------------------------------------------
On 2010-09-20T15:57:47+00:00 Ian Abbott wrote:

Created attachment 38818
udevadm info --export-db

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/267

------------------------------------------------------------------------
On 2010-09-20T16:02:18+00:00 Ian Abbott wrote:

Created attachment 38821
/proc/self/mountinfo

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/268

------------------------------------------------------------------------
On 2010-09-20T16:03:42+00:00 Ian Abbott wrote:

Created attachment 38822
/proc/self/mountinfo

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/269

------------------------------------------------------------------------
On 2010-09-20T16:06:17+00:00 Ian Abbott wrote:

Created attachment 38823
udevadm info --export-d

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/270

------------------------------------------------------------------------
On 2010-09-20T16:07:31+00:00 Ian Abbott wrote:

Created attachment 38824
/etc/fstab

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/271

------------------------------------------------------------------------
On 2010-09-20T16:10:55+00:00 Ian Abbott wrote:

Versions:

udisks-1.0.1 plus "Update to latest LVM2 API" and "Fix long hangs on
probing nonexistant floppy drives" patches (commits
2b2fcf80841972b70ad695a5a1ed74487d4fd37a and
ca93d4e2d9e7f483b2fde1725da086e2cca44164).

gvfs-1.6.3

libatasmart-0.17

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/272

------------------------------------------------------------------------
On 2010-09-20T16:15:51+00:00 Ian Abbott wrote:

Created attachment 38825
Output of 'udisks --monitor-detail' while mounting floppy

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/273

------------------------------------------------------------------------
On 2010-09-20T16:18:11+00:00 Ian Abbott wrote:

'gvfs-mount -oi' didn't capture anything.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/274

------------------------------------------------------------------------
On 2010-09-20T16:20:57+00:00 Ian Abbott wrote:

'udevadm monitor --udev --property' (as root) didn't capture anything
useful, just the following...

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/275

------------------------------------------------------------------------
On 2010-09-20T16:25:22+00:00 Ian Abbott wrote:

(Sorry for all the obsoleted attachments. Firefox was playing silly
buggers and attaching the file above the one I selected.)

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/276

------------------------------------------------------------------------
On 2010-10-25T05:44:52+00:00 Atlant wrote:

Created attachment 39751
simple patch

plz, test this patch !

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/288

------------------------------------------------------------------------
On 2010-10-25T09:25:49+00:00 Ian Abbott wrote:

(In reply to comment #12)
> Created an attachment (id=39751) [details]
> simple patch
> 
> plz, test this patch !

I'm sure that would work as it revokes commit
2b2fcf80841972b70ad695a5a1ed74487d4fd37a ("Fix long hangs on probing
nonexistant floppy drives"), but then a less crude fix for the "long
hangs probing" problem would be required.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/291

------------------------------------------------------------------------
On 2010-10-25T09:42:53+00:00 Ian Abbott wrote:

(In reply to comment #13)
> (In reply to comment #12)
> > Created an attachment (id=39751) [details] [details]
> > simple patch
> > 
> > plz, test this patch !
> 
> I'm sure that would work as it revokes commit
> 2b2fcf80841972b70ad695a5a1ed74487d4fd37a ("Fix long hangs on probing
> nonexistant floppy drives"), but then a less crude fix for the "long hangs
> probing" problem would be required.

Sorry, my mistake, Atlant!  My above comment is wrong.  I'll try your
patch.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/292

------------------------------------------------------------------------
On 2010-10-25T14:31:34+00:00 Ian Abbott wrote:

Created attachment 39761
'udisks --monitor-detail' with Atlant's patch

(In reply to comment #12)
> Created an attachment (id=39751) [details]
> simple patch
> 
> plz, test this patch !

I've tested your patch and it works for me!  I've attached the output of
'udisks --monitor-detail' with udisks-daemon running (compiled from git
head plus your patch (id=39751)).  The output is a result of a 'mount
/mnt/floppy' command, where /mnt/floppy is listed as the mount point of
/dev/fd0 in my /etc/fstab file:

/dev/fd0 /mnt/floppy auto noauto,user 0 0

The floppy was mounted successfully and no longer forcibly unmounted by
udisks-daemon immediately after.  I could also unmount the floppy and
mount it again with no problems.


I don't know what effect your patch has on the "long hangs on probing 
nonexistant floppy drives" fix as I couldn't reproduce the problem on a stock 
udisks-1.0.1 installation on my system even when the floppy drive was unplugged 
from its controller.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/293

------------------------------------------------------------------------
On 2010-10-26T12:39:09+00:00 Atlant wrote:

(In reply to comment #15)
> I don't know what effect your patch has on the "long hangs on probing
> nonexistant floppy drives" fix as I couldn't reproduce the problem on a stock
> udisks-1.0.1 installation on my system even when the floppy drive was 
> unplugged
> from its controller.

The patch against the "long hangs on probing
> nonexistant floppy drives" is already applied in GIT, several lines above my 
> changes

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/294

------------------------------------------------------------------------
On 2010-10-26T12:49:13+00:00 Ian Abbott wrote:

(In reply to comment #16)
> (In reply to comment #15)
> > I don't know what effect your patch has on the "long hangs on probing
> > nonexistant floppy drives" fix as I couldn't reproduce the problem on a 
> > stock
> > udisks-1.0.1 installation on my system even when the floppy drive was 
> > unplugged
> > from its controller.
> 
> The patch against the "long hangs on probing
> nonexistant floppy drives" is already applied in GIT, several lines above my 
> changes

I was just trying to check that your patch didn't regress the "long
hangs" bug as it's in the same function.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/295

------------------------------------------------------------------------
On 2011-01-23T01:55:34+00:00 György Balló wrote:

Atlant's patch works for me also.
What is the current state? Is anybody deal with this bug?

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/324

------------------------------------------------------------------------
On 2011-07-30T18:50:17+00:00 Shoalcreek5 wrote:

I don't think they care or are even aware that the bug is over 2 years
old and still is showing as "NEW" in the bug tracker. It seems their
"poor" developers can't even spend 10 dollars on a floppy drive to test.
(Hell, I'll ship 'em one for free if they'll give me the address and
guarantee that they'll to fix the bug--and I'm an unemployed college
student with two kids and a wife!) The problem is that the developers
think floppies are obsolete, even though there are many items still in
use that require floppies (such as an early 90's, high-end, $4000--
original price--Roland Electronic Piano that reads midi files on a
floppy disk).

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/346

------------------------------------------------------------------------
On 2012-02-03T13:33:36+00:00 northa wrote:

Lots of users still affected by this regression, se bug 441835 at
launchpad for example.

Yes, floppys are an obsolete media, still, users like me, sometimes have
to get data off retro-computers and alike. Sometimes this is the only
way.. Devs,Please have a look a this soon. Thanks.

Reply at: https://bugs.launchpad.net/devicekit/+bug/441835/comments/373

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/441835

Title:
  Clicking on floppy gives "no device media found"

To manage notifications about this bug go to:
https://bugs.launchpad.net/devicekit/+bug/441835/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to