From owner-freebsd-arm@freebsd.org Mon Mar 21 15:53:31 2016 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 D2648AD83BF for ; Mon, 21 Mar 2016 15:53:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (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 91857EE6 for ; Mon, 21 Mar 2016 15:53:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id o5so129951363iod.2 for ; Mon, 21 Mar 2016 08:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=kF38i+Qj7Fo0XyhhzjwpSyLWIHlHf7g5Eurh6sl6+ac=; b=rao+fegHM0YEt0dRBqUB+pLtqwsBwdTeTB/pUi1ybNPiuYCt5zHBKM+KS+2EvMRa9f hLLOdvnE77s9LQC3RbjVMsrEoXOuBYZnyLrhbuTlem/bpv/igFivmv8dp/b3RkzZ3F7A dYV0qaqHnFVz/muyZMy1tdYAmxnSNS2ZfgJfV2KMqIHS8gmGP49QBIKTHrIl3k/bnuAN oXTZ55TUe4JTkxobChla7DZtO0kwhiIlmctnHNGuuipaYCkCgkzUqtAVdvgFxksNvtWN btH0w0Bzg24OdCyWb7lBLrLQ6xbEuUwC2ps8o/Veg9199SYR296mrGw55U2+KCF8u0es +ULA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=kF38i+Qj7Fo0XyhhzjwpSyLWIHlHf7g5Eurh6sl6+ac=; b=St976A1emrzMEiNqcKRTZjh48Jeda/JTsOPwg0fepviCNaG4yn4Gi/pOPMy6NKqEfg CPQuUTQVAA2iVksESlc86OX60CuToHgO5IhFTirfZrLaW2Yqkt0RlPixMf3TtHgVe71V StfqIUKF9ZHmAlm5tLeKqkHnjlQ3VTBZ5VYUI1i0SbGorZhjGsuSCoTMvch7trh4t/Cr heh/6cRUHeGRssEBDCUoJz9snoq1INrau5LQkkOO18g9YSdSI1a7SKk6Yn1Dc7g65n1d kr9LsXuUi0bB86GMI2GmJi7KCBMfdcGJJayCW77bQc6Sznxb/nHHEO9rDZShWeFqKm3p 8KQA== X-Gm-Message-State: AD7BkJI2nl1UvKmFwY9LOjkTwUD/xqMf54YnoWVQbt3Z3xIxlU2Pf3mmOGl+u01pCNJ1T1fQ9TxPIbN85wpdBg== MIME-Version: 1.0 X-Received: by 10.107.19.73 with SMTP id b70mr28356921ioj.75.1458575610969; Mon, 21 Mar 2016 08:53:30 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.14.19 with HTTP; Mon, 21 Mar 2016 08:53:30 -0700 (PDT) In-Reply-To: <56F01049.4020108@gmail.com> References: <56F01049.4020108@gmail.com> Date: Mon, 21 Mar 2016 08:53:30 -0700 X-Google-Sender-Auth: 3NOtFZFUOQhB8xoChVABwHchJ54 Message-ID: Subject: Re: RPI2 panics while trying sleepq_add From: Adrian Chadd To: "Jukka A. Ukkonen" Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2016 15:53:31 -0000 hiya, are you able to post a backtrace ('bt') from the db> prompt? That'll be a good start in narrowing down what the issue is. (It's a bad sleep whilst a non-sleep lock is held, but we need to know the code path :) -a On 21 March 2016 at 08:16, Jukka A. Ukkonen wrote: > > Hello, > > Has anyone else seen symptoms similar to those described below? > > The RPI2 experiences odd panics displaying complaints like... > > <----------> > > panic: sleepq_add: td 0xc3a5e370 to sleep on wchan 0xc3afd000 with > sleeping prohinited > cpuid = 0 > KBD: enter: panic > [ thread pid 11 tid 100008 ] > Stopped at $d.10: lrdb r15, [r15, r15, ror r15]! > db> > > <-----------> > > It does not seem to matter anything whether the system is busy > or relatively idle. What seems to be common to these panics is > that in most cases when they happen the keyboard hasn't been > touched for a while. This is just a wild guess, but maybe the > kernel tries to put something in some low energy mode and fails. > > If I leave the thing doing something on its own for a while, > when I get backsome 5 to 15 minutes later the poor RPI2 has > fallen on its face showing the panic message similar to the > one shown above. > > Have you seen this happening? Any ideas what might be going on? > > --jau > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"