Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp557457ybm; Fri, 29 May 2020 06:51:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhaT4caWS6k1J0znqIbHchXihCvGINfZJ5GcJS1xC0kGoDSmO4Q9vK6lKYFUTjs/beF3Ze X-Received: by 2002:a17:906:1c4e:: with SMTP id l14mr3067746ejg.419.1590760290732; Fri, 29 May 2020 06:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590760290; cv=none; d=google.com; s=arc-20160816; b=QfwgFuaLYWktH5sRVwuZvr3kczYdNk4ak/csh1eVoi2RAaaBBsLcp3KPb9usb6V0Ip ZL6aPy7kKX7uCOETpVcHiGSZAlIEbS3HLx+TVuiWoxD1rWMdHSSeJR2SOWgIxcg9jhEz 6SbdfhGGwih8pH48oUqKCaPdRBf452dhQ6mDfue2AIZ8qOb3opUEG0Ut1wAg1SdgFCvJ BC0US6T4nPxzeteMWpCSStJugkjrVr22cTAbxqEElcL/HygYis6Kuu2w8E8Y8wyI7Dno dWDy497YA0RXAM/QZIoi2tqYNdqpp4nsqAsHV9+jP7eAXzNIHT0Dg1cSH1g75+bC4DfE yIKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2feAhHAwXbblRf6aR70XXk307dTrGyg2hsYoYW15HqQ=; b=nt25fo84lZehDuP3mAJrQkZUyJ6GOJ5MCJktjMj76YCZkmGv5mDDvAs0U4yYyzoICM +6EUg+mrh2z3/hAH5efZMjUryyPoZfaYBCFgls8sezYq624hwhiccWKHgHrYSioZR7AY 9PEpUWYN/bNJBe/KnZjnoZUcI1PxpVhqHB7KONaH3czmNUo7phi7ov3HnKHWCTbhh6yX cldugkAYhjbq7GSxEoNggEZgCtGH/LC3dEYqSHC8nZOgKN0QxjgaYL4p1NEkoEgQpZjm zhjmr2wzo6yVIEgfmtcySSrGyuygObgdVH96RupP3UGaG/ePMBoAZfAaL4haNpdwlk6G SzKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M3sbcxko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si5621130eja.513.2020.05.29.06.51.04; Fri, 29 May 2020 06:51:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M3sbcxko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727019AbgE2NrA (ORCPT + 99 others); Fri, 29 May 2020 09:47:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbgE2Nq7 (ORCPT ); Fri, 29 May 2020 09:46:59 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9558CC08C5C6 for ; Fri, 29 May 2020 06:46:59 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id j16so3667447wrb.7 for ; Fri, 29 May 2020 06:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2feAhHAwXbblRf6aR70XXk307dTrGyg2hsYoYW15HqQ=; b=M3sbcxkoAFe+/wx9TM3LgjCJcp7/QaR9t55qyb9/4CW+VKtz73dTS7qjhnQltvBfnD Xfyyir8ZHlF/xyxxpzEr0Fugk1nMFBWttrlOyhCcW6XX0y96QbmpUO8SP/8HXw8qWzqC sv+tT49eNS4q57kXwZha0Nn9okTGnhV2xCWeY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2feAhHAwXbblRf6aR70XXk307dTrGyg2hsYoYW15HqQ=; b=sXqV0XS/xmRaOiHMIFC7YeAgu6OYNvlrYGBU6cEeb2DSr5y1b16tEENQIAfO2OeEYa OTrBocqADZmpFgE8pHdHbumUmMETId398f4DlHZk4MW/jRgtJIu2eYfY/L4947R1/wG6 AmeNe6zjL4G73faXKwkE79cRsT4vcmhSL4FnawZ2kxZzLrO7nhnfufDRrSr0iT27+r1r QM81/z+/4m/eAPEuFxSzak/jIHehlzQyiOngHNXqO38v1Mth+VwKw1uRwF6rh1ESdgOD ydtskQ1q6TOF+DajmGgZQhBON2WyMlc7drQyBoBlNfDzT7xjPJHSZmoGJlx5Lw2ybSxZ ZDjw== X-Gm-Message-State: AOAM531iFNvrqyB1fPG5YcJRbaufGd/BnCzo+gNk8oPoXRvwG+KK47T1 tSSe5SOBMbWixWzGKwsaA/z+orNscs8/75qLNVoeAg== X-Received: by 2002:a5d:4286:: with SMTP id k6mr8441633wrq.140.1590760018185; Fri, 29 May 2020 06:46:58 -0700 (PDT) MIME-Version: 1.0 References: <20200529133107.y65eta5btvgpk6pu@linutronix.de> In-Reply-To: <20200529133107.y65eta5btvgpk6pu@linutronix.de> From: Michael Nazzareno Trimarchi Date: Fri, 29 May 2020 15:46:46 +0200 Message-ID: Subject: Re: linux-rt stall on imx6dl on patch-5.4.22-rt13.patch To: Sebastian Andrzej Siewior Cc: LKML , linux-rt-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Fri, May 29, 2020 at 3:31 PM Sebastian Andrzej Siewior wrote: > > On 2020-05-29 10:08:01 [+0200], Michael Nazzareno Trimarchi wrote: > > Hi all > Hi, > > > I get this stack trace > > echo 3 > /proc/sys/vm/drop_caches chrt -f 99 sysbench --test=cpu --num-threads=2 > > > > First of all, I need to know that if it is a valid use case because > > was raised by the testing team and > > how can I start and where to take a look at it > > Assuming that there is a `;' in front of `chrt' then I wouldn't be > surprised. You are basically keeping two CPUs busy with sysbench at RT > priority and then wondering why the system isn't making any progress. If > it wouldn't be for the RT throttler, you might not even see any output > and box hardware would appear be dead. No, I'm not surprised but my answer to them was not enough. Right now they are executing some bench. Best Michael > > > Best Regards > > Michael > > > > [ 161.709260] 001: sh (480): drop_caches: 3 > > [ 180.234358] 001: sched: RT throttling activated > > [ 180.283363] 001: fec 2188000.ethernet eth0: MDIO read timeout > > [ 180.283406] 001: ------------[ cut here ]------------ > > [ 180.283416] 001: WARNING: CPU: 1 PID: 133 at > > drivers/net/phy/phy.c:716 phy_er > > > > ror+0x24/0x64 > > [ 180.283460] 001: Modules linked in: > > [ 180.283473] 001: CPU: 1 PID: 133 Comm: kworker/1:2 Tainted: G > > W > > This is hard to read. Especially later in that mail. In future please > try to not cut the lines. > > Sebastian -- | Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |