Clicking on floppy gives "no device media found"

Bug #441835 reported by Antec
574
This bug affects 122 people
Affects Status Importance Assigned to Milestone
Linux
Invalid
Undecided
Unassigned
gvfs
Unknown
Medium
obsolete
Fix Released
Medium
udev
Invalid
Undecided
Unassigned
udisks
Invalid
Medium
devicekit-disks (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Maverick by Chris Parker
Karmic
Won't Fix
Medium
Ben Clevers
Lucid
Invalid
Medium
Unassigned
linux (Ubuntu)
Invalid
Medium
Andy Whitcroft
Nominated for Maverick by Chris Parker
Karmic
Invalid
Undecided
Unassigned
Lucid
Invalid
Medium
Andy Whitcroft
udisks (Arch Linux)
New
Undecided
Unassigned
udisks (Debian)
Fix Released
Unknown
udisks (Ubuntu)
Triaged
High
Unassigned
Nominated for Maverick by Chris Parker
Karmic
Invalid
High
Unassigned
Lucid
Won't Fix
High
Unassigned

Bug Description

In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-disks, and gvfs. However, when clicking on the floppy icon in GNOME, you get a "no medium found" error.

Remote reproducer: gvfs-mount -li

 - When you just start that with no other processes running, you get a correct "volume" for /dev/fd0 ("floppy0").
 - When you start it through dbus-launch, you get a floppy0 "drive" instead, and no volume

Related branches

Revision history for this message
Antec (info-janmob) wrote :
Revision history for this message
In , Zeuthen (zeuthen) wrote :

In bug 23309 we disabled partition table probing for floppy devices.

Unfortunately, the partition table prober is also used for determining if media is inserted by setting DKD_MEDIA_AVAILABLE.

So media detection on floppies is now broken.

We should move that detection elsewhere.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

Hello, was it working in Jaunty?

Revision history for this message
FGTR4738 (knyuf56) wrote :

Yes, for me it was working perfectly in Jaunty. On the systems here as soon as I upgraded to Karmic it no longer worked from the pull down menus "Places." We're simply working around it by /media$ mount floppy

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

== Regression details ==
Discovered in version: Karmic Koala 9.10
Last known good version: Jaunty Jackalope 9.04

tags: added: regression-release
Revision history for this message
wraithmonk (geoffitton-deactivatedaccount) wrote :

Having the same problem in Kubuntu 9.10. 64-bit. Tried to format with Kfloppy 4.3.0, KDE 4.3.3, but I the message "Internal error: device not correctly defined".

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working (Ubuntu 9.10)

wraithmonk wrote:
> Having the same problem in Kubuntu 9.10. 64-bit. Tried to format with
> Kfloppy 4.3.0, KDE 4.3.3, but I the message "Internal error: device not
> correctly defined".
>
>
I fwd this to Sergio, one of the experts at Ubuntu bugs who is working a
solution to this problem as while it is in two distros, I think it is
the same basic problem, and oversight on IDE or internal floppy perhaps
brought about by usb external floppies and many of he new small netbooks
not having a floppy..... That would be a guess on part...

Revision history for this message
Francisco Cabañas (fxc) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

I can reproduce the bug in 9.10 with a fresh install AMD 64bit and also on another system 32bit after upgrading from 9.04. In both cases this is with an internal 3.5in 1.44 floppy formatted MS-DOS

One can mount the floppy by using the command:
sudo mount /dev/fd0 /media/floppy0 -o umask=000

I also tried changing the floppy line in /etc/fstab to:
/dev/fd0 /media/floppy0 vfat defaults,users,noauto,umask=000 0 2
and it was no help. This is the same as for a working 9.04 system

Revision history for this message
Antec (info-janmob) wrote :

I wonder if grub2 boot-reloader miss floppy module in the right way already on boot? And i don't see the floppy at all in /etc/fstab or /etc/mtab, but the green diod on yhe floppy blink when the computer boot.

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working (Ubuntu 9.10)

Antec wrote:
> I wonder if grub2 boot-reloader miss floppy module in the right way
> already on boot? And i don't see the floppy at all in /etc/fstab or
> /etc/mtab, but the green diod on yhe floppy blink when the computer
> boot.
>
>
I don't know what the developers did on this one. I sent in the bug
report. From what I can tell they just left out the software that makes
a internal floppy work. Someone at Ubuntu wrote: that internal floppy's
are "rare" clearly they must having been thinking 10" notebook and USB
and not about the hundreds of millions of computers that still have and
use a floppy. Even if the "floppy" is added into fstab and modules it
still does not work. The expert at first started out on it, but I think
he gave up, and for us we are not going to upgrade to 9.10 and will keep
using 8.10 and 9.04. (*8.10 works really good and has been flawless)
Hopefully they will put in a fix that will go in an update. I kind of
get the feeling that the reason that 9.10 boots so fast is because it is
not really doing a proper look to see what "plug and play" is in the
system but that is just a guess, one thing for sure they did cut a
corner and that was a floppy. It could be related to IDE but they will
have to figure it out. Everytime I send in another bug on it I get a
letter back about no new bugs so for now I just kind of gave up, as only
one of our computers have the problem with 9.10 the others with 8.04 all
work fine. I guess a lot of people will be changing back to 9.04 or
8.10 if they don't fix it. Millions of people still use floppy.

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

The company i work on have 103 Ubuntu computers and 80 of them are Ubuntu 8.04 LTS the rest is 9.04. We have four to test the new Ubuntu 9.10. If the 9.10 not work properly can we not upgrade any more computers and we must wait and look on next LTS version and test them very hard. OpenSUSE 11,2 have also problems with floppydrive there not working ether .

This code is working like Francisco Canabas wrote but a new floppy module is started between the standard floppy module? In case no other alternative are availability.

sudo mount /dev/fd0 /media/floppy0 -o umask=000

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Giving
gvfs-mount -d /dev/fd0

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Giving
sudo gvfs-mount -d /dev/fd0

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

ls -l /dev/fd0

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

dmesg (after mounting with 'sudo gvfs-mount etc.')

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

udev log

Revision history for this message
Andy Whitcroft (apw) wrote :

As the device is seen by udev and correctly created during the early boot it does not seem to be a bug in the kernel. It may be a permissions issue with the fd drive device as made by udev, or alternatively an issue at a higher level:

  KERNEL[1258912797.217841] add /devices/platform/floppy.0/block/fd0 (block)
  UDEV_LOG=3
  ACTION=add
  DEVPATH=/devices/platform/floppy.0/block/fd0
  SUBSYSTEM=block
  DEVNAME=fd0
  DEVTYPE=disk
  SEQNUM=1006
  MAJOR=2
  MINOR=0

Will add tasks for those levels for confirmation.

Revision history for this message
Andy Whitcroft (apw) wrote :

The device seems to be being detected correctly and udev informed as we do get a /dev/fd0. So it seems either the device does not have appropriate permissions, or the notification not being passed on to higher layers, or indeed those layers may not be taking appropriate action. Therefore adding tasks for udev and for gvfs to see if they can detemine why. Logs are below for the udev components.

Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
status: Triaged → Invalid
Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working (Ubuntu 9.10)

Antec wrote:
> The company i work on have 103 Ubuntu computers and 80 of them are
> Ubuntu 8.04 LTS the rest is 9.04. We have four to test the new Ubuntu
> 9.10. If the 9.10 not work properly can we not upgrade any more
> computers and we must wait and look on next LTS version and test them
> very hard. OpenSUSE 11,2 have also problems with floppydrive there not
> working ether .
>
> This code is working like Francisco Canabas wrote but a new floppy
> module is started between the standard floppy module? In case no other
> alternative are availability.
>
> sudo mount /dev/fd0 /media/floppy0 -o umask=000
>
>
We have 9.04 and 8.04 LTS, did not like 8.10 for some reason I recall it
had prolbems too.
However 9.04 worked fine and I think what we will do is put it back onto
the hard drive with 9.10 and just stop using 9.10 for a while.
Apart from the Open Office versions being different that has not much
effect on functionality as both work fine and I kind of think the older
one that is still using firefox 3.0.15 and google chrome as we kept the
old firefox and did not let it update to 3.5, and it has the new chrome
it kind of seems more stable and faster once it is up and running. So
there is a lot to be said that is good about 8.04 and 9.04. 9.10
otherwise is pretty good, but I think up and running 9.04 is a better
program and 8.04 is far more stable and proven dependable.

Revision history for this message
John (invent-write) wrote :

Andy Whitcroft wrote:
> The device seems to be being detected correctly and udev informed as we
> do get a /dev/fd0. So it seems either the device does not have
> appropriate permissions, or the notification not being passed on to
> higher layers, or indeed those layers may not be taking appropriate
> action. Therefore adding tasks for udev and for gvfs to see if they can
> detemine why. Logs are below for the udev components.
>
> ** Changed in: linux (Ubuntu)
> Status: Triaged => Invalid
>
> ** Changed in: linux (Ubuntu)
> Assignee: (unassigned) => Andy Whitcroft (apw)
>
>
I think the layers that would do something are just not in there to do
it. I think they did USB support and forgot about floppy by ribbon cable
as an internal device.
I think the developers were thinking more NOTEBOOK and less about
desktop and older laptops.

Revision history for this message
John (invent-write) wrote :

Andy Whitcroft wrote:
> As the device is seen by udev and correctly created during the early
> boot it does not seem to be a bug in the kernel. It may be a
> permissions issue with the fd drive device as made by udev, or
> alternatively an issue at a higher level:
>
> KERNEL[1258912797.217841] add /devices/platform/floppy.0/block/fd0 (block)
> UDEV_LOG=3
> ACTION=add
> DEVPATH=/devices/platform/floppy.0/block/fd0
> SUBSYSTEM=block
> DEVNAME=fd0
> DEVTYPE=disk
> SEQNUM=1006
> MAJOR=2
> MINOR=0
>
> Will add tasks for those levels for confirmation.
>
> ** Also affects: gvfs (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Also affects: udev (Ubuntu)
> Importance: Undecided
> Status: New
>
>
What I did not try but it might work is get the program titled "floppy"
out of the older 9.04 repository and see if it will load in 9.10 As
9.10 does not have that in it's repository, and the previous versions did.

Changed in gvfs (Ubuntu):
importance: Undecided → Medium
Changed in udev (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

The attached udev log shows that a device was created

Changed in udev (Ubuntu):
status: New → Invalid
Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working (Ubuntu 9.10)

Scott James Remnant wrote:
> The attached udev log shows that a device was created
>
> ** Changed in: udev (Ubuntu)
> Status: New => Invalid
>
>
I don't know anything about how it was made, I just know it don't work,
so we will keep using older versions until it is fixed on the rest of
the computers and at some point be adding an older version to this one
so the floppy can be used. The necessary software to use or read a
floppy is not in Ubuntu 9.10.

Revision history for this message
John (invent-write) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

They just left out the necessary software that is needed to utilize an internal floppy and until it is fixed we will just keep using older versions that do work. I don't think it is a bug, I think it is an oversight that was just left out, by people thinking small notebook and USB and not about the millions of laptops and desktops that do have internal FLOPPY. Someone just has to go back, add that in and then let it go out in an update.

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

I just want to comment, that my floppy drive works well in an updated version of 9.04 to 9.10, but it does not work from the common GUI interface.

See my description in Bug #485684

Revision history for this message
Sebastien Bacher (seb128) wrote :

the duplicate bug mentioned in recent comments indicate the devicekit-disks interface has issues with the floppy drive too, seems rather a bug in devicekit-disks there

affects: gvfs (Ubuntu) → devicekit-disks (Ubuntu)
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

This bug affects Lucid Lynx too.
For more info and logs see duplicate bug #475500.

Could someone open two task against Karmic and Lucid respectively, please?

Due to the fact that this seems to affect a quite large number of users I mark it with "high" importance.
There are countries in which floppy is still a common device and there are still people having old archives in floppies using quite old hardware.
There are also other bug reports I'm investigating into, candidate as duplicate of this one.

Changed in devicekit-disks (Ubuntu):
importance: Medium → High
Revision history for this message
Antec (info-janmob) wrote :

Thanks Sergio Zanchetta, this bugs is in level high and i think so myself.

Revision history for this message
John (invent-write) wrote : Millions still use floppies for text files.

 More and more Linux users are dropping microsoft alltogether and using
Linux as a stand-alone OS and needing basic functions to read and write
files on media such as 'floppy'. For some time Linux has been going from
a secondary OS to a solitary OS in its usage. floppy is an important
function to have, especially with text files and data.

Revision history for this message
FGTR4738 (knyuf56) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

"More and more Linux users are dropping microsoft alltogether and using
Linux as a stand-alone OS and needing basic functions to read and write
files on media such as 'floppy'. For some time Linux has been going from
a secondary OS to a solitary OS in its usage. floppy is an important
function to have, especially with text files and data. (posted by John)."

We have the same situation here in that we use quality cameras that have the floppy disk drive built in... they
are used for quick one-picture shots and using a floppy disk is ideal. The cameras are too expensive an
investment to dump them to use Ubuntu, so, this fix is vital for us too. We agree too, there are millions still
using floppy disks for a host of reasons. It has nothing to do with using the latest equipment, we still
install floppy drives for our specific requirements. They are ideal for short text files and numerous convenient temporary portable archives of information.

Revision history for this message
Martin Pitt (pitti) wrote :

From the udev side, everything seems to be okay. Sergios' dmesg has

[80538.492091] end_request: I/O error, dev fd0, sector 0
[81237.645087] floppy0: data CRC error: track 5, head 0, sector 2, size 2
[81237.845784] floppy0: data CRC error: track 5, head 0, sector 2, size 2

which looks slightly disturbing, but it could be a side-effect of probing.

Can you please do

  devkit-disks --dump > /tmp/dk-disks.txt

and attach /tmp/dk-disks.txt here? After that, please do

  devkit-disks --monitor-detail > /tmp/dk-disks.log

then insert a floppy, try to mount it in GNOME (do you have an icon for it?), then press Control-C, and attach /tmp/dk-disks.log, too.

Changed in devicekit-disks (Ubuntu):
status: New → Incomplete
Revision history for this message
Sergio Zanchetta (primes2h) wrote :
Revision history for this message
Sergio Zanchetta (primes2h) wrote :
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I have a icon for floppy (both in Places and in 'Computer' folder).
There is just one difference, double click from the folder gives me "Unable to mount" "no device media found", clicking on Places->Floppy don't give me any information.
In both cases I get the same log from
devkit-disks --monitor-detail

John Higby (jhhigby)
Changed in linux (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks. So dk-d knows about it, but does not know about the file system on the device.

Does "devkit-disks --mount /dev/fd0" work?

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

So part of the problem would be that 60-persistent-storage.rules doesn't probe for file systems on floppy devices.

I suppose devkit-disks --mount says "Not a mountable file system"?

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Karmic] floppy is not working (Ubuntu 9.10)

Could anyone try this: In /lib/udev/rules.d/60-persistent-storage.rules, change

  KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"

to not have the "fd*" in it, i. e.

  KERNEL=="mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"

Then udev should probe the floppy on the change event initiated by the mount call (dk-disk's DrivePollMedia()).

Revision history for this message
Martin Pitt (pitti) wrote :

Could anyone try this: In /lib/udev/rules.d/60-persistent-storage.rules, change

  KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"

to not have the "fd*" in it, i. e.

  KERNEL=="mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"

Then udev should probe the floppy on the change event initiated by the mount call (dk-disk's DrivePollMedia()).

summary: - [Karmic] floppy is not working (Ubuntu 9.10)
+ [Karmic] floppy is not working
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Karmic] floppy is not working

It shouldn't be retrofitted into the normal persistent storage rules like that, because we don't have media detection for floppies - and you don't want the usual persistent symlinks for them anyway even if they did.

Basically you really just want blkid run on it - if we have a "floppy present" signal from dk-disk, then we could do it on a special "change" rule?

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Giving:
devkit-disks --mount /dev/fd0

it mounts floppy:
Mounted /org/freedesktop/DeviceKit/Disks/devices/fd0 at /media/floppy0

and creates another floppy icon called floppy0 that is browseable.

Revision history for this message
John (invent-write) wrote : Yeah but it does not last after a reboot and it still leaves the problm

Yeah but it does not last after a reboot.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working

Scott James Remnant [2009-11-25 18:42 -0000]:
> It shouldn't be retrofitted into the normal persistent storage rules
> like that

I agree. This is purely for testing, to see what else is missing.

Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Karmic] floppy is not working

I'll try that tomorrow morning and I let you know, I don't have the pc with floppy in this moment.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I mean 'this' morning (00.38 here now) ;)

Revision history for this message
John (invent-write) wrote : The KTTS text to voice program WILL open a Floppy and place the icon on desktop

The KTTS text to voice program WILL open a Floppy and place the icon on
desktop in 9.10

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote : Re: [Karmic] floppy is not working

I will try to see this problem with the computers knowledge:
Logical or idiotic, computers continue to do, what they have been ordered to.
In linux and unix it has been an order, that everything has to be mounted before use and unmounted after use. The computer knows this, and if a floppy disk is removed and replaced with another one without mounting, the computer must consider it a failure of the drive, because the contents in the media has changed without reason. (Floppy drives does not automatically tells the computer, that the media is changed.)
Therefore the computer marks the floppy drive at that position as unreliable, and prohibits the use.
We cannot use the drive at that position, but we can mount and use it in another position, because it might be another drive according the computers knowledge.

I think this explains, what we have experienced, and this might help to find the orders, which could change the knowledge of the computer.

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

I will try to see this problem with the computers knowledge:
Logical or idiotic, computers continue to do, what they have been ordered to.
In linux and unix it has been an order, that everything has to be mounted before use and unmounted after use. The computer knows this, and if a floppy disk is removed and replaced with another one without mounting, the computer must consider it a failure of the drive, because the contents in the media has changed without reason. (Floppy drives does not automatically tells the computer, that the media is changed.)
Therefore the computer marks the floppy drive at that position as unreliable, and prohibits the use.
We cannot use the drive at that position, but we can mount and use it in another position, because it might be another drive according the computers knowledge.

I think this explains, what we have experienced, and this might help to find the orders, which could change the knowledge of the computer.

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

I got an error, when trying to post the comment (do not know why), and therefore posted it again.

Revision history for this message
John (invent-write) wrote : kttsmgr can open the floppy but the OS can't

kttsmgr can open the floppy but the OS can't. How is it that a text to
voice program written for Kubuntu can open a floppy and Ubuntu can't?
Does this 'floppy' problem exist in Kubuntu?

Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Karmic] floppy is not working

I tried changing /lib/udev/rules.d/60-persistent-storage.rules but after reboot nothing changed, unable to mount from GUI and devkit-disks --mount /dev/fd0 mounts floppy.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

If it can help, output of 'blkid -p /dev/fd0' is:

/dev/fd0: SEC_TYPE="msdos" LABEL="PKBACK# 001" VERSION="FAT12" TYPE="vfat" USAGE="filesystem"

Revision history for this message
John (invent-write) wrote : OK, why is it that the program KMOUTH can mount a floppy and the OS can't

OK, why is it that the program KMOUTH can mount a floppy and the OS can't?
Install the program KMOUTH, a voice program, click on the icon under
universal access and it will bring up initial configuration. If you
insert a 'floppy' before this, it will see it and if you click on it, it
will mount it. So why is that? What library is allowing it to do that.

Revision history for this message
John (invent-write) wrote : It will open from the command for speaking text

It will mount and open floppy from the command for speaking text icon.
part of 'kttsd'.

Revision history for this message
John (invent-write) wrote : folder (inode/directory)

folder (inode/directory)
location, on the desktop
The permissions on floppy0 could not be determined

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

This bug it seems very big, it can be very triked to solve it. It's very important to fix this one.

Revision history for this message
Martin Pitt (pitti) wrote :

Sergio,

so your blkid output shows that blkid can detect it, and if you are able to mount it with devkit-disks --mount, then I guess gnome is just confused about the device not having any filesystem in udev (not knowing that it can call FilesystemMount() nevertheless).

Can you confirm this with

  udevadm monitor --udev -e >/tmp/udev.log 2>&1 &
  gvfs-mount -li >/tmp/gvfs.log 2>&1

then do the devkit-disks --mount /dev/fd0 in another terminal, then go back, press Control-C, do "fg", press Control-C atain, and attach /tmp/udev.log and /tmp/gvfs.log? I'm interested whether there is a file system in udev.log after that, and how gvfs responds to that.

Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

Sergio,

so your blkid output shows that blkid can detect it, and if you are able to mount it with devkit-disks --mount, then I guess gnome is just confused about the device not having any filesystem in udev (not knowing that it can call FilesystemMount() nevertheless).

Can you confirm this with

  udevadm monitor --udev -e >/tmp/udev.log 2>&1 &
  gvfs-mount -li >/tmp/gvfs.log 2>&1

then do the devkit-disks --mount /dev/fd0 in another terminal, then go back, press Control-C, do "fg", press Control-C atain, and attach /tmp/udev.log and /tmp/gvfs.log? I'm interested whether there is a file system in udev.log after that, and how gvfs responds to that.

Thanks!

Revision history for this message
Sergio Zanchetta (primes2h) wrote :
Revision history for this message
Sergio Zanchetta (primes2h) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, I meant

  gvfs-mount -oi >/tmp/gvfs.log 2>&1

Can you run that while doing devkit-disks --mount and attach /tmp/gvfs.log?

So it seems that there are zero uevents when trying to mount the device, which explains why the changed udev rule didn't gain anything. Does it work if you keep the changed udev rule, and do

  * insert the floppy
  * sudo udevadm trigger --action=change --sysname-match=fd0

After that, devkit-disks --dump should have a file system info, and GNOME should be able to mount it. Does that work?

Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, I meant

  gvfs-mount -oi >/tmp/gvfs.log 2>&1

Can you run that while doing devkit-disks --mount and attach /tmp/gvfs.log?

So it seems that there are zero uevents when trying to mount the device, which explains why the changed udev rule didn't gain anything. Does it work if you keep the changed udev rule, and do

  * insert the floppy
  * sudo udevadm trigger --action=change --sysname-match=fd0

After that, devkit-disks --dump should have a file system info, and GNOME should be able to mount it. Does that work?

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Here you have.
Just a note:
I gave all previous commands with the modified udev rules file
/lib/udev/rules.d/60-persistent-storage.rules

Is that ok?

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I did
sudo udevadm trigger --action=change --sysname-match=fd0

but nothing happened and giving
devkit-disks --dump
there is still no file system info in floppy section.
Obviously no luck in opening floppy using GNOME.

Revision history for this message
John (invent-write) wrote : Could it be something as simple as...

Could it be something as simple as... it being called "floppy" in some
commands or code and "floppy0" in others that is causing this? As some
KDE programs are able to mount and read it as floppy0 while it still
cannot be read or mounted as floppy?

Revision history for this message
Henry Wertz (hwertz) wrote : Re: [Karmic] floppy is not working

     "Me too". Using Places->either floppy drive, the light blinks for about a second. Places->Computer then selecting a floppy, the light runs for a second then "Unable to mount location -- no media in the drive"
      Yes, "either floppy drive" -- my parents still have some 5.25s around and so they've got one of those dual drives.
     opening a terminal and running "sudo mount /dev/fd0" or "sudo mount /dev/fd1" works just fine, and unmounting via GUI then works too.

Revision history for this message
John (invent-write) wrote : synatx logic issue?

If you install KDE text to voice it will mount and open floppy as floppyO

must be a syntax logic issue in mount....

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

i have ckek the code....

Revision history for this message
Antec (info-janmob) wrote :

Big truble in Ubuntu

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 441835] Could it be something as simple as...

