Re: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device

From: Arnd Bergmann
Date: Fri Feb 07 2020 - 12:08:22 EST


On Fri, Feb 7, 2020 at 3:34 PM Christian Zigotzky
<chzigotzky@xxxxxxxxxxx> wrote:
>
> Hello Arnd,
>
> We regularly compile and test Linux kernels every day during the merge
> window. Since Thursday last week we have very high CPU usage because of
> the avahi daemon on our desktop Linux systems (Ubuntu, Debian etc). The
> avahi daemon produces a lot of the following log message. This generates
> high CPU usage.
>
> Error message: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device
>
> strace /usr/sbin/avahi-daemon:
>

Thanks a lot for the detailed analysis, with this I immediately saw
what went wrong in my
original commit and I sent you a fix. Please test to ensure that this
correctly addresses
the problem.

Arnd