From owner-freebsd-arm@freebsd.org Fri Apr 21 08:07:31 2017 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 0EEF2D49399 for ; Fri, 21 Apr 2017 08:07:31 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 DC5831A57 for ; Fri, 21 Apr 2017 08:07:30 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-yw0-x229.google.com with SMTP id 203so47138508ywe.0 for ; Fri, 21 Apr 2017 01:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yKPhBvd+pnxWTbqUA2y0R4updCU0imYwnYsx1LzaOlw=; b=nCkzaRaMSIRxlFyTztv++h2FbrFOUv1KZIL7A7NBfEpEhWMlj0LChf8KHs/n5Mdif8 oB3XE+ayZaQtpAe7+AtMnwmAOv7VVnNaaYMBvgPBhlsFkZZioNhtx3blAX1YSh5EKAcN GPGEDIRrx1mRusYUF5BlDti54eyWfJSx0GdHchA0Ryi1hnVu9hmXs/xex3GmK1GiZGSm dlqb4PjxejeuBjVw//6PeiMx0E+DoCFn07OCLTsP1rekWrm0uvnRZm9Ie/w6ocmwiSeh NMgteiPCVKZTJ6O/0glVVqcVXlCxCefQvAkhdm5DepgUtGQjpDOQhb7fLDjCiYujKMWQ sofw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yKPhBvd+pnxWTbqUA2y0R4updCU0imYwnYsx1LzaOlw=; b=KVxFIqlMotuV4gzAC3DJjraAKDbP//9yVizg1CEDj7U5dM/w5HlLXyxkjii3On3HI4 HsEdrK7urekiiV6JDsFF2FUbprKT/obfXX/ww5t2fW2Kw9v4WmqY1rBeX2CQvrvEOYy2 jdFJCEqVOKGTZs07N6Yp0hAR7m4GiDHGmN6wXykGPiELVgCRYnhzD+kjP2o3ES9avHh7 sZd1MGssx+duyyGdNFinOdwzrMuwqe4yHBuVc8CiwXUDKqA8+NVRXkPc/z5vWONAKKXn qskHZjVHfVZh4VjqYwIg6UC0j9TgSJ9MYkRvsVZct9ZMbmF0ok/b1NVN+HvJ+745DXGG a2bA== X-Gm-Message-State: AN3rC/5vpGVQyULkuIDmtb1cg9XS3A6GzuYgoakvh0bbZ3Ue9ZtalSjK Vgmx8a7sb1Tl5i4cw/zIkTO4e7w7+672 X-Received: by 10.13.236.199 with SMTP id v190mr10058270ywe.65.1492762049805; Fri, 21 Apr 2017 01:07:29 -0700 (PDT) MIME-Version: 1.0 From: Tom Vijlbrief Date: Fri, 21 Apr 2017 08:07:19 +0000 Message-ID: Subject: Pine64 spurious interrupts To: freebsd-arm , Mark Millard Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 08:07:31 -0000 I have a lot of spurious interrupts on my Pine64. Even in idle single user mode: # pstree -+= 00001 root /sbin/init -- \-+= 01783 root -sh (sh) \-+= 01804 root pstree \--- 01805 root ps -axwwo user,pid,ppid,pgid,command # gic0: Spurious interrupt detected: last irq: 27 on CPU3 gic0: Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 27 on CPU2 gic0: Spurious interrupt detected: last irq: 114 on CPU1 gic0: Spurious interrupt detected: last irq: 27 on CPU3 gic0: Spurious interrupt detected: last irq: 27 on CPU3 gic0: Spurious interrupt detected: last irq: 114 on CPU1 gic0: Spurious interrupt detected: last irq: 27 on CPU2 gic0: Spurious interrupt detected: last irq: 27 on CPU2 gic0: Spurious interrupt detected: last irq: 27 on CPU2 gic0: gic0: Spurious interrupt detected: last irq: 27 on CPU3 Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 114 on CPU1 gic0: Spurious interrupt detected: last irq: 27 on CPU0 gic0: Spurious interrupt detected: last irq: 27 on CPU0 When building world (3 threads) the frequency is about a few each second, idle perhaps a few each hour. I have ethernet connected and a small USB hard disk with it's own power supply, which hosts /usr/{src,obj,ports}. In addition I noticed an ethernet lock up from time to time. Executing "dmesg" in a ssh session is often sufficient to trigger it. The weird thing is that after some boots (perhaps 1 out of 10) the spurious interrupts do not happen! I have not been able to detect a pattern here. Can others reproduce these findings? Thanks in advance for any hints.