John [2009-11-27 18:31 -0000]:
> Could it be something as simple as... it being called "floppy" in some
> commands or code and "floppy0" in others that is causing this? As some
> KDE programs are able to mount and read it as floppy0 while it still
> cannot be read or mounted as floppy?

KDE is unrelated to that, since in karmic it uses hal. hal does its
own probing thing.

Revision history for this message
John (invent-write) wrote :

if you install the voice to text out of the software center you will see
that kttsd will open floppy...
It is a program written for kubuntu but works on ubuntu, (it has other
bugs but it does open floppy0...

Martin Pitt wrote:
> John [2009-11-27 18:31 -0000]:
>
>> Could it be something as simple as... it being called "floppy" in some
>> commands or code and "floppy0" in others that is causing this? As some
>> KDE programs are able to mount and read it as floppy0 while it still
>> cannot be read or mounted as floppy?
>>
>
> KDE is unrelated to that, since in karmic it uses hal. hal does its
> own probing thing.
>
>

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

It seems to be problem with gnom and kde and the floppy is to be fatal error

Revision history for this message
John (invent-write) wrote : I guess we take more of the systems back to 9.04

I guess we are taking all but one of the 9.10 the systems back to 9.04
until they figure out a fix.
At least the 8.04 LTS people are happy for sticking with what work!

Revision history for this message
KevinM (kevbert1) wrote : Re: [Karmic] floppy is not working

John. 9.04 works fine for me (both 32 and 64 bit), but not 9.10 or 10.04.

Revision history for this message
KevinM (kevbert1) wrote :

9.04 works fine for me (both 32 and 64 bit), but not 9.10 or 10.04.

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working

KevinM wrote:
> John. 9.04 works fine for me (both 32 and 64 bit), but not 9.10 or
> 10.04.
>
>
I agree, 9.04 is better. 8.04 have also worked flawlessly for a long time.

Revision history for this message
John (invent-write) wrote : Problem in the code

Problems in the code,

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote : Re: [Karmic] floppy is not working

Has anyone examined the possibility, that use of floppy from GUI is marked bad, in a way like sectors at a harddisk?

If the OS don't know, that a disk has been unmounted and another one inserted, then the disk looks unreliable, because the data has changed without reason.

Revision history for this message
John (invent-write) wrote : Perhaps an update will correct it, soon.

I don't know if they are even going to fix it?
Many have changed back to older versions on most of their computers.
Perhaps an update will correct it, soon.

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

The floppy problems seems not to be fix in 9,10 or 10,04....sorry.. Ubuntu have to xl problem with Xorg! That problems take all the time...

Revision history for this message
Antec (info-janmob) wrote :

I seems this very confused! It is very laugh people who is don't understand that!

Revision history for this message
John (invent-write) wrote : will canonical fix it?

Will canonical fix it in this version and the next?

Revision history for this message
John (invent-write) wrote : Re: [Karmic] floppy is not working

This needs a high priority/

Revision history for this message
Martin Pitt (pitti) wrote :

OK, I'm afraid none of the logs really help me. I need to get ssh access to a machine with a floppy drive and a floppy inserted, with "admin" privileges. Can someone provide that?

Please install the third key from https://launchpad.net/~pitti/+sshkeys , or send me an encrypted mail with the password.

Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

OK, I'm afraid none of the logs really help me. I need to get ssh access to a machine with a floppy drive and a floppy inserted, with "admin" privileges. Can someone provide that?

Please install the third key from https://launchpad.net/~pitti/+sshkeys , or send me an encrypted mail with the password.

Thanks!

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working

Martin Pitt wrote:
> OK, I'm afraid none of the logs really help me. I need to get ssh access
> to a machine with a floppy drive and a floppy inserted, with "admin"
> privileges. Can someone provide that?
>
> Please install the third key from https://launchpad.net/~pitti/+sshkeys
> , or send me an encrypted mail with the password.
>
> Thanks!
>
Can't do that

Revision history for this message
John (invent-write) wrote : No floppy fix in the most recent updates

None of the latest updates have the fix in it yet.
So I guess they have not added in what they have left out concerning
internal "floppy" or floppy0

Revision history for this message
Kevin Slade (kevin-kiwisoft) wrote : Re: [Karmic] floppy is not working

Looking at /dev on 8.04 I see
brw-rw---- 1 root floppy 2, 0 2009-12-06 18:41 /dev/fd0
brw-r----- 1 root disk 2, 84 2009-12-06 18:41 /dev/fd0u1040
brw-r----- 1 root disk 2, 88 2009-12-06 18:41 /dev/fd0u1120
brw-r----- 1 root disk 2, 28 2009-12-06 18:41 /dev/fd0u1440
brw-r----- 1 root disk 2, 124 2009-12-06 18:41 /dev/fd0u1600
brw-r----- 1 root disk 2, 44 2009-12-06 18:41 /dev/fd0u1680
brw-r----- 1 root disk 2, 60 2009-12-06 18:41 /dev/fd0u1722
brw-r----- 1 root disk 2, 76 2009-12-06 18:41 /dev/fd0u1743
brw-r----- 1 root disk 2, 96 2009-12-06 18:41 /dev/fd0u1760
brw-r----- 1 root disk 2, 116 2009-12-06 18:41 /dev/fd0u1840
brw-r----- 1 root disk 2, 100 2009-12-06 18:41 /dev/fd0u1920
brw-r----- 1 root disk 2, 12 2009-12-06 18:41 /dev/fd0u360
brw-r----- 1 root disk 2, 16 2009-12-06 18:41 /dev/fd0u720
brw-r----- 1 root disk 2, 120 2009-12-06 18:41 /dev/fd0u800
brw-r----- 1 root disk 2, 52 2009-12-06 18:41 /dev/fd0u820
brw-r----- 1 root disk 2, 68 2009-12-06 18:41 /dev/fd0u830

9.04 does not have anything in /dev/fd0*

9.10 has 0nly the following:
lrwxrwxrwx 1 root root 13 2009-12-05 10:02 /dev/fd -> /proc/self/fd
brw-rw---- 1 root floppy 2, 0 2009-12-05 10:02 /dev/fd0

Is it likely that the missing block devices is the cause of the problem?

Revision history for this message
Kevin Slade (kevin-kiwisoft) wrote :

Looking at /dev on 8.04 there are:

brw-rw---- 1 root floppy 2, 0 2009-12-06 18:41 /dev/fd0
brw-r----- 1 root disk 2, 84 2009-12-06 18:41 /dev/fd0u1040
brw-r----- 1 root disk 2, 88 2009-12-06 18:41 /dev/fd0u1120
brw-r----- 1 root disk 2, 28 2009-12-06 18:41 /dev/fd0u1440
brw-r----- 1 root disk 2, 124 2009-12-06 18:41 /dev/fd0u1600
brw-r----- 1 root disk 2, 44 2009-12-06 18:41 /dev/fd0u1680
brw-r----- 1 root disk 2, 60 2009-12-06 18:41 /dev/fd0u1722
brw-r----- 1 root disk 2, 76 2009-12-06 18:41 /dev/fd0u1743
brw-r----- 1 root disk 2, 96 2009-12-06 18:41 /dev/fd0u1760
brw-r----- 1 root disk 2, 116 2009-12-06 18:41 /dev/fd0u1840
brw-r----- 1 root disk 2, 100 2009-12-06 18:41 /dev/fd0u1920
brw-r----- 1 root disk 2, 12 2009-12-06 18:41 /dev/fd0u360
brw-r----- 1 root disk 2, 16 2009-12-06 18:41 /dev/fd0u720
brw-r----- 1 root disk 2, 120 2009-12-06 18:41 /dev/fd0u800
brw-r----- 1 root disk 2, 52 2009-12-06 18:41 /dev/fd0u820
brw-r----- 1 root disk 2, 68 2009-12-06 18:41 /dev/fd0u830

9.04 does not have anything in /dev/fd0*

9.10 has 0nly the following:
lrwxrwxrwx 1 root root 13 2009-12-05 10:02 /dev/fd -> /proc/self/fd
brw-rw---- 1 root floppy 2, 0 2009-12-05 10:02 /dev/fd0

Is it likely that the missing block devices is the cause of the problem?

Revision history for this message
Kevin Slade (kevin-kiwisoft) wrote :

The /dev directory in 9.10 seems to be missing all of the normal block devices that have the associations for the different formats.

Revision history for this message
Kevin Slade (kevin-kiwisoft) wrote :
  • t.t Edit (1.2 KiB, application/x-troff)
Revision history for this message
Antec (info-janmob) wrote :

This bugs is seams to affect both Karmic and Lucid! So I hope this can be fixed!

Revision history for this message
John (invent-write) wrote : So the development team forgot to include it?

So the development team forgot to include it?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Karmic] floppy is not working

