From nobody Wed Feb 2 22:05:08 2022 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4770D19A594F for ; Wed, 2 Feb 2022 22:05:14 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JpwpL1Nlmz54TG; Wed, 2 Feb 2022 22:05:14 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643839514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ABPH6px9H+5uqwJJGzfXcD0JfT34jndWcjJ6T/ewe9c=; b=GgcdS97lGjyMtsiEL7qgCzyPhmugidQeUFIpIpaw0nAq6HO9HqbFDBpBkRYeI7DwXrqFdW D33WU1RWp7n6JPAh841aPTS0Q/hr8jRVFTHLmbCZAffHFAYJUnm6hgiRzNHZvD4yn5VPHr lFnviqPRmN3QjwPG0z9GRJinN0BB1znt/FFhXt4okjDFNVDEan0+cvGiaMSL5/oGvlzaUO pPtG1HzREZpCF8UH5ofgQ2CYRNXN6/4canEPgsXZ/jcjXtgnt+mn2+2TRXn7Z5d/1vfRtW YGfLQSbamni4DRIQ9Fim8UXNLa+KQZjjF+twZTPoijUlp37r0spscA89kRbKjA== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D6EF1DE9F; Wed, 2 Feb 2022 22:05:13 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 684A98D4A214; Wed, 2 Feb 2022 22:05:11 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id F33AEE7082D; Wed, 2 Feb 2022 22:05:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id DcP7X-vjdTJZ; Wed, 2 Feb 2022 22:05:09 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5BBBDE7082F; Wed, 2 Feb 2022 22:05:08 +0000 (UTC) Date: Wed, 2 Feb 2022 22:05:08 +0000 (UTC) From: "Bjoern A. Zeeb" To: Takashi Inoue cc: freebsd-wireless@freebsd.org Subject: Re: arp error message In-Reply-To: Message-ID: References: <0e56cb56-10ea-3194-4595-01dfe27daa51@nihon-u.ac.jp> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643839514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ABPH6px9H+5uqwJJGzfXcD0JfT34jndWcjJ6T/ewe9c=; b=a4JD/zDDkzw6/+CyeLJGIL43ehEFPt8dvw3i98ANfF/qaKAOCDD3KLWsnbbTV5bZ5HnZIL AvoNgqZ/gCi/b1omrSfpiJESyoahbu45UQN68CQYpP+z40hIBvaFTnv27Q0mmKdERy4qm4 ap6qVosdpc2OE+HFcwWP6XelXiycS4VDiRGJrD88OFxqtF0oFsCKnM3oX4MHZawlNuf//u MrQ9NjdYALMKKoQDEUgIRfHITyG8IV7AN9HnqIKiUe6a9K0ku/6pt5b8HD+bLDvSOvwVmS QMkzqSWep49sAChNOwA6xx1rxJApXnL2DeOptcVh3Bf7m1sGAn4BdL0gAgtPyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643839514; a=rsa-sha256; cv=none; b=hGSURX17bfaeH1C8BuAfcIC3uxCo/UyFqyxSnF9LTRouFz5RJiBgyb1z084KpnXurUaDoD 35BEgzQWzTWlVvJshSdcS3KdJpLdJy6cQz3kxwiQRKSe5eGBY3iyoYcH6TC38ZiQyIRKfG Eyiz8DIC3fM/22R/Aq5SmtLCT2jsOjtbXSm1ZKwUTBCdUzGrAkJ5MnnY7W2uq4/SARLu3U yEAq5qXEZ+r9i3oNpSq3bIrXaU+ndvl7ONI63wenyBVtKwdZpfKI9NVX6hSw1Ui53NP7Nf Rhtm19+muFBif4JSMA3W+MAUPGo8NGKM9RPtUPgSDgYFsRBGwZmsjT+boLg2xQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Thu, 3 Feb 2022, Takashi Inoue wrote: > Hi Chadd and All, > > Thanks. I was asleep. > > BTW, I wish that a treatment of the endless repeated message > in any way is implemented in release. ARP_LOG is behind a sysctl; you can just sysctl net.link.ether.arp.log_level=0 to quiten them all. It's alos behind ppsratecheck so it should be throttled. > Dose someone can do this? Question: which driver is this with as that may help figuring the problem out? Is this iwlwifi because then that is likely a problem there and I should figure out what's going wrong. Best Regards, Bjoern > Best, > T.Inoue > > > > On 2/3/22 04:59, Adrian Chadd wrote: >> Just comment out the AR_LOG line. Use '//', not '#'. >> >> >> -a >> >> On Wed, 2 Feb 2022 at 11:17, Takashi Inoue >> wrote: >>> >>> Hi all, >>> >>> I want to ask a favor to you. >>> It may not concern wireless network directly. I'm sorry for this. >>> I am using 13-STABLE ISO at 13th Jan. >>> >>> I get the following message in dmesg many many times repeatedly, lets >>> say, every one second. >>> >>> arp: packet with invalid ethernet address length 0 received on wlan0 >>> >>> According to a Google search, the reason of this may be in my network >>> environment. >>> But, I cannot change it. So, I want to stop the message by re-compiling >>> kernel(module). >>> >>> I am going to modify /src/sys/netinet/if_ether.c around line 730. >>> I am thinking just comment out the ARP_LOG function lines, like >>> --------------------------------------------------------- >>> if (hlen != 0 && hlen != ar->ar_hln) { >>> # ARP_LOG(LOG_NOTICE, >>> # "packet with invalid %s address length %d received on >>> %s\n", >>> # layer, ar->ar_hln, if_name(ifp)); >>> m_freem(m); >>> return; >>> } >>> ---------------------------------------------------------- >>> >>> Do I have better to cut(comment out) the whole the if(){} part? >>> Or, do you have a any better solution to suppress or reduce the message? >>> Please give me some advice. >>> >>> Best, >>> T. Inoue >>> > > -- Bjoern A. Zeeb r15:7