From owner-freebsd-arm@freebsd.org Wed Apr 17 17:33:34 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93E431573B9B for ; Wed, 17 Apr 2019 17:33:34 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5D8E8A80A for ; Wed, 17 Apr 2019 17:33:33 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1555522412; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=EFyftP4uMQ1rbXhXKXpmZtRc9doOhjP386EiymAP2hkx9TuY3BIWCgesw57hoLjICg8wqn5p6hvQP ViZvNDvMRnRZqQfvvGeUmWVsRKwQNhFW4FPqE1j5vQGH4plEcidIze2Ow8v3j61sjShh0Oxu/RyzZm 3EKs/2KGrBBc1KNwEPrEnGVgraI9988dama8WVZdlvV1yEt244x052WuNfuKYEtA4bYigu/eA+ZjNN GLABCiwSkIx0s+FTIw+kty2AGWGRj8w4eOf+snvgce+D6LPdPhAMjpoJ70B/2cyiuzRjvi+YeztJMI HbtIapmkJW6TPGUx6geOCo5d9ScLWkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=XUtxjrYSPofjEA0FEUccpK83UdZmMIQ9NU/Te5sg1aI=; b=ihzmKVrVPHWj6I1kiNmkUvRtRpqwiaF2+JO3MdS7HopMjGgizdnCiT7AtqAV21TuViAL2KgMLGTUH /sp5XUv/5khwQXteuWO68Ns4MvKEAwVC63OroCtFVfHNnKewCbzR1YB3KQ4bL+21lp93BrkT44lNvj vtp0ygXGNV3RniOtGff/rLyGnPj4brWLW7J6ptnumbody7Rocd65KxwygErW/dbxR2/r9nWBLt+ZZE xBowgUk/gO7egJfiXYVcMRyJyAjewHsoSTWq4WxYgSII+jClXytM3xqgMs0S16O4g/g/iQGEFt1des b0RaOCxHr7NGpKiVHyeWfsTOAu0Ixlw== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=XUtxjrYSPofjEA0FEUccpK83UdZmMIQ9NU/Te5sg1aI=; b=pH9D/m+sokYMBNNFjK28Jt82cEBUpHQKpyvn6L/Zk2Fjgxj/QzQXQfslSGzTpS006PnuZwu1CAVcM WJo2a9fk4kvAmvJcf31Jdnn9mr7tbZIWedOM1elTzgIm29NTHHkQBeWl5r3J7EzlVSEnow/A9+H7A0 Q62bzGjUCmlgis/mcsWo8DP+T+/dNZx2bSYUn6LFhDU5LghysVl90YI2LLy/SqNH0QOeNqTZfHVhZR AwuA6l8mNajVGSQKplKRBO2d4PlveR4j/8iAX0tJ2D/uBcHyEZgBaTsIPKv+bkPpoaYWrJyCp+wh// AzMwnPNCY/Fcy2h8qU3IAL9JbOZuy4A== X-MHO-RoutePath: aGlwcGll X-MHO-User: eaf2cae8-6136-11e9-919f-112c64a8cf29 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id eaf2cae8-6136-11e9-919f-112c64a8cf29; Wed, 17 Apr 2019 17:33:31 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x3HHXUN5047217; Wed, 17 Apr 2019 11:33:30 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <6e5e9c101aa35da0bf449bd8e407b8110a2ad382.camel@freebsd.org> Subject: Re: interrupt storm detected From: Ian Lepore To: Balanga Bar , freebsd-arm@freebsd.org Date: Wed, 17 Apr 2019 11:33:30 -0600 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: D5D8E8A80A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2019 17:33:34 -0000 On Wed, 2019-04-17 at 19:23 +0100, Balanga Bar wrote: > After building FreeBSD 12.0-RELEASE for ARM I managed to boot up my > GoFlex > Home booting up without getting kernel panics which I did with 11.2, > but > instead I get a msg every second or so saying:- > > interrupt storm detected on "intr13:" throttling interrupt source > > After some experimenting I managed to run vmstat -i which showed:- > > interrupt total rate > irq1: timer0 27224 201 > irq12: mge0 6037 45 > irq13: mge0 11003 81 > irq19: ehci0 5665 42 > irq33: uart0 247 2 > Total 50176 371 > > > Is there anyting I can do to stop this storm? > > I tried adding hw.intr_storm_threshold=4000 to /etc/sysctl.conf, but > that > made no difference. > Check whether the right PHY indexes are being used. I've seen kirkwood systems put the PHYs on 0 & 1, 0 & 4, and 0 & 8. I've seen interrupt storms on mge before. I'm not positive the PHY numbers and the irq storms are related, that's just two random things I remember from the past. -- Ian