Re: [PATCH SCSI] sr: check_events() ignore GET_EVENT when TUR says otherwise

Markus Rathgeb <[email protected]>
Newsgroups gmane.linux.hotplug.devel,gmane.linux.scsi
Message-ID <CAOcK=CM0+cv1AG8PMZey4Mh1bk0bWZPh+NnR6rK2T-Amw=eq8A@mail.gmail.com>
> I have 3.5 here and see the loop too, but it stops after a couple of seconds:
>
> first: KERNEL[15636.368034]
> last: KERNEL[15638.879796]

Ah, sorry then.
The udev messages reported by the udev monitor reported up to 20
seconds of udev (userspace) events. I did not filter kernel reported
messages.

# for SRC in KERNEL UDEV; do for CMD in head tail; do less udev.log |
grep ${SRC} | ${CMD} -n1; done; done

KERNEL[83579.700428] add      /devices/pci0000:00/0000:00:04.1/usb5/5-4 (usb)
KERNEL[83582.989470] change
/devices/pci0000:00/0000:00:04.1/usb5/5-4/5-4:1.0/host31/target31:0:0/31:0:0:1/block/sr1
(block)
UDEV  [83579.747646] add      /devices/pci0000:00/0000:00:04.1/usb5/5-4 (usb)
UDEV  [83601.504952] add
/devices/pci0000:00/0000:00:04.1/usb5/5-4/5-4:1.0/host31/target31:0:0/31:0:0:0/block/sdb/sdb1
(block)


I should also disable the dbus logging verbosity:
journald reported 494 complete dbus messages and 846 (475 + 371)
suppressed dbus messages.
That is really too much (but not your problem).

Thanks!!
journald.log.gz (application/x-gzip, 2 KB) - not displayed
udev.log.gz (application/x-gzip, 4.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.