From owner-freebsd-arm@freebsd.org Mon Nov 30 23:18:26 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4F05A3C0C3 for ; Mon, 30 Nov 2015 23:18:26 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0F5B1481 for ; Mon, 30 Nov 2015 23:18:26 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by igbxm8 with SMTP id xm8so84838794igb.1 for ; Mon, 30 Nov 2015 15:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gxtdcEI6xlw0yEYbLMTVpUtfnG3jybhgStRerlMLvM0=; b=yQhPlT7rnTZHFLsfmEpUYKVoyUuDsCUxHHMuE8FXKYyJJWeFklr8iiXuV5T/0aiH2J z3i9qN70FyXkl9RHLQDrrkg8wWQ0A5tWRm4oWUIpdH8GlPJTYyMXHmR8WFjxxpH4YRSo NR3zo2DsVf9hFVAlG+z97HMIqeveLmXYS2PwKXtZPjdWoOnF1PVZZYPdBRmH3d0R61vq bR8Z0eBt7c8PUCWBPHtYCitHdAX1KcB+Sa1GqrYI8NZlFvXr6Dqfx99viIz506sfW3n8 Tn7uAIbQ2wxY9mZIQQN6zsauyxqCnXfZbITjfK8+Ud6VaIjJ4A3pgG8N6TMQxo63WEsA oyvA== MIME-Version: 1.0 X-Received: by 10.50.78.101 with SMTP id a5mr22404366igx.42.1448925505825; Mon, 30 Nov 2015 15:18:25 -0800 (PST) Received: by 10.64.130.38 with HTTP; Mon, 30 Nov 2015 15:18:25 -0800 (PST) In-Reply-To: <565CD545.1090801@denninger.net> References: <56575896.70105@denninger.net> <5657E4C6.9020609@denninger.net> <56589C6B.8000100@denninger.net> <5658DB87.5010308@denninger.net> <565A03CA.1010608@denninger.net> <565CD545.1090801@denninger.net> Date: Tue, 1 Dec 2015 00:18:25 +0100 Message-ID: Subject: Re: Raspberry Pi2 kernel warnings From: Svatopluk Kraus To: Karl Denninger Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 23:18:27 -0000 On Tue, Dec 1, 2015 at 12:01 AM, Karl Denninger wrote: > And.... now it's dead again. > > This may not be related to the patch.... however, the kernel does appear > to use the bcm2835.... so while the patch may not be the cause something > is going on here that's not kosher.... > > The espeak process is killable but if I had to guess it's waiting for > what it thinks is a busy I/O to become free. I have the same problem with omxplayer. No idea what could be behind it. There is about 8 omxplayer's thread, one is in select, all others are waiting on some user locks. > > Any ideas on running this down? > > On 11/28/2015 13:43, Karl Denninger wrote: >> That appears to have fixed it; espeak is again working. >> >> On 11/27/2015 17:20, Svatopluk Kraus wrote: >>> Well, I cannot imagine now how my patch could be the cause of that >>> except that sdhci is using dma channel #4 now, but it was #2, which is >>> said to be used by GPU. And channels used by GPU are not initialized >>> now. Try to apply the attached fix just to be sure. >>> >>> FYI, my video playback freezed up after more than 12 hours of playing >>> today, so there could be some problem in communication with GPU, not >>> my patch related. >>> >>> >>> >>> On Fri, Nov 27, 2015 at 11:39 PM, Karl Denninger wrote: >>>> Hmmm... or maybe not. >>>> >>>> "espeak" (speech synthesizer) hangs in a "S" state with this change in. >>>> Not sure if it's the cause but it was working before. >>>> >>>> >>>> On 11/27/2015 13:56, Svatopluk Kraus wrote: >>>>> OK, Thanks. >>>>> >>>>> On Fri, Nov 27, 2015 at 7:09 PM, Karl Denninger wrote: >>>>>> The patch still looks good -- it ran overnight without any warnings and >>>>>> is still grinning. >>>>>> >>>>>> On 11/26/2015 23:06, Karl Denninger wrote: >>>>>>> On 11/26/2015 15:20, Svatopluk Kraus wrote: >>>>>>>> On Thu, Nov 26, 2015 at 8:08 PM, Karl Denninger wrote: >>>>>>>>> I'm getting these on a fairly consistent basis on a Pi that is talking >>>>>>>>> to a Zwave USB stick and a serial USB interface (two instances that both >>>>>>>>> show up as serial devices): >>>>>>>>> >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10007 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10007 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10027 >>>>>>>>> bcm_dma0: unused DMA intr CH=3, CS=20f10007 >>>>>>>>> >>>>>>>>> They're showing up maybe every half-hour or so.... doesn't appear to be >>>>>>>>> doing anything bad, other than displaying the message..... >>>>>>>>> >>>>>>>> I'm just finished a patch which works well for me. I plan to commit it >>>>>>>> after some more testing. The patch is attached if you want to test it >>>>>>>> too. >>>>>>>> >>>>>>>> Svatopluk Kraus >>>>>>>> >>>>>>> I have the patch loaded on on the Pi that is exhibiting the problem -- >>>>>>> so far looks good. >>>>>>> >>>>>> -- >>>>>> Karl Denninger >>>>>> karl@denninger.net >>>>>> /The Market Ticker/ >>>>>> /[S/MIME encrypted email preferred]/ >>>> -- >>>> Karl Denninger >>>> karl@denninger.net >>>> /The Market Ticker/ >>>> /[S/MIME encrypted email preferred]/ > > -- > Karl Denninger > karl@denninger.net > /The Market Ticker/ > /[S/MIME encrypted email preferred]/