The rule to create those devices is still there, it must be failing to work.

Revision history for this message
Antec (info-janmob) wrote :

What is this help and fixit!!! If this is Lusid and carmic problem!!!!

Revision history for this message
Antec (info-janmob) wrote :

It is a problem to big? I don't sink that

Revision history for this message
Antec (info-janmob) wrote :

It is a problem to big? I don't sink that If you don't listen? It I a big problem

Revision history for this message
Antec (info-janmob) wrote :

I work and my job take all migh time...but the ubuntu problrm is big....

Revision history for this message
Antec (info-janmob) wrote :

Det är förbannat självklart att det här ska fixas annars är det rent av åt helvete...En disketstation att den inte funkar i ett modernt system är ren av åt helvete!!! Nu har jag sagt det!!!!

Revision history for this message
Antec (info-janmob) wrote :

!t seams them have 59 days to fix this bug....We people can see that we have those wrong system!!!

Revision history for this message
John (invent-write) wrote : A lot of people are going back to older versions once this hardware issue is noticed

A lot of people are going back to older versions as we only have ONE
that still has 9.10 and the others have been reset to older 9.04 with
one laptop using 8.04 that (has never had any problems from day one).

Revision history for this message
John (invent-write) wrote : They will have to do a UPDATE to fix it

They will have to do a UPDATE to the core to fix it, I am not sure if
they have noticed, it could be they are all using mini notebooks as a
benchmark and not desktops and laptops.

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

I think if they not fix this it is i big problem!!! in my country and i live in sweden we use the floppy yet....And my country is an iland

Revision history for this message
Antec (info-janmob) wrote :

We are in Europe Sweden is a country whith is 9 million people, and 1 million use Linux

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working

Antec: you really aren't adding anything to the bug, all you're doing is
annoying the users and developers who are subscribed to it.

We are aware that there appears to be a problem with floppy disk support
in the most recent version of Ubuntu.

However we have something of a difficulty obtaining machines *with*
floppy drives! No laptop or desktop currently on the market from a
major manufacturer appears to have one, and certainly our developer team
don't have access to any machine with one that's actually working.

Martin Pitt has asked (in comment #90) for SSH access to a user's
machine who can put a floppy disk into the drive. We really need that
to be able to debug this problem.

Scott
--
Scott James Remnant
<email address hidden>

Revision history for this message
John (invent-write) wrote : Floppy drive costs

IBM Thinkpads have a floppy option.
There are millions of Toshiba's still in use that have it.
Anyone of a number of suppliers for "build your own or for hardware can
supply "floppy" and a great number of mother boards still have a
provision for a floppy as do many desktops.

A floppy drive costs about 20 bucks and are available from a number of
suppliers.
Newegg for example has them from 8 dollars up and there are a number of
others as well.

Millions of people build their own computers or buy a basic computer and
add hardware into it as needed.
IBM thinkpad "Ultrabay" has a floppy option.
I think DELL will still put one in a new machine if you order it.

Revision history for this message
Antec (info-janmob) wrote : Re: [Karmic] floppy is not working

I can help but I most installing the Karmic in my computer, I have Ubuntu 9,04 now....I installing Karmic tomorrow with floppy

Revision history for this message
Antec (info-janmob) wrote :

Now i have Karmic and the floppty. Please, i am not very god on this but my computer is availably for anyone who is trying to solve this issue, tell me how i can do? If you want, you can have my ip-adress an use this computer to fix this issue!

Revision history for this message
G. R. Main (grmain) wrote :

Scott,

I understand Antec's frustration with this list.

It seems that if we users do not *annoy* the great god developers, we are ignored. I suppose that you think that if you do not answer us or post some sort of arrogant rant that we will go away.

  Not this time!

 Thousands of us have older hardware that have floppy drives, and we still use them! *Most* of us are not so wealthy as to be able to run down to our nearby electronics store and buy brand new computers just so that we can support the latest and greatest Operating System.

Not Helpful?

Well, Lemme see....

25 minutes on my computer found:

IDE Floppy

Tiger Direct

http://www.tigerdirect.com/applications/category/category_slc.asp?CatId=630&name=Floppy%20Disk%20Drives%20-%20IDE

http://www.tigerdirect.com/applications/category/category_slc.asp?CatId=287&name=Floppy%20Disk%20Drives

Newegg

http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&SubCategory=13&N=2010020013&SpeTabStoreType=1

Buy.com

http://www.buy.com/prod/sony-ide-floppy-drive-1-44-mb-pc-720-kb-1-x-34-pin-ide-atapi-3-50/q/loc/101/10334909.html

Dell.com

http://search.dell.com/results.aspx?s=dhs&c=us&l=en&cs=19&k=floppy+drive&cat=all&x=0&y=0

Polywell

Model 2055A-SLI Use "Configurator" to add floppy drive

I fail to see why you could not take the time to find a computer for sale with a floppy drive.

I may be old fashioned, but if I were developing Operating Systems for the public to use, I would have a *huge* stack of old PC's hanging around for *regression* *testing*

Cheers,

           G. R. Main

Revision history for this message
Antec (info-janmob) wrote :

 Today i going to an local service place and purchase an tp-cable how going directly to the network.. If it is needed! And around my router and directly to the internet! If it is needed my computer is fore anyone who is trying to solve this issue!

Revision history for this message
Antec (info-janmob) wrote :

I can and i hope that is a help to solve this problem, i agree my computer to solve this, it is importance that this bugs will be fixed, if not we gonne see it in Lucid to

Revision history for this message
John (invent-write) wrote : We always have a "floppy" installed or added to our desktops.

 Just about every desk top has a floppy.
And these are fairly new systems.
We would never have one without a floppy.

Revision history for this message
John (invent-write) wrote : I think the experts are trying and...

I think the experts are trying and Antec is trying to help.
My thought is this, a lot of people use floppy and a lot of people
expect Ubuntu to be used without XP or VISTA and for many the floppy is
for things like basic dos functions on a hard drive, like Format and
FDisk. Two functions that should be on the Linux CD.

Revision history for this message
John (invent-write) wrote : The light comes on a little longer but....

The light seems to come on longer when detect media or mount are clicked
but still it cannot see the media in the floppy drive.
For some reason however the light does stay on for a few seconds so the
hardware knows but the software can't read or see the media.
How ever KMouth Initial configuration for text to speech is still able
to mount and open and utilize the floppy. So it kind of seems like that
program is able to use what the OS can't seem to on its own?

Revision history for this message
billn (pamandbill) wrote : Re: [Karmic] floppy is not working

Ubuntu is on 2 desktops and one laptop as a stand alone O/S. MS only exists inside Virtual Box on one desktop for testing reasons. I restore old computers and the use of floppies is a must for me. This includes the 5.25" drives! I will be reverting the one desktop I upgraded to 9.10, back to 9.04 until the floppy issue is fixed. This is a crying shame, I do like the 9.10 but for me, it must be able to access both floppy drives. I really did like the "Floppy formatter" program in 9.04. Bill N.

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

Scott!
Your answer #111 to Antec is arrogant and impertinent!
We are the users!!!

A development team without a floppy drive ???.
Ubuntu clearly has build-in resources for floppies. How can a development team then work without??? - That is one more critical bug!

This is very disappointing and critical for my use of the ubuntu-family and of Canonical. I am now trying other linux versions.
I consider floppy drives to be the most safe rescue booting device and I use floppies for small secure backups: hard-disks and usb-keys are more likely to be stolen.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 441835] Re: [Karmic] floppy is not working

Torkil Olesen [2009-12-08 19:21 -0000]:
> Scott!
> Your answer #111 to Antec is arrogant and impertinent!
> We are the users!!!

Right, but this is a bug tracker, and as such making comments _here_
which do not help to advance the state/debugging of this problem are
just wasting everyone's time.

Revision history for this message
John (invent-write) wrote : Lets work the problem and focus

Lets work the problem. Lot of people trying their best to solve this all
over the planet earth. Antec and many others are trying their best to
fix this and understand the problem as are the team people at ubuntu, so
lets all get along and work the problem as it will not only help 9.10
but apparently 10.04 that also seems to be lacking this basic necessary
functionality of floppy that is a real tool that is needed by millions
of people as a way to do tasks and access old archive of data and photo
files. A lot of people have committed to Ubuntu and it is frustrating
for many who have found this problem an impediment to progress and
having to back track to a previous version. However ALL want to find
the fix, so lets keep in mind the people are not the problem, the
software has the problem and the many experts just have to figure out
what it needs to fix it. So keep a positive attitude, OK? ok.

Revision history for this message
Jukka Niiranen (jukka-niiranen-fi) wrote : Re: [Karmic] floppy is not working

Hi Everybody!

I've a desktop with non-functional floppy available for ssh connections and testing if still needed.

I sent IP address to both Martin and Scott thru email. I hope my emails weren't delivered to spam boxes.

Cheers!
Jukka

Revision history for this message
John (invent-write) wrote : ... appreciate the..

We should appreciate the enthusiasm Antec has, I kind of think it's
commendable and refreshing and if that was applied in the future these
kind of oversights would not happen and when they did it would not be
for long. I think the management people at corporate Ubuntu do
appreciate it, as that is an example of the power of open source
working... As they say in the UK, good show!

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote : Re: [Karmic] floppy is not working

Splendid!
I appreciate very much, that something now is being done.

That was just not my observation after 4 different bug reports with a lot of information (I myself had used more than 25 hours to investigate the bug).
Some hard words seems to could be useful.

Revision history for this message
John (invent-write) wrote : Still not fixed in the updates or proposed updates

Floppy still not fixed in the most current , proposed updates and
current updates.

Revision history for this message
John (invent-write) wrote : With sudo apt-get install floppyd it still does not work

Now at least "floppyd" shows up along with its KDE equivalent however
install it still does not make the "floppy" able to mount or detect
media.
However the light still comes on when one tries.
So far only the voice to text software is able to mount it, and open it
however it places it on desktop and treats it as if it is "a separate"
floppy than the one shown under places.

Revision history for this message
Björn Kautler (vampire0) wrote : Re: [Karmic] floppy is not working

Besides that it is not true that there is no way to mount it, I have the same problem and if needed I would provide root access for Martin to my box for investigation. Just tell me if you need it.

@ John if you mount the floppy via command line it shows up exactly as the voice to text software does it.

Revision history for this message
John (invent-write) wrote : What ever it still fails to work as they forgot to include internal floppy, as a non usb

"Besides that it is not true that there is no way to mount it, I have
thesame problem and if needed I would provide root access for Martin to
mybox for investigation. Just tell me if you need it."

It will mount off the kde program but it is not the same as what is
missing. The missing floppy and ability to read or open it cannot be
done by the OS 9.10.
Personally I think the developers were thinking 199.00 notebook and not
desktop when they put 9.10 together.

Revision history for this message
Björn Kautler (vampire0) wrote : Re: [Karmic] floppy is not working

What that voice to text software does has nothing to do with Gnome or KDE. Just go to a commandline and do "mount /dev/fd0" if the line in /etc/fstab is present for the floppy. If not, the command would just be a bit longer, but that has the same effect when letting the voice to text software do the mount.

Martin Pitt (pitti)
Changed in linux (Ubuntu Karmic):
status: New → Invalid
Changed in udev (Ubuntu Karmic):
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

I have ssh on Björn Kautler's machine now (clean karmic) and took a look at it. Keeping some notes:

 * devkit-disks --mount /dev/fd0 -> works (unmount, too)
 * gvfs-mount -li -> floppy appears as a volume
 * gvfs-mount -d /dev/fd0 -> works, floppy is mounted:

Volume changed: 'floppy0'
  Volume(0): floppy0
    Type: GUnixVolume
    ids:
     unix-device: '/dev/fd0'
    themed icons: [drive-removable-media] [drive-removable] [drive]
    can_mount=1
    can_eject=0
    should_automount=1
    Mount(0): floppy0 -> file:///media/floppy0
      Type: GUnixMount
      themed icons: [media-floppy] [media]
      can_unmount=1
      can_eject=0
      is_shadowed=0

Mount added: 'floppy0'
  Mount(0): floppy0 -> file:///media/floppy0
    Type: GUnixMount
    themed icons: [media-floppy] [media]
    can_unmount=1
    can_eject=0
    is_shadowed=0

I don't see duplicated gvfs volumes and don't get "no medium detected" errors with those command line tools. Can others confirm this?

So it seems to be a problem with the nautilus integration. Tentatively moving assignment upwards to gvfs for now.

Can you please open the computer place, do a screenshot, try to click on the floppy icon, and do another screenshot of the error message and the updated computer place? (Please move the error dialog and window side by side so that the screenshot includes both).

affects: devicekit-disks (Ubuntu Karmic) → gvfs (Ubuntu Karmic)
Changed in gvfs (Ubuntu Karmic):
status: New → Incomplete
description: updated
tags: added: regression-potential
summary: - [Karmic] floppy is not working
+ [Karmic] clicking on floppy gives "no device media found"
Revision history for this message
Martin Pitt (pitti) wrote : Re: [Karmic] clicking on floppy gives "no device media found"

So can you please do

   gvfs-mount -oi >/tmp/gvfs.log 2>&1

then click on the floppy icon in nautilus, and then attach /tmp/gvfs.log and ~/.xsession-errors . Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

For the record, this also works for me when running nautilus on Bjoern's machine through X forwarding. So something on a remote session is different than on a local one. Should try desktop sharing/VNC next.

Empathy allows you to share your desktop session with someone else (like <email address hidden> :-) ).

Revision history for this message
Martin Pitt (pitti) wrote :

Further notekeeping:

 * When I log in remotely, I get a correct gvfs volume:

Volume(1): floppy0
  Type: GUnixVolume
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media] [drive-removable] [drive]
  can_mount=1
  can_eject=0
  should_automount=1

But when I log in locally, I only get a drive without a volume:

Drive(1): Diskettenlaufwerk
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media-floppy] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=0
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown

Martin Pitt (pitti)
description: updated
Martin Pitt (pitti)
Changed in gvfs (Ubuntu Karmic):
status: Incomplete → Triaged
Changed in gvfs (Ubuntu Lucid):
status: Incomplete → Triaged
Revision history for this message
Antec (info-janmob) wrote :

Thank's everybody for you are attemp to solve this issue :-D

Revision history for this message
John (invent-write) wrote : It just flat out lacks the ability to read internal floppy

I think the developers just flat out left out the software needed to
operate an internal floppy and while added on programs seem to be able
to use it the only way that Ubuntu can fix it is to add in the 'plug and
play' ability to 9.10 and 10.04.
Someone said always skip the .10 versions of Ubuntu as they never seem
to work right or have all the abilities or features of the previous 04
version or next one. So all but one of our systems have been taken back
to previous versions.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Karmic] clicking on floppy gives "no device media found"

After upstream discussion this should be fixed in dk-disks after all.

affects: gvfs (Ubuntu Karmic) → devicekit-disks (Ubuntu Karmic)
Changed in devicekit:
status: Unknown → Confirmed
Revision history for this message
jeremy-list (quick-dudley) wrote :

$ gvfs-mount /dev/fd0
Error mounting location: volume doesn't implement mount

