Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
On Mon, Nov 24, 2014 at 06:41:39PM +, Bjarni Ingi Gislason wrote: On Sat, Oct 25, 2014 at 03:30:01PM +0100, Ben Hutchings wrote: On Fri, 2014-10-17 at 00:02 +, Bjarni Ingi Gislason wrote: On Wed, Oct 15, 2014 at 12:06:06AM +, Debian Bug Tracking System wrote: Thank you for filing a new Bug report with Debian. [...] -- 765426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765426 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems This bug report belongs most probably to the 'udev' package. Changing the group of '/dev/fd0' from 'disk' to 'floppy' causes 'eject' to shut off the floppy drive light after a few seconds, although some messages are shown. I believe that a floppy drive activity light is normally connected to the spindle motor, i.e. it indicates whether the disk is spinning. It is supposed to be turned off automatically by the driver when the drive is idle, and cannot be directly controlled by userland, so this doesn't make any sense to me. eject /dev/fd0 or floppycontrol --eject /dev/fd0 is now necessary to stop the disk spinning and then the floppy can be ejected mechanically as it is not software-controlled. The bug is therefore caused by creating the device with the wrong group. [...] I think that's a separate bug that exacerbates an underlying driver bug. This report should be reassigned to package udev or if a subject change is necessary be closed(?). I will then issue a new report to udev. The bug (regression) can be fixed in the file /lib/udev/rules.d/50-udev-default.rules. The (block) devices /dev/fd[0-9] shall be (as before) in the group floppy as a write-permission is necessary to spin the drive down. I reported the bug to the udev-package (#775 144). The behaviou was decleared as designed and the bug report closed. I added the missing line to /etc/udev/rules.d/91-permissions.local.rules to keep it permanent, and that should fix this bug permanently. -- Bjarni I. Gislason -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
On Sat, Oct 25, 2014 at 03:30:01PM +0100, Ben Hutchings wrote: On Fri, 2014-10-17 at 00:02 +, Bjarni Ingi Gislason wrote: On Wed, Oct 15, 2014 at 12:06:06AM +, Debian Bug Tracking System wrote: Thank you for filing a new Bug report with Debian. [...] -- 765426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765426 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems This bug report belongs most probably to the 'udev' package. Changing the group of '/dev/fd0' from 'disk' to 'floppy' causes 'eject' to shut off the floppy drive light after a few seconds, although some messages are shown. I believe that a floppy drive activity light is normally connected to the spindle motor, i.e. it indicates whether the disk is spinning. It is supposed to be turned off automatically by the driver when the drive is idle, and cannot be directly controlled by userland, so this doesn't make any sense to me. eject /dev/fd0 or floppycontrol --eject /dev/fd0 is now necessary to stop the disk spinning and then the floppy can be ejected mechanically as it is not software-controlled. The bug is therefore caused by creating the device with the wrong group. [...] I think that's a separate bug that exacerbates an underlying driver bug. This report should be reassigned to package udev or if a subject change is necessary be closed(?). I will then issue a new report to udev. The bug (regression) can be fixed in the file /lib/udev/rules.d/50-udev-default.rules. The (block) devices /dev/fd[0-9] shall be (as before) in the group floppy as a write-permission is necessary to spin the drive down. -- Bjarni I. Gislason -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
On Fri, 2014-10-17 at 00:02 +, Bjarni Ingi Gislason wrote: On Wed, Oct 15, 2014 at 12:06:06AM +, Debian Bug Tracking System wrote: Thank you for filing a new Bug report with Debian. [...] -- 765426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765426 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems This bug report belongs most probably to the 'udev' package. Changing the group of '/dev/fd0' from 'disk' to 'floppy' causes 'eject' to shut off the floppy drive light after a few seconds, although some messages are shown. I believe that a floppy drive activity light is normally connected to the spindle motor, i.e. it indicates whether the disk is spinning. It is supposed to be turned off automatically by the driver when the drive is idle, and cannot be directly controlled by userland, so this doesn't make any sense to me. The bug is therefore caused by creating the device with the wrong group. [...] I think that's a separate bug that exacerbates an underlying driver bug. Ben. -- Ben Hutchings Power corrupts. Absolute power is kind of neat. - John Lehman, Secretary of the US Navy 1981-1987 signature.asc Description: This is a digitally signed message part
Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
On Wed, Oct 15, 2014 at 12:06:06AM +, Debian Bug Tracking System wrote: Thank you for filing a new Bug report with Debian. [...] -- 765426: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765426 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems This bug report belongs most probably to the 'udev' package. Changing the group of '/dev/fd0' from 'disk' to 'floppy' causes 'eject' to shut off the floppy drive light after a few seconds, although some messages are shown. The bug is therefore caused by creating the device with the wrong group. The 'MAKEFLOPPIES' program in 'fdutils' makes the floppy devices belong to the group 'floppy'. After some search I found analogous lines for a 'block' device in '/lib/udev/rules.d/50-udev-default.rules'. SUBSYSTEM==block, GROUP=disk SUBSYSTEM==block, KERNEL==sr[0-9]*, GROUP=cdrom Adding SUBSYSTEM==block, KERNEL==fd[0-9]*, GROUP=floppy created the floppy device with the right group. -- Bjarni I. Gislason -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 reassign 765426 linux thanks This wouldn't have anything to do with mount or util-linux since it is the kernel that controls the ancient and long obsolete floppy disk drive. It also seems rather unlikely that it would have a bug at this point and troubleshooting such a thing is extremely difficult ( even if someone capable still has a floppy drive, which they stopped putting in computers about 10 years ago ) so this is likely going to never be resolved and chalked up as broken hardware, but I'll leave that up to the kernel guys. On 10/14/2014 8:02 PM, Bjarni Ingi Gislason wrote: Package: mount Version: 2.25.1-4 Severity: normal Dear Maintainer, * What led up to the situation? Case described in Debian bug nr. 763668 * What exactly did you do (or not do) that was effective (or ineffective)? Put a floppy into the drive, mounted, changed to the mounted directory, read some files, and unmounted the floppy. * What was the outcome of this action? Floppy directory was unmounted, but the light for the drive was still on and there was still a slight humming, indicating that the floppy was still rotating. This continued until the computer was switched off. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (MingW32) iQEcBAEBAgAGBQJUPnWIAAoJEI5FoCIzSKrwp3sH/ijLWoomozSuta9GuLeG+Ptw hYoGu0CmskzqT2bwGWQb77q+P55KskGZwHe+8Xm9ATvOvsF3qyvaqowRpkIE9bMO 2kcDmcnTukwAYVof1EwF2cDDfPfPxCk05KeTccx4f1cx3DA9Aklzbe/fNW+Pvbb3 Le4OQNSEB5B8UPsfiCVvASS0e+/bfr5LbqmK29O6yt84ZR/LLEQW25nulrpoxzm6 RWK0HSOn6xVQ3QiS//c7sMgHiVEwctaAok7YXOxQu8fQl5ht+XLYN+eV0F4oSDBH KxjkRCgjuxiicUfrKmcmfK16KVAg2cy1B+ObF5GTJlw3y2DdXJH8hOOWLwTvSns= =jp9o -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#765426: umount; floppy light and humming still present after umount and even after shutdown
Package: mount Version: 2.25.1-4 Severity: normal Dear Maintainer, * What led up to the situation? Case described in Debian bug nr. 763668 * What exactly did you do (or not do) that was effective (or ineffective)? Put a floppy into the drive, mounted, changed to the mounted directory, read some files, and unmounted the floppy. * What was the outcome of this action? Floppy directory was unmounted, but the light for the drive was still on and there was still a slight humming, indicating that the floppy was still rotating. This continued until the computer was switched off. * What outcome did you expect instead? Floppy light would go out, humming stop and it would be all right to manually eject the floppy. -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i586) Kernel: Linux 3.2.60-rt87-2 Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages mount depends on: ii libc6 2.19-11 ii libmount1 2.25.1-3 ii libselinux12.3-2 ii libsmartcols1 2.25.1-3 mount recommends no packages. Versions of packages mount suggests: pn nfs-common none -- no debconf information -- Bjarni I. Gislason -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org