22.10.2018 22:49, Paul Groves пишет:
On 04/01/2018 10:22, Andrei Borzenkov wrote:
04.01.2018 12:06, Paul Neuwirth пишет:
KERNEL[487838.926954] add /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[487838.926986] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[487838.927021] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[487838.927054] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[487939.384425] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[488039.884765] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block) KERNEL[488039.895676] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host0/target0:0:3/0:0:3:0/block/sdc (block)
OK, this confirms that at the end it is kernel issue. You should really report it to kernel folks as true solution must be implemented in kernel driver.
So there are two issues - (initial) spin up and permanent stream of "change" events. To workaround the latter - try disabling periodic device polling in kernel:
echo 0 > /sys/block/sdc/events_poll_msecs
and check with "udevadm monitor" whether events stop.
For the former you can pass quirk parameter to scsi_mod; create /etc/modprobe.d/teac.conf (name is arbitrary) with:
options scsi_mod dev_flags=TEAC:FC-5:4096
Check /sys/block/sdc/device/{vendor,model} for correct values. This flag suppresses initial spin up of device. You will need to reboot (and do not forget you also need to recreate initrd as scsi_mod is most likely loaded there).
I know this is old but I had to use my floppy drive today to update a device firmware. I actually forgot about this issue. My workaround until now was to insert a broken floppy disk and it stopped the drive being polled.
I just tried: echo 0 > /sys/block/sdd/events_poll_msecs
as root and this workaround sorts out the problem until reboot.
udevadm monitor shows nothing before or after this command. by default /sys/block/sdd/events_poll_msecs is set to -1
This problem also exists on my dual boot of Ubuntu 18.04.1, on which the same workaround is working.
How can I make this workaround permanent?
You can create udev rule, you can create start-up script that runs on boot ...
Or has this been resolved and not released yet?
You mean you did not bother to report it in almost 2 years?
Running on latest LEAP
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org