$ devkit-disks --mount /dev/fd0
Mounted /org/freedesktop/DeviceKit/Disks/devices/fd0 at /media/floppy

Revision history for this message
jeremy-list (quick-dudley) wrote :

Below are the commands and output mounting the floppy on my system. The disk was vfat formatted, I also have a stack of hfs formatted floppy disks which I haven't tried.
gvfs-mount /dev/fd0
Error mounting location: volume doesn't implement mount

devkit-disks --mount /dev/fd0
Mounted /org/freedesktop/DeviceKit/Disks/devices/fd0 at /media/floppy

The second mount command was successful although nautilus doesn't recognise that the new mount is in fact the same floppy drive it's been failing to mount.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 441835] Re: [Karmic] clicking on floppy gives "no device media found"

jeremy-list [2009-12-15 4:00 -0000]:
> gvfs-mount /dev/fd0

It's "gvfs-mount -d /dev/fd0", for your interest.

Anyway, the bug is completely understood now, so we do not need
further information from bug reporters.

Thanks all!
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

summary: - [Karmic] clicking on floppy gives "no device media found"
+ Clicking on floppy gives "no device media found"
Revision history for this message
John (invent-write) wrote : SO WILL THEY FIX IT?

It's "gvfs-mount -d /dev/fd0", for your interest.

Anyway, the bug is completely understood now, so we do not need
further information from bug reporters.

Thanks all!

SO DOES THAT MEAN THEY WILL FIX IT?

Revision history for this message
John (invent-write) wrote : gvfs-mount /dev/fd0,Error mounting location: volume doesn't implement mount

gvfs-mount /dev/fd0
Error mounting location: volume doesn't implement mount

Revision history for this message
John (invent-write) wrote : still failed

sudo gvfs-mount -d /dev/fd0

(gvfs-mount:1874): GLib-GIO-CRITICAL **: g_simple_async_result_new:
assertion `!source_object || G_IS_OBJECT (source_object)' failed

(gvfs-mount:1874): GLib-GIO-CRITICAL **: g_simple_async_result_complete:
assertion `G_IS_SIMPLE_ASYNC_RESULT (simple)' failed

(gvfs-mount:1874): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

Revision history for this message
John (invent-write) wrote : No floppy

gvfs-mount -d /dev/fd0
No volume for device file /dev/fd0

Revision history for this message
John (invent-write) wrote : That is not a fix, that is just the same thing the KDE text to voice program

That is not a fix, that is just the same thing the KDE text to voice
program was doing to open the drive as floppy0 but it still has the
floppy icon vacant and no functional.
People should not have to use terminal to open a floppy drive, as floppy0

Revision history for this message
John (invent-write) wrote : Then you have to use terminal to UNMOUNT IT

It won't unmount without reversing the command, this bug is not fixed,
they need to add the appropriate software in an update to fix it.

Revision history for this message
Alax Ricard (alaxricard2008) wrote : RE: [Bug 441835] That is not a fix, that is just the same thing the KDE text to voice program

hi
friend please stop sending messages for fikar my email I am already
filling these posts with the subject [Bug 441835] That is not a fix,
that is just the same thing the KDE text to voice program.

> Date: Tue, 15 Dec 2009 17:14:11 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 441835] That is not a fix, that is just the same thing the KDE text to voice program
>
> That is not a fix, that is just the same thing the KDE text to voice
> program was doing to open the drive as floppy0 but it still has the
> floppy icon vacant and no functional.
> People should not have to use terminal to open a floppy drive, as floppy0
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are subscribed to Karmic.
>
> Status in DeviceKit - enumerate devices and listen to udev device events: Confirmed
> Status in GVFS: Unknown
> Status in “devicekit-disks” package in Ubuntu: Triaged
> Status in “linux” package in Ubuntu: Invalid
> Status in “udev” package in Ubuntu: Invalid
> Status in “devicekit-disks” source package in Lucid: Triaged
> Status in “linux” source package in Lucid: Invalid
> Status in “udev” source package in Lucid: Invalid
> Status in “devicekit-disks” source package in Karmic: Triaged
> Status in “linux” source package in Karmic: Invalid
> Status in “udev” source package in Karmic: Invalid
>
> Bug description:
> In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-disks, and gvfs. However, when clicking on the floppy icon in GNOME, you get a "no medium found" error.
>
> Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive" instead, and no volume
>
>

_________________________________________________________________
Faça transações bancárias de maneira segura. Baixe agora o Novo Internet Explorer 8.
http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_content=Tag2&utm_campaign=IE8

Revision history for this message
G. R. Main (grmain) wrote :

The command " sudo gvfs-mount -d /dev/fd0" does not work. See below.

bob@Gkar:~$ sudo gvfs-mount -d /dev/fd0

(gvfs-mount:2600): GLib-GIO-CRITICAL **: g_simple_async_result_new: assertion `!source_object || G_IS_OBJECT (source_object)' failed

(gvfs-mount:2600): GLib-GIO-CRITICAL **: g_simple_async_result_complete: assertion `G_IS_SIMPLE_ASYNC_RESULT (simple)' failed

(gvfs-mount:2600): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Cheers,

          G. R. Main

Revision history for this message
John (invent-write) wrote : The messages go out to bug 441835 not just to you

The messages go out to bug 441835 not just to you.
As of yet this is still not fixed.

Revision history for this message
Björn Kautler (vampire0) wrote :

