Bug 766010
Summary: | System is unable to automount floppy disk (1.44 Mb.) from usb-floppy external device | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alberto Chiodi <napoorsocapo> | ||||||
Component: | udev | Assignee: | udev-maint | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 15 | CC: | achrisjo, harald, jonathan, tbzatek, udev-maint | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-08-07 20:06:29 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Alberto Chiodi
2011-12-09 21:07:49 UTC
*** Bug 761259 has been marked as a duplicate of this bug. *** No answer ? Alberto Chiodi Created attachment 549318 [details]
usb-floppy vendor exception rules
place it in /etc/udev/rules.d with file permissions as other files in that folder and mkdir /media/floppy.
(In reply to comment #3) > Created attachment 549318 [details] > usb-floppy vendor exception rules > > place it in /etc/udev/rules.d with file permissions as other files in that > folder and mkdir /media/floppy. Thanks, if this really helps to solve the issue, please reassign the bugreport to udev. gnome-vfs2 has been dead for some time and so is hal. If there are problems mounting the drive in Gnome, it should go either to gvfs or udisks components. Created attachment 549397 [details]
Added reporters drive - which he could check
Doing some guessing, as I noticed this was made by Sony.
(In reply to comment #4) I just had too many floppies to check through, so it was too stupid and cumbersome mount/unmount all the time. Spent too much time on this, and I probably will have forgotten what I did when I upgrade Fedora to a newer version. Just an amateur, and I got stuck with the "polling" issue - hope someone have a clever idea. I create in /etc/udev/rules.d file 81-Sony-usb-floppy.rules with the line created by Arne: ATTRS{vendor}=="SONY*", ATTRS{model}=="USB-FDU*", GROUP="floppy", ENV{ID_DRIVE_FLOPPY}="0" To avoid every problems I rebooted the system and I tested Arne's solution. It perfectly works for me. I connect my usb floppy drive and I can read in dmesg: usb 1-1.3: new full speed USB device number 5 using ehci_hcd [ 110.120502] usb 1-1.3: New USB device found, idVendor=054c, idProduct=002c [ 110.120507] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 110.120511] usb 1-1.3: Product: USB Floppy Drive [ 110.120513] usb 1-1.3: Manufacturer: Sony [ 110.257548] Initializing USB Mass Storage driver... [ 110.259295] usb-storage 1-1.3:1.0: Quirks match for vid 054c pid 002c: 1 [ 110.259414] scsi8 : usb-storage 1-1.3:1.0 [ 110.259514] usbcore: registered new interface driver usb-storage [ 110.259516] USB Mass Storage support registered. [ 111.274188] scsi 8:0:0:0: Direct-Access SONY USB-FDU 7.03 PQ: 0 ANSI: 0 CCS [ 111.274259] scsi: killing requests for dead queue [ 111.274331] scsi: killing requests for dead queue [ 111.274388] scsi: killing requests for dead queue [ 111.274502] scsi: killing requests for dead queue [ 111.274595] scsi: killing requests for dead queue [ 111.274685] scsi: killing requests for dead queue [ 111.274776] scsi: killing requests for dead queue [ 111.274832] scsi: killing requests for dead queue [ 111.275657] sd 8:0:0:0: Attached scsi generic sg2 type 0 [ 111.354106] sd 8:0:0:0: [sdb] Attached SCSI removable disk [ 137.529017] sd 8:0:0:0: [sdb] 2880 512-byte logical blocks: (1.47 MB/1.40 MiB) [ 137.560993] sd 8:0:0:0: [sdb] No Caching mode page present [ 137.560998] sd 8:0:0:0: [sdb] Assuming drive cache: write through [ 137.624954] sd 8:0:0:0: [sdb] No Caching mode page present [ 137.624959] sd 8:0:0:0: [sdb] Assuming drive cache: write through [ 137.720892] sdb After the insertion of a floppy appear on my desktop the contents of the disc. At the same time I can see in dmesg appear the line: SELinux: initialized (dev sdb, type vfat), uses genfs_contexts N.B. For this first trial I didn't create directory /media/floppy as recommended by Arne. Now I can say that it is unnecessary. My floppy has been automounted in directory /media/4c42-3c87 with this serial number as system usually does for every filesystem (usb or others) with no label Now: for me I think that my personal problem has been solved by Arne. For all users: I have to reassign this bugreport to udev as required by Tomáš Thanks to all (and Merry Christmas) Alberto Chiodi *** This bug has been marked as a duplicate of bug 770247 *** Merry Christmas, Alberto Nice to hear it worked. Also, it is correct that you don't need the mountpoint /media/floppy, as in fact - it is no longer used, because we tell that this drive is NOT a floppy ( ENV{ID_DRIVE_FLOPPY}="0" ). In my case, ejecting the floppy cause it to constantly move the reading head to track-0 during the polling. Had it been a scsii drive, then that may make some sense.. It may be different with another drive and software version then mine. reassigning this bug to udev *** Bug 770247 has been marked as a duplicate of this bug. *** This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |