Bug 43120
Summary: | Floppy keeps spinning forever after access, until disk is removed. | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Linards Ticmanis (ticmanis) |
Component: | Other | Assignee: | io_other |
Status: | NEW --- | ||
Severity: | normal | CC: | alan, corti, jikos, szg00000, ticmanis |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.4.0-rc3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | kernel messages |
Description
Linards Ticmanis
2012-04-18 15:59:18 UTC
The kernel where I first noticed the bug is the Ubuntu specific 3.2.0. Currently "uname -a" gives "Linux linards 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux". Please try to reproduce this bug with latest kernel image. The problem still persists. I've tried kernel 4.19.16 from Debian testing. The bug somehow lies in the logic for detecting a disk change. If I access the floppy the motor won't turn off. But if I force a disk change (ejecting and immediately inserting the floppy again) the motor turns off within about two seconds - as it should. Also, if I practically disable the disk change checks with "floppycontrol -C 2147483647" the motor turns off normally. So I suspect that frequently checking for disk changes without the floppy being changed keeps the motor in its current state. Created attachment 281133 [details]
kernel messages
The following kernel messages are repeated every two seconds (after which the motor should be turned off) when loading the module with floppy=debug
|