From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6F47C35250 for ; Sat, 8 Feb 2020 16:11:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7AA64227BF for ; Sat, 8 Feb 2020 16:11:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="AEAUaxNb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727446AbgBHQLs (ORCPT ); Sat, 8 Feb 2020 11:11:48 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:19299 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbgBHQLs (ORCPT ); Sat, 8 Feb 2020 11:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1581178306; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:References:Cc:To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=PdihAqfeKD54YbNb2He1peHtwOFZYOu4uAedog826qA=; b=AEAUaxNbKley/K+oKhuXYA2tWJik6bk72dVOauWRCwLBvaQUgtJRxLTlEMPNEtzc+H e5oMnN52VcSbuVcqAigGPQdkVqff+nVAGuaBGsp2w6IBPfuhG9FeaTf4RMoFdbgETZJy 4/9DKqqWeRwsaTATZZNGtgeqOCGJwwx1lHgKThFvqwQcZPCHOimUiQ4BG7vwxCl1leNr GojqKLT+6+m7+DypD7vwDM0Cu6r+sJ4bHP+DiEWVo2Z6ht3vMFg8T8h0XKDw0Iagofti obxBIS8Q2VTdB1NWRAuKHynthhBIYtjj69HAXxTTMJ/BzLFqY1l/HdMZ3axQ/ODW0IAG xpFw== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPgBLiaxlASBVL8WJv/OkCrDe9HRcQ==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:89c0:ebfc:b8e6:ddd1:f1d2:d845] by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id 40bcf3w18G8eit4 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 8 Feb 2020 17:08:40 +0100 (CET) Subject: Re: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device From: Christian Zigotzky To: Arnd Bergmann Cc: Michael Ellerman , Jakub Kicinski , Christophe Leroy , DTML , Darren Stevens , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, "contact@a-eon.com" , "R.T.Dickinson" , Christoph Hellwig , mad skateman , "netdev@vger.kernel.org" , Christian Zigotzky References: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Message-ID: Date: Sat, 8 Feb 2020 17:08:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08 February 2020 at 07:59 am, Christian Zigotzky wrote: > >> On 7. Feb 2020, at 18:08, Arnd Bergmann wrote: >> >> On Fri, Feb 7, 2020 at 3:34 PM Christian Zigotzky >> 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 > Hi Arnd, > > Thanks a lot for your patch! I will test it as soon as possible. > > Cheers, > Christian Hi Arnd, I successfully compiled the latest Git kernel with your patch today. The avahi daemon works fine now. That means your patch has solved the avahi issue. Thanks for your patch and have a nice weekend! Cheers, Christian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0D62C35250 for ; Sat, 8 Feb 2020 16:10:51 +0000 (UTC) Received: from lists.ozlabs.org (unknown [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 669E620661 for ; Sat, 8 Feb 2020 16:10:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="GFUfvb+Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 669E620661 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48FHG10dkyzDqbG for ; Sun, 9 Feb 2020 03:10:49 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48FHD965ffzDqWT for ; Sun, 9 Feb 2020 03:09:13 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=GFUfvb+Z; dkim-atps=neutral Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) by bilbo.ozlabs.org (Postfix) with ESMTP id 48FHD90pJCz8sk5 for ; Sun, 9 Feb 2020 03:09:13 +1100 (AEDT) Received: by ozlabs.org (Postfix) id 48FHD9082Mz9sRR; Sun, 9 Feb 2020 03:09:13 +1100 (AEDT) Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo6-p01-ob.smtp.rzone.de (client-ip=2a01:238:20a:202:5301::3; helo=mo6-p01-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=GFUfvb+Z; dkim-atps=neutral Received: from mo6-p01-ob.smtp.rzone.de (mo6-p01-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5301::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48FHD81hKXz9sRQ for ; Sun, 9 Feb 2020 03:09:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1581178146; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:References:Cc:To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=PdihAqfeKD54YbNb2He1peHtwOFZYOu4uAedog826qA=; b=GFUfvb+ZwZcPLaeP/tiRtTW46ywyj5clteoyC5jXMGNDCfiCKQCKpP/dLZy67CFyik oDw7L9dkaOHSdZ6YfcxqF1VPbZAjX21XMi64gXgnhXLS3Lkd7YzEH6fvuzcyttYyHHF+ PYo05pL0WY0K1ojkaPqwSq6FCVHKcpd5c6slmKigQ5dSOBFNAVQPXA2iTCxwEAWbGEO6 OXyzShrX8y3SJ2p/k2PmIN7X3cO7BXMtx68LHX8BtJeqd9TTKFBCct44ym2Z+v9SpVly pkkmQ7TJapxKVibfBta24i9sffKcjxfRX0XWlGkjEOVueeXwfy9eG3wZ8GLnsdUtJMJH /15g== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPgBLiaxlASBVL8WJv/OkCrDe9HRcQ==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:89c0:ebfc:b8e6:ddd1:f1d2:d845] by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id 40bcf3w18G8eit4 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 8 Feb 2020 17:08:40 +0100 (CET) Subject: Re: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device From: Christian Zigotzky To: Arnd Bergmann References: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Message-ID: Date: Sat, 8 Feb 2020 17:08:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: DTML , Darren Stevens , mad skateman , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, "contact@a-eon.com" , "R.T.Dickinson" , "netdev@vger.kernel.org" , Jakub Kicinski , Christoph Hellwig , Christian Zigotzky Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 08 February 2020 at 07:59 am, Christian Zigotzky wrote: > >> On 7. Feb 2020, at 18:08, Arnd Bergmann wrote: >> >> On Fri, Feb 7, 2020 at 3:34 PM Christian Zigotzky >> 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 > Hi Arnd, > > Thanks a lot for your patch! I will test it as soon as possible. > > Cheers, > Christian Hi Arnd, I successfully compiled the latest Git kernel with your patch today. The avahi daemon works fine now. That means your patch has solved the avahi issue. Thanks for your patch and have a nice weekend! Cheers, Christian