On Fri, 19 Jan 2018 17:36:22 +0300
Andrei Borzenkov <arvidjaar(a)gmail.com> wrote:
On Fri, Jan 19, 2018 at 3:14 PM, Paul Neuwirth
<mail(a)paul-neuwirth.nl> wrote:
On Fri, 19 Jan 2018 14:17:48 +0300
Andrei Borzenkov <arvidjaar(a)gmail.com> wrote:
> So did any of my suggestion help?
>
> On Fri, Jan 19, 2018 at 1:57 PM, Paul Neuwirth
> <mail(a)paul-neuwirth.nl> wrote:
> > On Thu, 4 Jan 2018 13:22:39 +0300
> > Andrei Borzenkov <arvidjaar(a)gmail.com> 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
> >>
...
both methods did not work, yet.. but I did not reboot yet.. I
don't
Well, I expect this does not require reboot. Can you confirm that the
value is still 0?
# echo 0 > /sys/block/sdc/events_poll_msecs
# cat /sys/block/sdc/events_poll_msecs
0
# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[523053.824420]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523053.834769]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) UDEV [523154.250415]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523154.268823]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523254.727839]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523254.738130]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) UDEV [523355.196902]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523355.213367]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523455.684259]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) KERNEL[523455.694681]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block) UDEV [523556.149346]
change
/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc
(block)
[...]
# cat /sys/block/sdc/events_poll_msecs
0
--
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org