John, what makes you think this bug could be fixed. Neither a comment here, nor the status of the bug suggest that it is fixed. So please be patient and wait for a fix and stop spamming the subscribers of this bug, this is very annoying. Martin just wrote that the guys now understand the problem which just means that they know what is going wrong and why and possibly are able to fix it as they were able to reproduce it on my box now (I'm Björn Kautler). As it is clearly a bug, of course they will also fix it, that is just a thing that can not happen over night, so please be patient. Also it doesn't make any sense to try commands that are clearly stated to be incorrect. "gvfs-mount /dev/fd0" is incorrect as it is missing the "-d", so no sense in trying it. "gvfs-mount -d /dev/fd0" only works as root or maybe if you are in the floppy group, but then the same user who did the mount also has to unmount the volume, while this does not mount the floppy "into" the floppy drive icon in places, but parallel to it, like also this "voice to text" software does. Despite the error messages that appear with this command, the mounting itself works fine. Noone said that issueing this command is a fix, it was only part of investigating the source of the problem.

Revision history for this message
Björn Kautler (vampire0) wrote :

btw. if you have the line "/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0" in your /etc/fstab, you can also simply do "mount /dev/fd0" as any user which has the same effect than using that voice-to-text program. Then you even can unmount the floppy0 via nautilus. As temporary workaround you could make yourself a shortcut that issues that command to mount a floppy.

Revision history for this message
John (invent-write) wrote : Vampire

Look Vampire, someone wrote in that the bug is fixed, it was not me.
There are a lot of people working on this. It will more than likely need
a software fix in an update to fix it.
Guys jumping in and going all negative on people does not help.
I am not SPAMING I am replying to the site, and in this case to you.
Besides I was the one who first posted this bug.
Going all negative on me or as in the past a few have on others
concerned with this does no good.

Revision history for this message
John (invent-write) wrote : Don't attack the people trying to fix the floppy problem attack the problem

Don't attack ALL the people trying to fix the floppy problem attack the
problem.

Revision history for this message
Björn Kautler (vampire0) wrote :

John, if you refer to "After upstream discussion this should be fixed in dk-disks after all.", then this was just a misunderstanding. What Martin meant to say was "After upstream discussion this should get fixed in dk-disks after all.", just defining the component in which this will get fixed somewhen in the future. It shouldn't mean that the bug is fixed already. Of course it will need a software update, so as I siad, please be patient until one arrives. Noone said it will be fixed without a software update, I just told you a workaround for the meantime.

> Guys jumping in and going all negative on people does not help.

Correct, that is why I didn't do it. I jumped in and gave Martin access to my box to find the cause of the problem what he did. THAT helped. Your dozens of comments without any additional info that mostly contain whining on the other hand do NOT help in any way. It just annoys anyone who is subscribed to this bug as for every comment you write, a mail is sent out. And writing comments in 2 minutes steps without any helpful information, even after it was clearly stated that the cause of the problem is clear now IS spam. I didn't attack ALL people, I just asked you to not spam this bug with unhelpful comments. Instead I actually attacked the problem in actively helping to find the root cause by giving Martin access to my box what YOU didn't want to provide. That is ok, but please don't complain that I attack people instead of the problem.

For me, this discussion with you is over now. I will not reply to any comment regarding this anymore, so please don't write any, it doesn't help and is totally unrelated to this bug.

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Vampire wrote:
> John, if you refer to "After upstream discussion this should be fixed in
> dk-disks after all.", then this was just a misunderstanding. What Martin
> meant to say was "After upstream discussion this should get fixed in dk-
> disks after all.", just defining the component in which this will get
> fixed somewhen in the future. It shouldn't mean that the bug is fixed
> already. Of course it will need a software update, so as I siad, please
> be patient until one arrives. Noone said it will be fixed without a
> software update, I just told you a workaround for the meantime.
>
>
>> Guys jumping in and going all negative on people does not help.
>>
>
> Correct, that is why I didn't do it. I jumped in and gave Martin access
> to my box to find the cause of the problem what he did. THAT helped.
> Your dozens of comments without any additional info that mostly contain
> whining on the other hand do NOT help in any way. It just annoys anyone
> who is subscribed to this bug as for every comment you write, a mail is
> sent out. And writing comments in 2 minutes steps without any helpful
> information, even after it was clearly stated that the cause of the
> problem is clear now IS spam. I didn't attack ALL people, I just asked
> you to not spam this bug with unhelpful comments. Instead I actually
> attacked the problem in actively helping to find the root cause by
> giving Martin access to my box what YOU didn't want to provide. That is
> ok, but please don't complain that I attack people instead of the
> problem.
>
> For me, this discussion with you is over now. I will not reply to any
> comment regarding this anymore, so please don't write any, it doesn't
> help and is totally unrelated to this bug.
>
>
The KDE work around works better as it allows the disk to be unmounted,
however I like many tens of thousands of people would like to see the
fix come in an update, and in the mean time many people have reverted to
the older more functional versions in the LTS and 9.04.
Only one of our machines has 9.10 left on it.

Revision history for this message
Björn Kautler (vampire0) wrote :

Why don't you read what I write before complaining? Please re-read comment #156. Following it works exactly like that "KDE work around" as I wrote already, just better and without the need of starting some 3rd party software.

Revision history for this message
John (invent-write) wrote : vampire you are spam

 You are spam

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

@John
Please STOP.

You even sent me two emails on my personal address about this bug and at that time I told you to report here only if you had relevant information about this bug.

Now I gently ask you to not comment anymore because developers have all they need to fix it.

Just wait as the other quietly people here having the same problem are doing.

Revision history for this message
John (invent-write) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Sergio Zanchetta wrote:
> @John
> Please STOP.
>
> You even sent me two emails on my personal address about this bug and at
> that time I told you to report here only if you had relevant information
> about this bug.
>
> Now I gently ask you to not comment anymore because developers have all
> they need to fix it.
>
> Just wait as the other quietly people here having the same problem are
> doing.
>
>
I give up.
A couple of you guys spend all your time attacking people and not the
problem.
you think the emails go to you and not to the bug .
So I give up, I will no longer subscribe to this bug, I was the one who
started it, good luck vampire and sergio you guys seem to know
everything so fix it.

Revision history for this message
Martin Pitt (pitti) wrote :

John [2009-12-16 17:36 -0000]:
> So I give up, I will no longer subscribe to this bug

Pretty please do.

Revision history for this message
Antec (info-janmob) wrote :

John i like your intresst

Changed in devicekit-disks (Ubuntu Karmic):
importance: Undecided → High
Revision history for this message
Neil (kingfisher) wrote :

As a dirty workaround, I added my username to floppy group (check box) created a launcher in my system menu: type: Application, Name: Mount Floppy, Command: mount /dev/fd0, Icon: /usr/share/icons/gnome/scalable/devices/3floppy_unmount.svg

patience is required as its slow, but works on my karmic

Revision history for this message
Neil (kingfisher) wrote :

As a dirty workaround, I added my username to floppy group (check box) created a launcher in my system menu: type: Application, Name: Mount Floppy, Command: mount /dev/fd0, Icon: /usr/share/icons/gnome/scalable/devices/3floppy_unmount.svg

patience is required as its slow, but works on my karmic

Revision history for this message
Neil (kingfisher) wrote :

As a dirty workaround, I added my username to floppy group (check box) created a launcher in my system menu: type: Application, Name: Mount Floppy, Command: mount /dev/fd0, Icon: /usr/share/icons/gnome/scalable/devices/3floppy_unmount.svg

patience is required as its slow, but works on my karmic

Revision history for this message
Neil (kingfisher) wrote :

Apologies for multiple post, on 'Post Comment' an error was reported, didn't think post had worked.

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

I use Puppy Linux 4.3.1 and get a floppy icon working with one click.

Puppy is very easily installed together with ubuntu and Windows; it starts and closes very fast and reads/writes in all 3 systems with no restrictions.

Revision history for this message
NoOp (glgxg) wrote :

Comment 156 & 171:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/441835/comments/156
works for me as a workaround. I edited the old gfloppy menu item (from an updated jaunty) to 'mount /dev/fd0' rather than the no longer existent gfloppy in karmic. However, this workaround doesn't resolve system-wide applications, for instance:

1. The replacement for gfloppy is now the GNOME Disk Utility, which doesn't recognize the floppy even when mounted via the above. See:
https://bugs.launchpad.net/ubuntu/+source/gnome-utils/+bug/474938
[Gnome-Utils does not install gfloppy as described]
So it seems that the only way to format a floppy in karmic is to pull in all of the relevent kde lib's and use kfloppy instead of the new GNOME Disk Utility (gnome-disk-utility).

2. The above workaround doesn't resolve the issue of Places|Floppy (changes when you actually mount a floppy & thats another bug) not working unless the floppy is mounted as above. Perhaps that application can simply be modified to use 'mount /dev/fd0'?

3. Ironically, the package: grub-rescue-pc (1.97) promotes:
This package contains two GRUB rescue images that have been built for use with
traditional PC/BIOS architecture:

 - grub-rescue-floppy.img: floppy image.
 - grub-rescue-cdrom.iso: El Torito CDROM image.

  I reckon that package will have a difficult time creating a grub-rescue-floppy.img if karmic (and lucid) can't even comunicate with the floppy in order to create the image...

I've 8 systems that have floppies on my personal network & nearly 100 customers that have (and use) floppies on their Ubuntu systems (not to mention relatives, friends, etc). Failure to find a resolution for this issue affects those, and every system out there that have, and still use, floppies.

I'm happy to provide any additional testing info requested to assist.

Revision history for this message
NoOp (glgxg) wrote :

Quite by accident I discovered that opening Nautilus in superuser mode: 'gksu nautilus' with a floppy in the drive & floppy notation in fstab[1], automatically mounts floppy0. So it appears that this is a permissions/policy issue?

[1] from my /etc/fstab:
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0

Karmic 9.10 (Gnome) 2.6.31-18-generic

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

I confirm, that in my opinion the bug has to do with permissions/policy. The problem exists not only in Nautilus.

In my bug-report (Bug #485684) I have mentioned the possibility, that use of floppy drive from ordinary GUI has been marked bad by the Operating System, because of problems with mounting/unmounting.

(If the OS don't know, that a disk has been removed and another one inserted, then the disk looks unreliable, because the data has changed without reason.)

Revision history for this message
Martin Pitt (pitti) wrote :

Torkil Olesen [2010-01-22 13:26 -0000]:
> I confirm, that in my opinion the bug has to do with permissions/policy.

No, it really doesn't. Please read the upstream bug for more details.

This is not easy to fix, since few, if any, developers still have a
floppy, and due to how floppies work they are very hard to integrate
into nowaday's hotplugging structure.

The bug is understood, there is no need to confirm it any further.

Revision history for this message
NoOp (glgxg) wrote :

On 01/22/2010 06:42 AM, Martin Pitt wrote:
...
>
> This is not easy to fix, since few, if any, developers still have a
> floppy, and due to how floppies work they are very hard to integrate
> into nowaday's hotplugging structure.

I've multiple test machines with floppies & would be happy to assist in
providing debugging information if you can point me to who this might be
assigned to. Perhaps David Zeuthen or Scott James Remnant?

Revision history for this message
bwallum (rbw2) wrote :

This really is a stinker of an old bug. Martin Pitt, this is fixed in other linux distros, in fact it never really became a problem in them. What is needed is some determination and the will to get a grip on it in Ubuntu.

I concur with NoOP that a permissions problem seems to be at the heart of it. I have made launchers to demonstrate how sudo can mount and dismount the floppy drive and hope this helps somebody, somewhere to get a grip!

--------------------------
On the very top panel right click then left click to select 'add to panel'.
Select 'Custom Application Launcher', press the Add button

Set the following fields:-
Type: Application in Terminal
Name: Mount floppy drive
Command: sudo mount /dev/fd0/ media/floppy0 -o user
Comment: Use this short cut to mount the floppy drive

Press OK and a new launcher icon should appear in the top panel.

You can repeat the process to set up a launcher to demount the drive. In this case you could use:

Type: Application in Terminal
Name: Unmount floppy drive
Command: sudo umount /dev/fd0
Comment: Use this short cut to unmount the floppy drive
--------------------------

Count me in to do any testing etc as the dev thinks fit. I can't code or I would volunteer for that.

We can't keep living in denial that this is not a major user turn off by pretending floppy drives are entirely obsolete.

Martin Pitt (pitti)
affects: devicekit-disks (Ubuntu Karmic) → udisks (Ubuntu Karmic)
Changed in devicekit:
importance: Unknown → Undecided
status: Confirmed → New
importance: Undecided → Unknown
status: New → Unknown
Changed in devicekit:
status: Unknown → Confirmed
Revision history for this message
Joe_Linux (joelinux-earthlink) wrote :

This is regarding gnome-media. There is no Sound Mixer applet on the gnome taskbar and no way to add it in Ubuntu 10.4 32 bit.

Revision history for this message
Joe_Linux (joelinux-earthlink) wrote :

This is regarding gnome-media. There is no Sound Mixer applet on the gnome taskbar and no way to add it in Ubuntu 10.4 i386

Revision history for this message
Joe_Linux (joelinux-earthlink) wrote :

Testing

Revision history for this message
In , Zeuthen (zeuthen) wrote :
Changed in devicekit:
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

In Karmic it is still called devicekit-disks, opening this for karmic task.

affects: udev (Ubuntu Karmic) → devicekit-disks (Ubuntu Karmic)
Changed in devicekit-disks (Ubuntu Karmic):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: Invalid → In Progress
Changed in udisks (Ubuntu Karmic):
status: Triaged → Invalid
Changed in udisks (Ubuntu Lucid):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → Fix Committed
Martin Pitt (pitti)
tags: removed: regression-potential
Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

In Lucid the problem seems to be still present

2010/3/1 Martin Pitt <email address hidden>

> ** Tags removed: regression-potential
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Martin Pitt (pitti) wrote :

miky91 [2010-03-01 12:42 -0000]:
> In Lucid the problem seems to be still present

Yes, I'll upload the fix in a bit.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks - 1.0.0~git20100227.36c8a4-1

---------------
udisks (1.0.0~git20100227.36c8a4-1) experimental; urgency=low

  * New upstream git snapshot:
    - Move UDISKS_MEDIA_AVAILABLE out of the part table prober, to fix
      handling of floppy mounting (LP: #441835)
    - Improve debug output and support for the detach helper
    - Update detach helper for current sysfs interface
    - Add a --disable-remote-access option
    - Fix missing DKD_ property renames in 80-udisks.rules
  * Add 02-defer_smart_probing.patch: The initial ATA SMART probing in
    device_new() is very expensive (takes about 0.5 s of CPU/IO time on a Dell
    Mini 10). Defer the check by half a minute, so that we don't block CPU/IO
    when we need it much more urgently (on desktop session startup or when
    hotplugging a new device.
 -- Martin Pitt <email address hidden> Mon, 01 Mar 2010 14:03:56 +0100

Changed in udisks (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote :

Ok, thank you

2010/3/1 Martin Pitt <email address hidden>

> miky91 [2010-03-01 12:42 -0000]:
> > In Lucid the problem seems to be still present
>
> Yes, I'll upload the fix in a bit.
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Martin Pitt (pitti) wrote : Re: Mounting floppies does not work

Argh, the fix is not sufficient yet. While mounting works now, the floppy is inaccessible, since it is mounted as root.

The reason for this is that there is no blkid being run on a floppy, so that devicekit-disks/udisks does not know about the file system, fs usage, etc., and consequently does not apply an uid/umask flag on mount.

summary: - Clicking on floppy gives "no device media found"
+ Mounting floppies does not work
Changed in devicekit-disks (Ubuntu Karmic):
status: In Progress → Triaged
Martin Pitt (pitti)
Changed in udisks (Ubuntu Lucid):
status: Fix Released → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

There is no obvious solution for fixing the permissions problem which is robust, nonintrusive, and architecturally sound. It at least requires right-click and "detect media...", before mounting, plus it requires unblacklisting floppies in /lib/udev/rules.d/95-devkit-disks.rules. This should be a slightly more comfortable workaround than having to resort to the command line, though.

Therefore retitling back to original problem.

summary: - Mounting floppies does not work
+ Clicking on floppy gives "no device media found"
Changed in devicekit-disks (Ubuntu Karmic):
assignee: Martin Pitt (pitti) → nobody
Changed in udisks (Ubuntu Lucid):
status: Triaged → Fix Released
Revision history for this message
malone (vmaxhenry) wrote :

I installed the package "udisks" on ubuntu 10:04 lucid released 01/03/2010. The problem of mounting the floppy remains.
Unable to mount location
No media in drive

Revision history for this message
FGTR4738 (knyuf56) wrote :

OS Karmic 9.10
Since a recent update approx. today, 03/24/2010, I have had to start using devkit-disks --mount /dev/fd0 to mount a floppy disk rather than mount /media/floppy in order to have a floppy icon appear on the desktop, and in order to have content on the floppy disk appear in /media/floppy0

I am then able to drag/drop and delete fine from /media/floppy0

Revision history for this message
cong06 (cong06) wrote :

Am I the only one having problems in 9.04?:
http://ubuntuforums.org/showthread.php?p=9055310

Revision history for this message
cong06 (cong06) wrote :

Am I the only one having problems in 9.04?

http://ubuntuforums.org/showthread.php?p=9055310

Revision history for this message
Antec (info-janmob) wrote :

Floppy in Lucid is working fine now! Thanks all People who work it whit this bug an fixed this issue in the brand new 10.04!

Revision history for this message
Alax Ricard (alaxricard2008) wrote : Alax te convida para o Meadd

Ola 441835,

Seu amigo(a) Alax (http://meadd.com/alaxricard) adorou o Meadd e acha que você vai adorar também!

O Meadd é um álbum de fotos onde você encontra pessoas online o tempo todo e faz muitos amigos.

==================================================

Crie a sua página no Meadd em http://meadd.com

==================================================

Nunca mais receber emails do Meadd.com: http://<email address hidden>=663bdb3ba66790e2780195f4aeb0abcb

Revision history for this message
Andreas Heinlein (aheinlein) wrote :

@Martin Pitt
Where is the fix for the permissions problem in udisks/lucid? Or am I getting something wrong here? Mounting works now (tested with 10.04 final), but permissions on the mountpoint are root:root 0755, i.e. no write for the user. Any patch/workaround would be appreciated.

Revision history for this message
Andreas Heinlein (aheinlein) wrote :

Where is the fix for the permissions problem in udisks/lucid? Or am I getting something wrong here? Mounting works now (tested with 10.04 final), but permissions on the mountpoint are root:root 0755, i.e. no write for the user. Any patch/workaround would be appreciated.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Andreas Heinlein [2010-04-30 11:33 -0000]:
> Where is the fix for the permissions problem in udisks/lucid? Or am I
> getting something wrong here? Mounting works now (tested with 10.04
> final), but permissions on the mountpoint are root:root 0755, i.e. no
> write for the user.

Right, that's a known bug/limitation right now.

> Any patch/workaround would be appreciated.

You should be able to add /dev/fd0 to /etc/fstab with the "user"
option.

Revision history for this message
florment-2 (florment-2) wrote : R: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Thank you for your help, but now i've Ubuntu Lucid and it's all OK.

>----Messaggio originale----
>Da: <email address hidden>
>Data: 30-apr-2010 13.32
>A: <email address hidden>
>Ogg: [Bug 441835] Re: Clicking on floppy gives &quot;no device media
found&quot;
>
>@Martin Pitt
>Where is the fix for the permissions problem in udisks/lucid? Or am I getting
something wrong here? Mounting works now (tested with 10.04 final), but
permissions on the mountpoint are root:root 0755, i.e. no write for the user.
Any patch/workaround would be appreciated.
>
>--
>Clicking on floppy gives "no device media found"
>https://bugs.launchpad.net/bugs/441835
>You received this bug notification because you are a direct subscriber
>of the bug.
>
>Status in obsolete project: Fix Released
>Status in GVFS: Unknown
>Status in “devicekit-disks” package in Ubuntu: Invalid
>Status in “linux” package in Ubuntu: Invalid
>Status in “udisks” package in Ubuntu: Fix Released
>Status in “devicekit-disks” source package in Lucid: Invalid
>Status in “linux” source package in Lucid: Invalid
>Status in “udisks” source package in Lucid: Fix Released
>Status in “devicekit-disks” source package in Karmic: Triaged
>Status in “linux” source package in Karmic: Invalid
>Status in “udisks” source package in Karmic: Invalid
>
>Bug description:
>In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-
disks, and gvfs. However, when clicking on the floppy icon in GNOME, you get a
"no medium found" error.
>
>Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a
correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive" instead,
and no volume
>
>To unsubscribe from this bug, go to:
>https://bugs.launchpad.net/devicekit/+bug/441835/+subscribe
>

Revision history for this message
florment-2 (florment-2) wrote : R: Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Thank you for your help, but now i''ve Ubuntu Lucid and it's all OK.

>----Messaggio originale----
>Da: <email address hidden>
>Data: 3-mag-2010 8.03
>A: <email address hidden>
>Ogg: Re: [Bug 441835] Re: Clicking on floppy gives &quot;no device media
found&quot;
>
>Andreas Heinlein [2010-04-30 11:33 -0000]:
>> Where is the fix for the permissions problem in udisks/lucid? Or am I
>> getting something wrong here? Mounting works now (tested with 10.04
>> final), but permissions on the mountpoint are root:root 0755, i.e. no
>> write for the user.
>
>Right, that's a known bug/limitation right now.
>
>> Any patch/workaround would be appreciated.
>
>You should be able to add /dev/fd0 to /etc/fstab with the "user"
>option.
>
>--
>Clicking on floppy gives "no device media found"
>https://bugs.launchpad.net/bugs/441835
>You received this bug notification because you are a direct subscriber
>of the bug.
>
>Status in obsolete project: Fix Released
>Status in GVFS: Unknown
>Status in “devicekit-disks” package in Ubuntu: Invalid
>Status in “linux” package in Ubuntu: Invalid
>Status in “udisks” package in Ubuntu: Fix Released
>Status in “devicekit-disks” source package in Lucid: Invalid
>Status in “linux” source package in Lucid: Invalid
>Status in “udisks” source package in Lucid: Fix Released
>Status in “devicekit-disks” source package in Karmic: Triaged
>Status in “linux” source package in Karmic: Invalid
>Status in “udisks” source package in Karmic: Invalid
>
>Bug description:
>In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-
disks, and gvfs. However, when clicking on the floppy icon in GNOME, you get a
"no medium found" error.
>
>Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a
correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive" instead,
and no volume
>
>To unsubscribe from this bug, go to:
>https://bugs.launchpad.net/devicekit/+bug/441835/+subscribe
>

Revision history for this message
Mikele (mikilion) wrote :

After updated udisks 1.0.1-1build1 to 1.0.1-1ubuntu1 the floppy don't mount in Gnome by clicking on the menu icon.
Retroceding it the floppy back to work.

Revision history for this message
malone (vmaxhenry) wrote :

Hi, i Have ubuntu Lucid now.

Problem persists.
Unable to mount location
No one ever media in

fstab:
UUID = e0cc9fd9-a734-4e03-b536-6ddfc368c660 none swap sw 0 0
/ Dev/fd0 / media/floppy0 auto rw, user, noauto, exec, utf8 0 0

Revision history for this message
malone (vmaxhenry) wrote :

Hi, i Have ubuntu Lucid now.
Problem persists.
Unable to mount location
No one ever media in

fstab:
UUID = e0cc9fd9-a734-4e03-b536-6ddfc368c660 none swap sw 0 0
/ Dev/fd0 / media/floppy0 auto rw, user, noauto, exec, utf8 0 0

Revision history for this message
malone (vmaxhenry) wrote :

Hi, i have ubuntu Lucid now.
Problem persists.
Unable to mount location
No one ever media in

fstab:
UUID = e0cc9fd9-a734-4e03-b536-6ddfc368c660 none swap sw 0 0
/ Dev/fd0 / media/floppy0 auto rw, user, noauto, exec, utf8 0 0

Revision history for this message
Arrigo Marchiori (ardovm) wrote :

Hi, I can confirm that this bug still exists in Lucid, using udisks 1.0.1-1ubuntu1
I have tried two scenarios: with and without an entry in /etc/fstab for the floppy drive, and I found a funny thing.
I kept the command 'udisks --monitor' running in a separate terminal.

1- without entry in /etc/fstab
  As an user with administrator right, I run the command:
$ sudo mount /dev/fd0 /mnt
  udisks says:
> changed: /org/freedesktop/UDisks/devices/fd0
  and the floppy is correctly mounted into /mnt. Then I run the command:
$ sudo umount /mnt
  udisk says:
> changed: /org/freedesktop/UDisks/devices/fd0
  and the floppy is correctly unmounted.

2- with entry in /etc/fstab
/dev/fd0 /media/floppy0 vfat user,noauto 0 0
  As the same user, I run the command (notice I am not using sudo):
$ mount /media/floppy0
  The mount command returns zero, BUT the disk is immediately, automagically unmounted! udisk says:
> changed: /org/freedesktop/UDisks/devices/fd0
> job-changed: /org/freedesktop/UDisks/devices/fd0
> changed: /org/freedesktop/UDisks/devices/fd0
> job-changed: /org/freedesktop/UDisks/devices/fd0
  The same things happens if I use mount with sudo.

Summary: it is not possible to mount a floppy disk in current Lucid, either double-clicking its icon, or using the mount command inside a terminal.
The only way I can mount the floppy disk is _not_ having it in /etc/fstab and using 'sudo mount'.
Otherwise, the floppy disk is unmounted right after I mount it! See below:

$ mount /media/floppy0 && mount | grep floppy
/dev/fd0 on /media/floppy0 type vfat (rw,noexec,nosuid,nodev,user=amministratore)
$

$ mount /media/floppy0 && sleep 2 && mount | grep floppy
$

The floppy disk is unmounted before 2 seconds!

HTH

Revision history for this message
florment-2 (florment-2) wrote : R: [Bug 441835] Re: Clicking on floppy gives "no device media found"
Download full text (3.5 KiB)

Mi dispiace ma ho provato i comandi suggeriti e questo è il risultato:
quindi...?
Grazie

.....o@......-desktop:~$ sudo mount floppy
[sudo] password for ....: ..................
mount: impossibile trovare floppy in /etc/fstab o /etc/mtab
.......o@------desktop:~$ $ mount /media/floppy0
$: command not found

>----Messaggio originale----
>Da: <email address hidden>
>Data: 24-giu-2010 17.40
>A: <email address hidden>
>Ogg: [Bug 441835] Re: Clicking on floppy gives &quot;no device media
found&quot;
>
>Hi, I can confirm that this bug still exists in Lucid, using udisks 1.0.1-
1ubuntu1
>I have tried two scenarios: with and without an entry in /etc/fstab for the
floppy drive, and I found a funny thing.
>I kept the command 'udisks --monitor' running in a separate terminal.
>
>1- without entry in /etc/fstab
> As an user with administrator right, I run the command:
>$ sudo mount /dev/fd0 /mnt
> udisks says:
>> changed: /org/freedesktop/UDisks/devices/fd0
> and the floppy is correctly mounted into /mnt. Then I run the command:
>$ sudo umount /mnt
> udisk says:
>> changed: /org/freedesktop/UDisks/devices/fd0
> and the floppy is correctly unmounted.
>
>2- with entry in /etc/fstab
>/dev/fd0 /media/floppy0 vfat user,noauto 0 0
> As the same user, I run the command (notice I am not using sudo):
>$ mount /media/floppy0
> The mount command returns zero, BUT the disk is immediately, automagically
unmounted! udisk says:
>> changed: /org/freedesktop/UDisks/devices/fd0
>> job-changed: /org/freedesktop/UDisks/devices/fd0
>> changed: /org/freedesktop/UDisks/devices/fd0
>> job-changed: /org/freedesktop/UDisks/devices/fd0
> The same things happens if I use mount with sudo.
>
>Summary: it is not possible to mount a floppy disk in current Lucid, either
double-clicking its icon, or using the mount command inside a terminal.
>The only way I can mount the floppy disk is _not_ having it in /etc/fstab and
using 'sudo mount'.
>Otherwise, the floppy disk is unmounted right after I mount it! See below:
>
>$ mount /media/floppy0 && mount | grep floppy
>/dev/fd0 on /media/floppy0 type vfat (rw,noexec,nosuid,nodev,
user=amministratore)
>$
>
>$ mount /media/floppy0 && sleep 2 && mount | grep floppy
>$
>
>The floppy disk is unmounted before 2 seconds!
>
>HTH
>
>--
>Clicking on floppy gives "no device media found"
>https://bugs.launchpad.net/bugs/441835
>You received this bug notification because you are a direct subscriber
>of the bug.
>
>Status in obsolete project: Fix Released
>Status in GVFS: Unknown
>Status in “devicekit-disks” package in Ubuntu: Invalid
>Status in “linux” package in Ubuntu: Invalid
>Status in “udisks” package in Ubuntu: Fix Released
>Status in “devicekit-disks” source package in Lucid: Invalid
>Status in “linux” source package in Lucid: Invalid
>Status in “udisks” source package in Lucid: Fix Released
>Status in “devicekit-disks” source package in Karmic: Triaged
>Status in “linux” source package in Karmic: Invalid
>Status in “udisks” source package in Karmic: Invalid
>
>Bug description:
>In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-
disks, and gvfs. However, when clicking on the floppy ico...

Read more...

Revision history for this message
NoOp (glgxg) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"

On 06/24/2010 08:40 AM, Arrigo Marchiori wrote:
> Hi, I can confirm that this bug still exists in Lucid, using udisks
> 1.0.1-1ubuntu1 I have tried two scenarios: with and without an entry
> in /etc/fstab for the floppy drive, and I found a funny thing. I kept
> the command 'udisks --monitor' running in a separate terminal.

Confirmed on
2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux

$ apt-cache policy udisks
udisks:
  Installed: 1.0.1-1ubuntu1
  Candidate: 1.0.1-1ubuntu1
  Version table:
 *** 1.0.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     1.0.1-1build1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

Revision history for this message
peter b (b1pete) wrote :

this comment posted initially on bug #539515 then (today) found this bug that reflects my concerns ; what follows is a copy of those comments :

uname -a
Linux lucidGIGAslow 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

re slayer comment #57 ....'But what if someone (still) uses floppies? A
fix should be nice :)'.....

I am one of them. currently using floppies to boot my pc because of
crippled grub2 on MBR. more on this topic

http://ubuntuforums.org/showthread.php?p=9510496#post9510496
under #537 and under #539

....'this brings up another subject, namely, that for reasons unknown to
me lucid decided to stop displaying the floppy device at all, neither as
an applet on the upper panel or desktop when asked to be mounted nor
when asked to mount it via CLI. example

sudo mount /dev/fd0 /media/floppy0
[sudo] password for peter:
peter@lucidGIGAslow:~$ ls /media/floppy0
peter@lucidGIGAslow:~$

as you could see, no message displayed and nothing present on
/media/floppy0 (floppy dr light lights up). if floppy removal prior to
attempting a purge/rewrite of grub is mandatory then only a physical
device removal possible until a solution can be found to this problem.

some bkgrd re floppy absence/inability to mount - everything was just
fine, floppy device shown on the upper panel and could be mounted UNTIL
an update was carried out that contained (from /var/log/apt/history.log)

Start-Date: 2010-06-21 13:48:12
Upgrade: libcupsppdc1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsimage2 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupscgi1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsdriver1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-client (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-common (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcups2 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-bsd (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsmime1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2)
End-Date: 2010-06-21 13:49:18

lsmod lists floppy and isofs modules. dmesg | tail shows

[ 4782.605787] ISO 9660 Extensions: RRIP_1991A
[ 5060.543755] ISO 9660 Extensions: RRIP_1991A
[ 7482.502125] ISO 9660 Extensions: RRIP_1991A

any idea what these msgs tell me ?. indeed this bootable floppy has
isofs but this does not appear to be the problem, same occurs with
floppy w msdos fs.'......

re Martin Pitt's
gvfs-mount -li

excerpt

Drive(6): Floppy Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media-floppy] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=0
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown

I don't know, but probably has_media=0 is not quite right - the floppy
is in the drive since pc powered up (boots off it); can not mount it,
see particulars above.

Revision history for this message
peter b (b1pete) wrote :

this comment posted initially on bug #539515 then (today) found this bug that reflects my concerns ; what follows is a copy of those comments :

uname -a
Linux lucidGIGAslow 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

re slayer comment #57 ....'But what if someone (still) uses floppies? A fix should be nice :)'.....

I am one of them. currently using floppies to boot my pc because of crippled grub2 on MBR. more on this topic

http://ubuntuforums.org/showthread.php?p=9510496#post9510496
under #537 and under #539

....'this brings up another subject, namely, that for reasons unknown to me lucid decided to stop displaying the floppy device at all, neither as an applet on the upper panel or desktop when asked to be mounted nor when asked to mount it via CLI. example

sudo mount /dev/fd0 /media/floppy0
[sudo] password for peter:
peter@lucidGIGAslow:~$ ls /media/floppy0
peter@lucidGIGAslow:~$

as you could see, no message displayed and nothing present on /media/floppy0 (floppy dr light lights up). if floppy removal prior to attempting a purge/rewrite of grub is mandatory then only a physical device removal possible until a solution can be found to this problem.

some bkgrd re floppy absence/inability to mount - everything was just fine, floppy device shown on the upper panel and could be mounted UNTIL an update was carried out that contained (from /var/log/apt/history.log)

Start-Date: 2010-06-21 13:48:12
Upgrade: libcupsppdc1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsimage2 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupscgi1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsdriver1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-client (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-common (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcups2 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), cups-bsd (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2), libcupsmime1 (1.4.3-1ubuntu1, 1.4.3-1ubuntu1.2)
End-Date: 2010-06-21 13:49:18

lsmod lists floppy and isofs modules. dmesg | tail shows

[ 4782.605787] ISO 9660 Extensions: RRIP_1991A
[ 5060.543755] ISO 9660 Extensions: RRIP_1991A
[ 7482.502125] ISO 9660 Extensions: RRIP_1991A

any idea what these msgs tell me ?. indeed this bootable floppy has isofs but this does not appear to be the problem, same occurs with floppy w msdos fs.'......

re Martin Pitt's
gvfs-mount -li

excerpt

Drive(6): Floppy Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media-floppy] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=0
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown

I don't know, but probably has_media=0 is not quite right - the floppy is in the drive since pc powered up (boots off it); can not mount it, see particulars above.

Revision history for this message
peter b (b1pete) wrote :

I can confirm that floppy media can not be mounted in lucid

uname -a
Linux lucidGIGAslow 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

sudo mount /dev/fd0 /media/floppy0
[sudo] password for peter:
peter@lucidGIGAslow:~$ ls /media/floppy0
peter@lucidGIGAslow:~$

gvfs-mount -li

excerpt

Drive(6): Floppy Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media-floppy] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=0
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown

I don't know, but probably has_media=0 is not quite right - the floppy is in the drive since pc powered up (boots off it); can not mount it, see particulars above.

Revision history for this message
peter b (b1pete) wrote :

sorry gents for posting three times the same comment, basically.

it happened because after clicking on Post Comment button I was consistently getting a window with a message Error and some u2xxx error code, so I tried to resubmit my comment 3 times every time without any notification that the mssg was written/posted.

this morning I just discovered to my amazement in my e-mail box three notifications showing the messages/comments as posted.

to all, once again, pls accept my apologies.

Revision history for this message
NoOp (glgxg) wrote :

Peter, backing down to udisks (1.0.1-1build1) fixes the problem. The recent change to udisks:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/539515/comments/123
is the regression. I backed down to udisks (1.0.1-1build1) via synaptic (Package|Force Version) and now the floppy mounts properly using 'Places|Floppy Disk'.

Revision history for this message
peter b (b1pete) wrote :

yes NooP, I can confirm that it does work with this udisks (1.0.1-1build1) package. TU.

I have seen Martin's and Sebastien's posts but I said to myself let me wait a little and see it in the main repos and on updates. then after seeing your post I reread the entire thread and noticed on #123 ...'urgency=low'.... that triggered to operate the package regression to the one above. so far so good; I'll see if has any 'side effects' down the road.

very nifty how it shows floppies with isofs on desktop after mounting - as a CD icon but called floppy0 - I like that, v well thought devs!

it'll be interesting to see how this regression is handled when the time comes to be introduced into the main repos.

thanks and cheerios!

Revision history for this message
Tibor Bősze (tibor-boesze) wrote :

I have just marked #599915 as a duplicate of this one. For Lucid, the status should be rather incomplete as of udisks version 1.0.1-1ubuntu1, reverting to udisks 1.0.1-1build1 eliminates the regression.

Changed in udisks (Ubuntu Lucid):
status: Fix Released → Incomplete
Revision history for this message
vmagnin (vincent-magnin) wrote :

Downgrading to udisks (1.0.1-1build1) also solved the problem in my Lucid.
Thank you.

Revision history for this message
vmagnin (vincent-magnin) wrote :

Downgrading to udisks 1.0.1-1build1 also solved the problem in my Lucid.
Thank you.

Revision history for this message
vmagnin (vincent-magnin) wrote :

Downgrading to udisks 1.0.1-1build1 also solved the problem in my Lucid. Thank you.

Revision history for this message
vmagnin (vincent-magnin) wrote :

Downgrading to udisks 1.0.1-1build1 also solved the problem in my Lucid. Thanks.

Revision history for this message
Ben Clevers (clevers-ben) wrote :

No sound in Ubuntu 10.04 anymore.

Changed in devicekit-disks (Ubuntu Karmic):
assignee: nobody → Ben Clevers (clevers-ben)
Revision history for this message
Ben Clevers (clevers-ben) wrote :

No sound in Ubuntu 10.04 any more.

Revision history for this message
Richard Wordingham (richard-wordingham) wrote :

Thanks to NoOp, too - 'downgrading' to udisks 1.0.1-1build1 on Lucid gave me access to the files on my USB floppy. I had already removed the floppy module, as others have suggested, to no avail. 'Downgrading' also seems to have brought my DVD reader to life, at least for iso9660 file systems.

Revision history for this message
NoOp (glgxg) wrote :

OK. I'm confused. Why is this bug marked as Invalid & Fix Released?

It is clear that the "fix" from:
<https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/539515?comments=all>
is a regression & that the only way that users with floppys can get them to work is to back down to udisks 1.0.1-1build1.

Can one of the devs listed in the assigned: Andy Whitcroft and Martin Pitt please explain the status?
I find it odd that Ubuntu would forgo using a valid machine peripheral simply to appease those experiencing longer boot delays (10 to 30 seconds - 539515). A good portion of the world still use floppies.

*Please* resolve this issue.

Revision history for this message
peter b (b1pete) wrote :

this floppy issue has a v long history - it goes back many releases - on some it works on others it does not.

in my opinion this state of mind that has been publicly expressed by ..... (no names but it is there for everybody to see)

......'You're trying to use a floppy disk, in 2010, and then asking what you're doing wrong!? (-; '....

must stop once and for all.

does this kind of attitude/language serves ubuntu's best interests ? personally I do not think so. my answer to this 'pearl' was ....'sorry ........, not everybody must share your opinions .... as long as a device is present it must be recognized and render operational by the os. it is up to the user whether to use it or not. '......

however, if yes, than let it be known to all concerned that ubuntu does not support/has anything to do with any kind of floppy devices - they'll be pure and simple ignored.

is t

Revision history for this message
Martin Pitt (pitti) wrote :

NoOp [2010-08-31 2:20 -0000]:
> Can one of the devs listed in the assigned: Andy Whitcroft and
> Martin Pitt please explain the status?

You already summarized it pretty well. None of the devs have a floppy
disk, so debugging them is a pain (as much of a pain as floppy disks
are in the first place..) Personally, the last one I had was 2002..

So for now, I'm afraid that you have to use an older Ubuntu release
for now, or use the downgraded version for a while.

I'm sorry that this isn't the answer you are looking for, but it's the
current situation.

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Revision history for this message
peter b (b1pete) wrote :

Martin, I fully understand, from your angle - developer -, your personal opinion/point of view re ...'(as much of a pain as floppy disks are in the first place..)'....

however, I'm kindly asking you to make the effort and look at this issue from user's point of view as well as ubuntu's os present and future community needs and wishes.

It is a fact of life, like it or hate it, that floppy devices/floppy disks are still the primary devices most used in bootloaders/os recovery (all major ones fit very nicely on 1.44 floppies for this very reason), BIOS upgrade operations, and many, many other operations and reasons (for sure/I am convinced that you're aware of them, cost, elegance of code etc among them; there's no reason to list them all here).

all major pc manufacturers recognize the importance of floppy devices for the very reasons above listed and have floppy drives interfaces built on their motherboards; there are portable floppy drives that use usb interfaces for laptops/notebooks. sure there are users/oem's do not want/consider that such devices should be installed in the first place - it is their choice and they have to live with that. in this case, as said above ....'You're trying to use a floppy disk, in 2010, and then asking what you're doing wrong!? (-; '.... no doubt applies.

but, at the same time, there is a sizable number of users in the community that do have floppy devices installed and want to use them for their own reasons - it is their choice and I feel that that should be respected. so, the question is - should/must this community of users be deprived to enjoy the benefits of the very choice they made ? because the os, for whatever reason, does not recognize/configure properly the device ?.

Martin, going back to ...'None of the devs have a floppy disk, so debugging them is a pain'.... issue is a problem, then please allow me to offer you and Sebastien, (the two devs that I retain from this thread), two floppy drives complete with interface cables and 10 floppy diskettes absolutely free, just for the purpose of testing and debugging. or even faster and to the point action, please acquire locally in Germany the two floppy kits mentioned and send me an e-mail what the total cost was and I will cheerfully and immediately mail you a personal cheque of that amount. TU.

Revision history for this message
Martin Pitt (pitti) wrote :

Hello Peter,

peter b [2010-08-31 17:36 -0000]:
> Martin, going back to ...'None of the devs have a floppy disk, so
> debugging them is a pain'.... issue is a problem, then please allow me
> to offer you and Sebastien, (the two devs that I retain from this
> thread), two floppy drives complete with interface cables and 10 floppy
> diskettes absolutely free, just for the purpose of testing and
> debugging. or even faster and to the point action, please acquire
> locally in Germany the two floppy kits mentioned and send me an e-mail
> what the total cost was and I will cheerfully and immediately mail you a
> personal cheque of that amount. TU.

Thanks for the offer. However, I'm being paid for developing Ubuntu,
so if I'd get floppy drives, I'd certainly pay for them myself, or
expense them. Anyway, it'll be very hard to try and fit an IDE floppy
disk into a laptop :-), so at most this could be an USB drive; no idea
whether these are broken as well.

I guess another option would be to use kvm and an emulated drive.

So this by and large requires someone to spend half a day on. We
already tried to fix this twice, and each time it broke something
else. This is a really hard problem, I'm afraid, due to how floppies
work (or more importantly, what they are missing -- media change
interrupts).

Revision history for this message
FGTR4738 (knyuf56) wrote :

We've been following this bug just about since it was first reported. We are still using 9.10 with a workaround to support our floppy drivers. We have cameras that were about $1k each when new, still in use, but use a floppy drive, so it's not cost effective for us to stop using floppy drives. Hence, we are still at 9.10.

It appears to us that probably Ubuntu has no intention to support floppy drives. If so, it seems to us this should be clearly stated by Ubuntu. Right now, many are in the dark on this thinking this will eventually be fixed. If we knew it was definitely not going to be fixed it would make it easier to plan for the future.

In our opinion not fixing it because of a 1/2 days labor for a fix is not good, but it would be nice to have a solid direction from Ubuntu on this.

Thanks

Revision history for this message
Bob Kline (bkline) wrote :

  On 8/31/2010 2:01 PM, Martin Pitt wrote:
> .... it'll be very hard to try and fit an IDE floppy
> disk into a laptop :-), so at most this could be an USB drive; no idea
> whether these are broken as well.

Yep, same problem as with IDE floppy drives.

--
Bob Kline
http://www.rksystems.com
mailto:<email address hidden>

Revision history for this message
Ben Clevers (clevers-ben) wrote :

2010/8/31 NoOp <email address hidden>

> OK. I'm confused. Why is this bug marked as Invalid & Fix Released?
>
> It is clear that the "fix" from:
> <https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/539515?comments=all
> >
> is a regression & that the only way that users with floppys can get them to
> work is to back down to udisks 1.0.1-1build1.
>
> Can one of the devs listed in the assigned: Andy Whitcroft and Martin Pitt
> please explain the status?
> I find it odd that Ubuntu would forgo using a valid machine peripheral
> simply to appease those experiencing longer boot delays (10 to 30 seconds -
> 539515). A good portion of the world still use floppies.
>
> *Please* resolve this issue.
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a bug assignee.
>
> Status in obsolete project: Fix Released
> Status in GVFS: Unknown
> Status in “devicekit-disks” package in Ubuntu: Invalid
> Status in “linux” package in Ubuntu: Invalid
> Status in “udisks” package in Ubuntu: Fix Released
> Status in “devicekit-disks” source package in Lucid: Invalid
> Status in “linux” source package in Lucid: Invalid
> Status in “udisks” source package in Lucid: Incomplete
> Status in “devicekit-disks” source package in Karmic: Triaged
> Status in “linux” source package in Karmic: Invalid
> Status in “udisks” source package in Karmic: Invalid
>
> Bug description:
> In Karmic GNOME, floppies are detected correctly by linux, udev,
> devkit-disks, and gvfs. However, when clicking on the floppy icon in GNOME,
> you get a "no medium found" error.
>
> Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a
> correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive"
> instead, and no volume
>
> Dear Sir,
>

In the meantime I succeeded to solve the problem, I had to chance the
address in Ubuntu and now the sound works again.

Thanks for the trouble I made you.

With kind regards,

Ben Clevers.

Revision history for this message
peter b (b1pete) wrote :

Martin, nice to hear from you. after the above little digression back to the task at hand

....'so at most this could be an USB drive; no idea whether these are broken as well.'....

I have an eeePC900 and eeePC1000 both with SSD's as well as an acer laptop with amd64; all have the main lucid release udisks version installed NOT the regression to ....build1 (none of these 3 have any floppy drive/controller built in). the usb floppy drive that I'm using is a Sony model MPF82E and it was approx $25.

as you know, the usb floppy drives are enumerated and mapped to /dev/sdX and they work flawless on all 3 pc's - they can boot off floppy diskettes, can make recovery floppies etc with no problems whatsoever. the bios on all 3 pc's above support booting off floppies if esc entered at post.

on the desktop pc's where the floppy drives are connected to the mb floppy controller (this is the typical basic office pc found in probably 99% of companies and homes), the situation is a different , only the regression to udisks .....build1 enables and configures properly the device so that it can be used. my guess is that when the the mb interfaces are probed, the installed/uninstalled devices are enumerated and configured something is going amiss. the floppy drives from what I remember have a 34 pin interface, different than ide that I think has 40. from dmidecode I get this

Port Connector Information
 Internal Reference Designator: FDD
 Internal Connector Type: On Board Floppy
 External Reference Designator:
 External Connector Type: None
 Port Type: 8251 FIFO Compatible

as said in my #228 so far so good - my pc did not manifest any 'side effects' after the regression.

just a humble opinion Martin, I feel that every effort should be made to get this issue solved, as I said, once and for all, doesn't matter how hard it is and what it takes. I say this for the benefit of the community and ubuntu. It is v v hard to accept not only by me but I fell by a v sizable part of the community, that proprietary os's can do it and linux has problems with a basic device such as a floppy drive.

Martin, I'm always here and help you with testing and debugging whenever needed, just let me know.

Martin Pitt (pitti)
Changed in udisks (Ubuntu Lucid):
assignee: Martin Pitt (pitti) → nobody
status: Incomplete → Triaged
Changed in udisks (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
vmagnin (vincent-magnin) wrote :

To participate to the debate, sure the floppy is obsolete. But think to elder people who continue to use floppies: my 77 year old father is using ubuntu for several years and he is more comfortable with floppies than usb keys. It's like that, to follow new technologies can be very tiring or uninteresting for elder people...

And think also to poor countries where some people are perhaps happy to recycle old PCs of rich countries. Perhaps they use floppies ?

And surely a certain number of public schools in rich countries use old recycled PCs to teach little children.

So floppy technology is osbolete but perhaps more largely used than we could think. Ubuntu being "linux for human beings", my modest opinion is that it should still support floppies.

Sincerely yours
Vincent

Revision history for this message
peter b (b1pete) wrote :

Martin, looking through some manuals I found the fdd pin assignment on an intel mb (.pdf file attached); thought that it may help.

Revision history for this message
Johnathon Weare (jrweare) wrote :

Either:
1. release notes must include issue of deprecated support for floppies
(does not work), or
2. bug must be prioritised accordingly

If 2., then I suggest a high priority as floppies are actively used for:
a) BIOS updates
b) legacy files
c) supported has not been dropped by other equivalent OSs (I think)

J

On 1 September 2010 07:56, Martin Pitt <email address hidden> wrote:
> ** Changed in: udisks (Ubuntu Lucid)
>       Status: Incomplete => Triaged
>
> ** Changed in: udisks (Ubuntu Lucid)
>     Assignee: Martin Pitt (pitti) => (unassigned)
>
> ** Changed in: udisks (Ubuntu)
>       Status: Fix Released => Triaged
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
NoOp (glgxg) wrote :

Perhaps not related to this bug & I'll file a new one once this bug is sorted out if it's not, but I noticed that on a fully updated 10.4.1 Lucid (with the exception of udisks) I can no longer format a floppy via 'System|Administration|Disk Utility' or via Kfloppy, or Nautilus. When attempting to format to FAT via any of those I get:
Error creating file system: helper exited with exit code 1: Error calling fsync(2) on /dev/fd0: Input/output error

The only way that I can now format the floppy is using '$ usermount' provided via:
$ apt-cache policy usermode
usermode:
  Installed: 1.102-0.1
  Candidate: 1.102-0.1
  Version table:
 *** 1.102-0.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status
http://packages.ubuntu.com/lucid/usermode

That is of course in combination with:
$ apt-cache policy udisks
udisks:
  Installed: 1.0.1-1build1
  Candidate: 1.0.1-1ubuntu1
  Version table:
     1.0.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
 *** 1.0.1-1build1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Interesting that usermode works & the others do not.

Revision history for this message
Tibor Bősze (tibor-boesze) wrote :

I believe the situation is not so hopeless as some might feel. As I have stated i bug #599915:

Workaround: Mounting the floppy with the command "udisks --mount /dev/fd0" completes successfully, the mount shows up in /etc/mtab and the GUI also displays the icon, the floppy can be browsed etc, everything works. But there is no other (graphical) way to mount the floppy with udisks of version 1.0.1-1ubuntu1. At least I have not found any way to do so.

I do not want to suggest that going to the terminal should be the preferred way of mounting a floppy. I merely want to state that the command works, and one would have to analyze how comes the difference in behavior between running this command and clicking the GUI. It is backed by the same subsystem after all.

Addressing usability concerns, one can create a simple script with error handling / friendly popup messages, and put an icon onto the Desktop for any user who is not comfortable with commandline. Of course this is not more than a workaround.

I hope this helps.

Revision history for this message
Tibor Bősze (tibor-boesze) wrote :

I believe the situation is not as hopeless as some might feel. As I have
stated i bug #599915:

Workaround: Mounting the floppy with the command "udisks --mount /dev/fd0"
completes successfully, the mount shows up in /etc/mtab and the GUI also
displays the icon, the floppy can be browsed etc, everything works. But
there is no other (graphical) way to mount the floppy with udisks of version
1.0.1-1ubuntu1. At least I have not found any way to do so.

I do not want to suggest that going to the terminal should be the preferred
way of mounting a floppy. I merely want to state that the command works, and
one would have to analyze how comes the difference in behavior between
running this command and clicking the GUI. It is backed by the same
subsystem after all.

Addressing usability concerns, one can create a simple script with error
handling / friendly popup messages, and put an icon onto the Desktop for any
user who is not comfortable with commandline. Of course this is not more
than a workaround.

I hope this helps.

Cheers,
   Tibor

Revision history for this message
Arrigo Marchiori (ardovm) wrote :

In response to Tibor Bősze, comment #253:

>I do not want to suggest that going to the terminal should be the preferred
> way of mounting a floppy. I merely want to state that the command works, and
> one would have to analyze how comes the difference in behavior between
> running this command and clicking the GUI. It is backed by the same subsystem after all.

If I understood correctly, the latest udisks version always reports that "no media is present" in the floppy disk drives.

I suppose that when you click the floppy icon, Gnome asks usdisks if there is media in the drive. And the answer is always no.
The command "udisks --mount /dev/fd0" probably does not do the media check, and that is why it works.

See bug #539515 for the reasons behind the latest udisks patch.

Revision history for this message
Tibor Bősze (tibor-boesze) wrote :

> I suppose that when you click the floppy icon, Gnome asks usdisks if there is
> media in the drive. And the answer is always no.
> The command "udisks --mount /dev/fd0" probably does not do the media check,
> and that is why it works.

This is exactly my point. If clicking the floppy icon if Gnome "called" udisks the very same way the command "udisks --mount /dev/fd0" does, this bug would be fixed. This could either be addressed in udisks itself (to make the two types of invocations behave the same way) or Gnome (to issue a call that is in behavior identical to the command that is working properly).

Revision history for this message
bert07 (marien.bert) wrote :

Running Lucid desktop amd64.

I have the same problem.

Downgrading udisks helps, but is not really a solution.

Revision history for this message
bert07 (marien.bert) wrote :

Running Lucid desktop amd64.

I have the same problem.

Downgrading "udisks" helps, but is not really a solution.

Revision history for this message
bert07 (marien.bert) wrote :

Running Lucid desktop amd64.

I have the same problem.

Downgrading usdisks helps, but is not really a solution.

Changed in devicekit:
importance: Unknown → Medium
Changed in gvfs:
importance: Unknown → Medium
Revision history for this message
In , Ian Abbott (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.

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38817
udevadm info --export-db

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38818
udevadm info --export-db

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38821
/proc/self/mountinfo

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38822
/proc/self/mountinfo

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38823
udevadm info --export-d

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

Created attachment 38824
/etc/fstab

Revision history for this message
In , Ian Abbott (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

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

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

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

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

Revision history for this message
In , Ian Abbott (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

Revision history for this message
In , Ian Abbott (ian-abbott) wrote :

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

tags: added: maverick
Revision history for this message
Charlie Kravetz (charlie-tca) wrote :

Unfortunately, this issue is alive and exists in Ubuntu Maverick Meerkat. There appears to be no way to mount a floppy disk in Maverick, all attempts result in "No media found". The drive exists in both 'Places' and when opening 'Places -> Computer'. There is an entry in /etc/fstab for the floppy, as well as a directory in /media. Commenting out the /etc/fstab and restarting the system does not allow mounting. Trying to mount by opening a terminal and typing:
     sudo mount /dev/fd0 /media/floppy0
gives no error messages, but does not result in the floppy disk being recognized.

Revision history for this message
NoOp (glgxg) wrote :

Temporary workaround:

Download 1.0.1-1build1 from here:
https://launchpad.net/ubuntu/+source/udisks
Select the 1.0.1-1build1 and download your processor version; example
for 32bit:

<https://launchpad.net/ubuntu/+archive/primary/+files/udisks_1.0.1-1build1_i386.deb>

In Maveric: open a terminal to the download &:

$ sudo dpkg -i udisks_1.0.1-1build1_i386.deb

You'll then need to pin the package in Synaptic and apt-get. To pin in apt-get:
$ sudo -s
[your password]
# echo udisks hold | dpkg --set-selections
# exit
$ sudo apt-get update && sudo apt-get upgrade

Now when you use apt-get & have updates, you'll see:
Reading state information... Done
The following packages have been kept back:
udisks

To un-pin it (don't forget to do it in Synaptic as well):
$ sudo -s
[your password]
# echo udisks install | dpkg --set-selections
# exit
$ sudo apt-get update && sudo apt-get upgrade

Tested on 32bit 10.10 & usual disclaimer applies: use at your own risk.

Revision history for this message
peter b (b1pete) wrote :

well gents, it appears that the floppy issue is still alive in maverick; yesterday maverick amd64 final release installed and .... only the ...1build1 package is making the floppy problems disappear. is there a chance to get this working package in the main maverick repos ?

I used it for months on lucid without any apparent 'side effects'; are there any reasons to hold it back on maverick ?

Revision history for this message
Martin Pitt (pitti) wrote :

peter b [2010-10-11 17:02 -0000]:
> I used it for months on lucid without any apparent 'side effects'; are
> there any reasons to hold it back on maverick ?

Yes, see bug 539515 and previous comments here.

Revision history for this message
peter b (b1pete) wrote :

yes Martin, I fully understand your

.....'Thus
the BIOS and Linux still detect a /dev/df0, but once you want to talk
to it, there is never an answer (because there is no floppy behind
it), and thus the calls just time out.'.....

from #539515; I'm not a dev but logically thinking I ask myself though - would it be possible to put a timer of, say of 3-4 seconds (which is probably quite reasonable) to wait for an answer (iterations) on the call to the floppy device and based on the y or n received to configure/not configure the the device ?

Revision history for this message
psl (slansky) wrote :

U10.10, i386

I cannot mount floppy disk. No error but disk is not mounted.

$ sudo mount /media/floppy0/
mount: block device /dev/fd0 is write-protected, mounting read-only

$ mount | grep media

$ sudo umount /media/floppy*
umount: /media/floppy: not mounted
umount: /media/floppy0: not mounted

$ grep floppy /etc/fstab
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

Revision history for this message
psl (slansky) wrote :

I forget to notice that I think that floppy drive is OK, this is my evidence:

$ sudo dd if=/dev/fd0 | hexdump -C | head
00000000 eb 3c 90 4d 53 44 4f 53 35 2e 30 00 02 01 01 00 |.<.MSDOS5.0.....|
00000010 02 e0 00 40 0b f0 09 00 12 00 02 00 00 00 00 00 |...@............|
00000020 00 00 00 00 00 00 29 d1 29 7d 98 4e 4f 20 4e 41 |......).)}.NO NA|
00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 33 c9 |ME FAT12 3.|
00000040 8e d1 bc f0 7b 8e d9 b8 00 20 8e c0 fc bd 00 7c |....{.... .....||
00000050 38 4e 24 7d 24 8b c1 99 e8 3c 01 72 1c 83 eb 3a |8N$}$....<.r...:|
00000060 66 a1 1c 7c 26 66 3b 07 26 8a 57 fc 75 06 80 ca |f..|&f;.&.W.u...|
00000070 02 88 56 02 80 c3 10 73 eb 33 c9 8a 46 10 98 f7 |..V....s.3..F...|
00000080 66 16 03 46 1c 13 56 1e 03 46 0e 13 d1 8b 76 11 |f..F..V..F....v.|
00000090 60 89 46 fc 89 56 fe b8 20 00 f7 e6 8b 5e 0b 03 |`.F..V.. ....^..|

Revision history for this message
In , Atlant (datlant) wrote :

Created attachment 39751
simple patch

plz, test this patch !

Revision history for this message
Atlant (datlant) wrote :
Changed in udev:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Changed in linux:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Now the upstream bug is correctly linked.
Sorry for the mess.

Revision history for this message
In , Ian Abbott (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.

Revision history for this message
In , Ian Abbott (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.

Revision history for this message
In , Ian Abbott (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.

Revision history for this message
In , Atlant (datlant) 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

Revision history for this message
In , Ian Abbott (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.

Revision history for this message
mohican (mohican) wrote :

Confirm this bug under Maverick.

Media is detected correctly from a live-CD of Mandriva 2010.1

Revision history for this message
Nestor (nestor-esther) wrote :

Ubuntu 10.10 new installation
disquette display a messg: "could not be mounted, no support in the unit", no way I can enter it with genome.

I can copy and erase files in the disquette using the terminal.

I can copy and erase files using sudo nautilus,
openning /media and using the carpet floppy (under TYPE there is a label: "link to the carpet")

If I click on the sign

findings:
/media: floppy (clear blue) and floppy0 (dark blue)
/dev: fd0

nautilus:

Revision history for this message
Nestor (nestor-esther) wrote :

Ubuntu 10.10 new installation
disquette display a messg: "could not be mounted, no support in the unit", no way I can enter it with genome.

I can copy and erase files in the disquette using the terminal.

NAUTILUS
I can copy and erase files using sudo nautilus, but I have to click in the carpet named floppy in the right window of nautilus.
openning /media and using the carpet floppy (under TYPE there is a label: "link to the carpet")

In the window at the left, there is display of places:
root
Desk
File system
Network
cdrom0
floppy0
wastebasket

Clicking in floppy0 gives: "could not be mounted, no support in the unit"

WEIRD

findings:
/media: floppy (clear blue) and floppy0 (dark blue)
/dev: fd0
lsmod shows: floppy 54311 0

So, I think it may be a problem of symbolic links pointing to the wrong targets.

I do not have any idea how to change that.

Any help would be appreciated, thanks

Revision history for this message
Nestor (nestor-esther) wrote :

After losing the use to the diskette, today I found myself with the following surprise:

I have 1 DVD Write/Read
1 have 1 DVD / CDROM Write/Read

Genome ignore both of them

in /dev I have
fd0
sr0
sr1
scd0
scd1

in fstab

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0

/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

The disk utility of Ubuntu recognize both units but points out:

smart state: no support

I have a partition with WinXP, and the disquette and the DVD and DVD/CDROM work very well

any help? A virus?

Revision history for this message
Nestor (nestor-esther) wrote :

I did a new install of Ubuntu 10.10 Maverick
I can not mount the floppy, the situation remains the same.

Solution:
given that is not a fix available
given that the floppy is an obsolete media, by today's standards.....
given that the DVD and the DVD/CDROM works.....as long I don't try games with udisks and related soft...

The conclusion: I give up the floppys. All of them to the wastecan.

Thanks to all

Revision history for this message
Seppo Aarnio (seppo-aarnio) wrote : floppy

Try following command udisks --mount /dev/fd0 floppy in the drive.
Floppy icon appears.

To format and clean the floppy try mformat a:

Works fine in my desktop with ubuntu 10.04lts

Revision history for this message
Nestor (nestor-esther) wrote : FIXED: [Bug 441835] floppy

Thank you very much, it works fine

Great!

2010/11/5 Seppo Aarnio <email address hidden>

> Try following command udisks --mount /dev/fd0 floppy in the drive.
> Floppy icon appears.
>
> To format and clean the floppy try mformat a:
>
> Works fine in my desktop with ubuntu 10.04lts
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in obsolete project: Fix Released
> Status in GVFS: Unknown
> Status in The Linux Kernel: Invalid
> Status in udev - /dev/ management daemon: Invalid
> Status in abstraction for enumerating and managing block devices: Unknown
> Status in “devicekit-disks” package in Ubuntu: Invalid
> Status in “linux” package in Ubuntu: Invalid
> Status in “udisks” package in Ubuntu: Triaged
> Status in “devicekit-disks” source package in Lucid: Invalid
> Status in “linux” source package in Lucid: Invalid
> Status in “udisks” source package in Lucid: Triaged
> Status in “devicekit-disks” source package in Karmic: Triaged
> Status in “linux” source package in Karmic: Invalid
> Status in “udisks” source package in Karmic: Invalid
>
> Bug description:
> In Karmic GNOME, floppies are detected correctly by linux, udev,
> devkit-disks, and gvfs. However, when clicking on the floppy icon in GNOME,
> you get a "no medium found" error.
>
> Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a
> correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive"
> instead, and no volume
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/devicekit/+bug/441835/+subscribe
>

Revision history for this message
Nestor (nestor-esther) wrote :

Just to help the spanish speaking ubuntu users, I wrote a webpage about
the solution to the bug 441835t:

http://tayrona.org/ubuntu/No.se.pudo.montar.el.lugar.html

thanks again to Seppo for his help

Revision history for this message
Nestor (nestor-esther) wrote : How to do a script to mount floppy

Could it be possible to put the command:

*udisks --mount /dev/fd0*

 in a script so it can be executed from a icon placed in the top panel?

If so, would you be kind enough to email it to me?

Thanks again

2010/11/5 Seppo Aarnio <email address hidden>

> Try following command udisks --mount /dev/fd0 floppy in the drive.
> Floppy icon appears.
>
> To format and clean the floppy try mformat a:
>
> Works fine in my desktop with ubuntu 10.04lts
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>
>

Revision history for this message
Nestor (nestor-esther) wrote : I did this script to mount floppy, and works!

in a terminal I wrote:

*nano samplescript.sh*

it opens an editor, in the blank space I wrote:

*#!/bin/sh
**udisks --mount /dev/fd0

*then I saved* *the file in a carpet I named as Ubuntu.scripts as*
mountingfloppy.sh
*
Again in the terminal i give it the permits*
*
*chmod 777 **mountingfloppy.sh

*And then I placed an icon in the top panel executing this script*.

It works fine.

*The idea came after reviewing* *some multitask scripts*, *just after I sent
you an email asking for this sort of thing.*

*Sorry for the trouble. *
**

*

2010/11/9 Nestor Nunez <email address hidden>

> Could it be possible to put the command:
>
> *udisks --mount /dev/fd0*
>
> in a script so it can be executed from a icon placed in the top panel?
>
> If so, would you be kind enough to email it to me?
>
> Thanks again
>
>
>
> 2010/11/5 Seppo Aarnio <email address hidden>
>
>> Try following command udisks --mount /dev/fd0 floppy in the drive.
>> Floppy icon appears.
>>
>> To format and clean the floppy try mformat a:
>>
>> Works fine in my desktop with ubuntu 10.04lts
>>
>> --
>> Clicking on floppy gives "no device media found"
>> https://bugs.launchpad.net/bugs/441835
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>>

Revision history for this message
Torkil Olesen (torkilo-deactivatedaccount) wrote :

Floppy working in a live cd xubuntu 10.10

I have tried xubuntu 10.10 from live cd and got a floppy icon on the desktop. It could be mounted, opened and I could read a file, but not write (only root permission).
Later I have installed xubuntu desktop in an ubuntu 10.10 version. Here the floppy could not be mounted, and properties of the floppy drive says 8.9 GB free ???
I think this gives one more hint about the bug, which Canonical has not been able to solve during more than a year.

On the same Pc I have during a year used Poppy Linux 4.3.1., which starts from cd, works very fast from memory and have no problems with floppies.

Revision history for this message
Nestor (nestor-esther) wrote : Re: [Bug 441835] Re: Clicking on floppy gives "no device media found"
Download full text (3.6 KiB)

I use Ubuntu 10.10, 32-bit, computer i.386

I mount the floppy with the command:

(suggested by Seppo Aarnio)

udisks --mount /dev/fd0

I Click on the icon that appears on the desktop screen,
it opens a blank window

I pick up any file (smaller that 1MB, example an image.jpg) and I drop it on
the blank window.(Or drop it on the floppy icon) It stay there.

Then I check it by openning it with gimp or an image viewer, and it works.

I umount the floppy, take it out, put it back again, mount it

Then I check it by openning it with gimp or an image viewer, and it works
very well.

I can erase the file as a normal user.

I do all of this as user. Never as root.

Then to format the floppy, first I unmount it

second, I open a terminal and as root:

sudo mformat a:

and the floppy is formatted.
--------------------------------------------------

NOW the TEST, i use a live cd (ubuntu 10.10)....and I can read the floppy
content BUT I can NOT WRITE on it as normal user. I can write in it or erase
the files using sudo, like you wrote.

--------------------------------------------------

Probably the problem with the floppy recognition and function is the same
with the installed Ubuntu 10.10, I have to use a command new to the software
of Ubuntu 10.10 in order that the distro recognize the floppy. But for a
reason that I don't know the solution for the installed version does not
work 100% in the live installation. Maybe it is due to a partial install of
drivers in the live cd.

Sorry I can not help.

2010/11/10 Torkil Olesen <email address hidden>

> Floppy working in a live cd xubuntu 10.10
>
> I have tried xubuntu 10.10 from live cd and got a floppy icon on the
> desktop. It could be mounted, opened and I could read a file, but not write
> (only root permission).
> Later I have installed xubuntu desktop in an ubuntu 10.10 version. Here the
> floppy could not be mounted, and properties of the floppy drive says 8.9 GB
> free ???
> I think this gives one more hint about the bug, which Canonical has not
> been able to solve during more than a year.
>
> On the same Pc I have during a year used Poppy Linux 4.3.1., which
> starts from cd, works very fast from memory and have no problems with
> floppies.
>
> --
> Clicking on floppy gives "no device media found"
> https://bugs.launchpad.net/bugs/441835
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in obsolete project: Fix Released
> Status in GVFS: Unknown
> Status in The Linux Kernel: Invalid
> Status in udev - /dev/ management daemon: Invalid
> Status in abstraction for enumerating and managing block devices: Unknown
> Status in “devicekit-disks” package in Ubuntu: Invalid
> Status in “linux” package in Ubuntu: Invalid
> Status in “udisks” package in Ubuntu: Triaged
> Status in “devicekit-disks” source package in Lucid: Invalid
> Status in “linux” source package in Lucid: Invalid
> Status in “udisks” source package in Lucid: Triaged
> Status in “devicekit-disks” source package in Karmic: Triaged
> Status in “linux” source package in Karmic: Invalid
> Status in “udisks” source package in Karmic: Invalid
>
> Bug description:
> In Karmic GNOME, floppies are...

Read more...

Revision history for this message
Milan Niznansky (online-minosi-deactivatedaccount) wrote :

Guys I do NOT care what you at UBUNTU are smoking but it must be good.

After reading good part of this, it is clear to me that Floppy support is BROKEN BY PURPOSE per #271.

It is unacceptable that when one runs STUPIDLY BASIC CALL like "mount /dev/fd0 /dir" this call _silently_ fails and Devs consider it "well worth the desktop loading speedup".

Had enough of this not-usable-by-design. Upgrading to Debian A.S.A.P.

Sorry for the rant but this was a last straw. This culture of not-newest-thing-is-not-worth-our-time makes me sad.
It is precisely what will break Ubuntu's bone and keep Windows at the top.

Revision history for this message
J.G. (j.gorski) wrote :

undersign

Revision history for this message
peter b (b1pete) wrote :

well, Milan and Igor, I'm amazed for a v long time how this issue is treated on Ubuntu distros (by the way, this still IS a BIG ISSUE; why ? because when a client at the v first contact with Ubuntu sees that a BASIC device attached is not working is enough to just smile and say sorry, I'm happier with win and all its warts, and maybe, just maybe will mumble a see you later. everybody knows what that later means - never).

I am a a total loss to understand how these gents at the top of Ubuntu think about it; I mean the devs, Ubuntu's big boss and all concerned that try to convince the world that Ubuntu just works. Is there a hidden agenda or maybe a list somewhere at Ubuntu that specifies the devices to be installed and the ones deemed unworthy of Ubuntu os attention because they are 'too old' and hence unworthy of attention ?

Revision history for this message
Martin Pitt (pitti) wrote :

peter b [2010-11-25 17:39 -0000]:
> Is there a hidden agenda or maybe a list somewhere at Ubuntu that
> specifies the devices to be installed and the ones deemed unworthy
> of Ubuntu os attention because they are 'too old' and hence unworthy
> of attention ?

Yes, we deliberately want to break stuff, just to annoy users.

More seriously, that's how open source works -- if no developer is
interested in fixing something, it's hard to get done. And developers
tend to have and play with new hardware.. (i. e. it's already hard
these days to find a CD-ROM drive)

Revision history for this message
peter b (b1pete) wrote :

@ Martin,

the sad part is that the new, potential future ubuntu users are immediately/(or later when discovered) discouraged using it because of lack of support for the so called 'too old' devices; they will prefer instead using ms win.

Martin, pls do not look at what follows as an intrusion into your good efforts in resolving this issue; contrary, pls look at it strictly from future ubuntu users thoughts and minds re open source and its benefits vis-a-vis for pay proprietary os's

AND, not least at the current users community

you have the code related to this; I wrote code before quite extensively (for sure not in the latest and greatest languages but the basics are still there with little changes ) ; I may be wrong in this but pls check my thoughts out and take a look at the floppy drive/device probing procedure code and maybe introduce a timer in device call loop/iterations and based on the feedback (y or n) obtained introduce an if/else decision followed by a goto statement to the corresponding line of code that will either configure or not configure the device (or maybe call another file/s with the conf procedures). pls tell me what's your opinion - will it do the trick ?

Revision history for this message
Martin Pitt (pitti) wrote :

peter b [2010-11-25 21:12 -0000]:
> Martin, pls do not look at what follows as an intrusion into your good
> efforts in resolving this issue

To the contrary -- it seems this bug needs more thinking/involvement,
not less :-)

> basics are still there with little changes ) ; I may be wrong in this
> but pls check my thoughts out and take a look at the floppy drive/device
> probing procedure code and maybe introduce a timer in device call
> loop/iterations and based on the feedback (y or n) obtained introduce an
> if/else decision followed by a goto statement to the