[Bug 1456338] Re: USB floppy drive is running without floppy
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
I found a partial workaround to this problem: The solution has been tested under Ubuntu 14.04 and should work also on more recent versions of Ubuntu. This solution works only for the cheap Teac USB floppy controllers (for other usb controllers you will maybe have to adapt the solution yourself): In the terminal simply type lsscsi (if it's not installed type sudo apt- get install lsscsi): Output: [6:0:0:0]diskTEAC USB UF000x 0.00 If you don't see TEAC and USB UF000x when the floppy drive is connected, this solution is not for you. Create this file with administrative privileges : /etc/udev/rules.d/00-teacfloppy.rules Paste in this line: ACTION=="add", SUBSYSTEM=="block", ATTR{removable}=="1", ATTRS{idVendor}=="0644", ATTRS{idProduct}=="", ATTR{events_poll_msecs}="-1" Save and reboot. The drive will seek for a few seconds then the motor will quickly stop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
** Package changed: udev (Ubuntu) => systemd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
Maybe someone more familiar with udev can help. ** Package changed: udisks2 (Ubuntu) => udev (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
"udevadm monitor" (runned as root) output is in the attached file. I have stopped sddm before. ** Attachment added: "udevadm_output.txt" https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+attachment/5161168/+files/udevadm_output.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
Ok, so it is something that udev is doing. Run sudo udevadm monitor, then plug in the drive, and see what it outputs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
I stopped sddm, udisks, udev: sudo systemctl stop sddm sudo systemctl stop udisks2.service sudo systemctl stop systemd-udevd.service sudo systemctl stop systemd-udevd-control.socket sudo systemctl stop systemd-udevd-kernel.socket After connecting the floppy drive, it did not run (seemed not to be turned on). Then I used sudo systemctl start systemd-udevd-control.socket The same behaviour. I connected my smartphone to check if the USB port was powered - it was powered and the smartphone detected the USB connection. After "sudo systemctl start systemd-udevd-kernel.socket" and connecting the floppy drive, it started to run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
That does indicate that the problem is not in udisks. Try stopping udev as well before plugging in the drive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
> Ahh, ok.. try disabling udisks to see if that is the cause: > systemctl stop udisks2.service The wrong behaviour remained. Also when I booted in rescue mode (root shell), then resumed normal boot, stopped udisks2 and connected the device. Is it possible that the problem is in systemd? Now I have some old user configuration files (in /home) which I have not deleted when reinstalled the system. But if I logout, the problem with the device remains. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
Ahh, ok.. try disabling udisks to see if that is the cause: systemctl stop udisks2.service Then connect the drive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
> Does it also do the same if you plug it in and then boot the system normally? Yes. When a splash screen "kubuntu" is shown the drive starts "running forever". > But if you boot in rescue mode, then plug in the drive, it works normally > even after you resume the normal boot? No. I have tried to plug the floppy drive in rescue mode (root shell) and the exit from the root shell and resume normal boot. The drive started "running forever" during resuming normal boot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
Let me see if I have this right. If you boot the system normally and plug in the drive, it starts running forever. Does it also do the same if you plug it in and then boot the system normally? But if you boot in rescue mode, then plug in the drive, it works normally even after you resume the normal boot? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
I have installed Ubuntu 18.04 (after removal "/bin", "/usr" and some other directories on the root FS). The bug remains. If I boot into rescue mode ("Drop to root shell prompt") and connect the USB floppy drive without disk, it works normally. If I boot into rescue mode, select resuming normal boot and connect the USB floppy drive, the drive works with the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
What if you boot into rescue mode? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
I have attached the output of "udisksctl dump" and "udisksctl monitor" (launched as usual user, not root, before stopping udisks). I have stopped udisks using "sudo systemctl stop udisks2". The wrong behaviour has remained (floppy drive has runned without floppy disk). ** Attachment added: "udisksctl_dump.txt" https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+attachment/5071620/+files/udisksctl_dump.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
** Attachment added: "udisksctl_monitor.txt" https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+attachment/5071621/+files/udisksctl_monitor.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
What if you only shut down udidks? Can you post the output of udisksctl dump? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
The same problem in Ubuntu 17.10 (updated from previuos version). I tried to stop some systemd services, remove kernel modules, kill some processes and unmount some filesystems. There are output of lsmod, ps, mount (executed after stopping, removing modules and so on) below. The problem was not solved. Output of lsmod: Module Size Used by usb_storage69632 0 binfmt_misc20480 1 nls_iso8859_1 16384 1 fam15h_power 16384 0 k10temp16384 0 autofs440960 2 hid_generic16384 0 usbhid 49152 0 hid 118784 2 hid_generic,usbhid amdkfd188416 1 amd_iommu_v2 20480 1 amdkfd amdgpu 2007040 1 i2c_algo_bit 16384 1 amdgpu ttm94208 1 amdgpu drm_kms_helper167936 1 amdgpu syscopyarea16384 1 drm_kms_helper sysfillrect16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper fb_sys_fops16384 1 drm_kms_helper drm 356352 4 amdgpu,ttm,drm_kms_helper ahci 36864 2 libahci32768 1 ahci Output of ps: PID TTY TIME CMD 1 ?00:00:01 systemd 2 ?00:00:00 kthreadd 3 ?00:00:00 kworker/0:0 4 ?00:00:00 kworker/0:0H 6 ?00:00:00 mm_percpu_wq 7 ?00:00:00 ksoftirqd/0 8 ?00:00:00 rcu_sched 9 ?00:00:00 rcu_bh 10 ?00:00:00 migration/0 11 ?00:00:00 watchdog/0 12 ?00:00:00 cpuhp/0 13 ?00:00:00 cpuhp/1 14 ?00:00:00 watchdog/1 15 ?00:00:00 migration/1 16 ?00:00:00 ksoftirqd/1 18 ?00:00:00 kworker/1:0H 19 ?00:00:00 cpuhp/2 20 ?00:00:00 watchdog/2 21 ?00:00:00 migration/2 22 ?00:00:00 ksoftirqd/2 24 ?00:00:00 kworker/2:0H 25 ?00:00:00 cpuhp/3 26 ?00:00:00 watchdog/3 27 ?00:00:00 migration/3 28 ?00:00:00 ksoftirqd/3 30 ?00:00:00 kworker/3:0H 31 ?00:00:00 cpuhp/4 32 ?00:00:00 watchdog/4 33 ?00:00:00 migration/4 34 ?00:00:00 ksoftirqd/4 36 ?00:00:00 kworker/4:0H 37 ?00:00:00 cpuhp/5 38 ?00:00:00 watchdog/5 39 ?00:00:00 migration/5 40 ?00:00:00 ksoftirqd/5 42 ?00:00:00 kworker/5:0H 43 ?00:00:00 cpuhp/6 44 ?00:00:00 watchdog/6 45 ?00:00:00 migration/6 46 ?00:00:00 ksoftirqd/6 48 ?00:00:00 kworker/6:0H 49 ?00:00:00 cpuhp/7 50 ?00:00:00 watchdog/7 51 ?00:00:00 migration/7 52 ?00:00:00 ksoftirqd/7 54 ?00:00:00 kworker/7:0H 55 ?00:00:00 kdevtmpfs 56 ?00:00:00 netns 58 ?00:00:00 kworker/2:1 59 ?00:00:00 khungtaskd 60 ?00:00:00 oom_reaper 61 ?00:00:00 writeback 62 ?00:00:00 kcompactd0 63 ?00:00:00 ksmd 64 ?00:00:00 khugepaged 65 ?00:00:00 crypto 66 ?00:00:00 kintegrityd 67 ?00:00:00 kblockd 68 ?00:00:00 kworker/6:1 69 ?00:00:00 ata_sff 70 ?00:00:00 md 71 ?00:00:00 edac-poller 72 ?00:00:00 devfreq_wq 73 ?00:00:00 watchdogd 75 ?00:00:00 kworker/1:1 79 ?00:00:00 irq/25-AMD-Vi 81 ?00:00:00 kauditd 82 ?00:00:00 kswapd0 83 ?00:00:00 ecryptfs-kthrea 125 ?00:00:00 kthrotld 126 ?00:00:00 kworker/5:1 127 ?00:00:00 acpi_thermal_pm 132 ?00:00:00 ipv6_addrconf 145 ?00:00:00 kworker/4:2 162 ?00:00:00 charger_manager 206 ?00:00:00 scsi_eh_0 207 ?00:00:00 scsi_tmf_0 209 ?00:00:00 scsi_eh_1 210 ?00:00:00 scsi_tmf_1 211 ?00:00:00 scsi_eh_2 212 ?00:00:00 scsi_tmf_2 213 ?00:00:00 scsi_eh_3 214 ?00:00:00 scsi_tmf_3 215 ?00:00:00 scsi_eh_4 216 ?00:00:00 scsi_tmf_4 217 ?00:00:00 scsi_eh_5 218 ?00:00:00 scsi_tmf_5 222 ?00:00:00 scsi_eh_6 223 ?00:00:00 scsi_tmf_6 224 ?00:00:00 scsi_eh_7 225 ?00:00:00 scsi_tmf_7 231 ?00:00:00 ttm_swap 232 ?00:00:00 gfx 233 ?00:00:00 comp_1.0.0 234 ?00:00:00 comp_1.1.0 235 ?00:00:00 comp_1.2.0 236 ?00:00:00 comp_1.3.0 237 ?00:00:00 comp_1.0.1 238 ?00:00:00 comp_1.1.1 239 ?00:00:00 comp_1.2.1 240 ?00:00:00 comp_1.3.1 241 ?00:00:00 sdma0 242 ?00:00:00 sdma1 243 ?00:00:00 uvd 244 ?00:00:00 vce0 245 ?00:00:00 vce1 246 ?00:00:00 vce2 249 ?00:00:00 kworker/0:1H 250 ?00:00:00
[Bug 1456338] Re: USB floppy drive is running without floppy
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in udisks2. When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs. ** Package changed: ubuntu = udisks2 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
I have tried to log file access using fatrace during the USB floppy drive connection. ** Attachment added: Fatrace output during connection the drive https://bugs.launchpad.net/ubuntu/+bug/1456338/+attachment/4399839/+files/fatrace.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1456338] Re: USB floppy drive is running without floppy
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1456338/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456338 Title: USB floppy drive is running without floppy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1456338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs