From owner-freebsd-arm@freebsd.org Fri Nov 27 23:20:48 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 44E35A3A32E for ; Fri, 27 Nov 2015 23:20:48 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 0DC681C64 for ; Fri, 27 Nov 2015 23:20:48 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by ioc74 with SMTP id 74so124217965ioc.2 for ; Fri, 27 Nov 2015 15:20:47 -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=ULXak0w0rx3rXMCv21UvYUTHI2JFHpQlcGXsZIxzL0I=; b=fpSMFbbgkeXUCrvo1zgPNtO5mtjws5VDP9yJO/onAE6lG2E2hVOVnxxzS/W+ki+FS6 eE8RTt3EnRCPQhTfgdkbjttCDSH5GXovBjjXfz0j0UKrMzORhEquHPzZlym/S6YQejvh AjxIZyPxYvyptYfKKkiQV1cH/rrkcTIkHfxZGPOKJjycCYDoQJGwqSDpSg2foBWK6b1X cEvY7SkenUTm1kNMQjDMHTTFotiS7JNQdh/JNd+WM+f6ybZWuCScDz9QyMhmM+5K5f7F 21ZDwqaiRE3M6RYcVHVuvoa2gAe621+qJN+VRXtdQ42W5kd1Z9yI00aIVfLDbBbUH/uS KmCg== MIME-Version: 1.0 X-Received: by 10.107.3.227 with SMTP id e96mr46998936ioi.30.1448666445805; Fri, 27 Nov 2015 15:20:45 -0800 (PST) Received: by 10.64.130.38 with HTTP; Fri, 27 Nov 2015 15:20:45 -0800 (PST) In-Reply-To: <5658DB87.5010308@denninger.net> References: <56575896.70105@denninger.net> <5657E4C6.9020609@denninger.net> <56589C6B.8000100@denninger.net> <5658DB87.5010308@denninger.net> Date: Sat, 28 Nov 2015 00:20:45 +0100 Message-ID: Subject: Re: Raspberry Pi2 kernel warnings From: Svatopluk Kraus To: Karl Denninger Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/mixed; boundary=001a113f0c5afed65f05258df0a6 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: Fri, 27 Nov 2015 23:20:48 -0000 --001a113f0c5afed65f05258df0a6 Content-Type: text/plain; charset=UTF-8 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]/ --001a113f0c5afed65f05258df0a6 Content-Type: text/plain; charset=US-ASCII; name="bcm2835_dma_fix1.diff" Content-Disposition: attachment; filename="bcm2835_dma_fix1.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ihiadqmt0 ZGlmZiAtLWdpdCBhL3N5cy9hcm0vYnJvYWRjb20vYmNtMjgzNS9iY20yODM1X2RtYS5jIGIvc3lz L2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfZG1hLmMKaW5kZXggNDk4Y2VjMi4uYWZlNTQ4 NSAxMDA2NDQKLS0tIGEvc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfZG1hLmMKKysr IGIvc3lzL2FybS9icm9hZGNvbS9iY20yODM1L2JjbTI4MzVfZG1hLmMKQEAgLTI2NSw4ICsyNjUs MTAgQEAgYmNtX2RtYV9pbml0KGRldmljZV90IGRldikKIAkJY2gtPmNoID0gaTsKIAkJY2gtPmZs YWdzID0gQkNNX0RNQV9DSF9VTk1BUDsKIAotCQlpZiAoKGJjbV9kbWFfY2hhbm5lbF9tYXNrICYg KDEgPDwgaSkpID09IDApCisJCWlmICgoYmNtX2RtYV9jaGFubmVsX21hc2sgJiAoMSA8PCBpKSkg PT0gMCkgeworCQkJYnVzX3dyaXRlXzQoc2MtPnNjX21lbSwgQkNNX0RNQV9DUyhpKSwgQ1NfUkVT RVQpOwogCQkJY29udGludWU7CisJCX0KIAogCQllcnIgPSBidXNfZG1hbWVtX2FsbG9jKHNjLT5z Y19kbWFfdGFnLCAmY2JfdmlydCwKIAkJICAgIEJVU19ETUFfV0FJVE9LIHwgQlVTX0RNQV9DT0hF UkVOVCB8IEJVU19ETUFfWkVSTywK --001a113f0c5afed65f05258df0a6--