From owner-freebsd-arm@freebsd.org Thu Jan 30 16:20:51 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8335923D8A5 for ; Thu, 30 Jan 2020 16:20:51 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 487lvj6p57z4JTr for ; Thu, 30 Jan 2020 16:20:49 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 00UGKuh3024101 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 30 Jan 2020 08:20:57 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 00UGKt5u024100; Thu, 30 Jan 2020 08:20:55 -0800 (PST) (envelope-from fbsd) Date: Thu, 30 Jan 2020 08:20:55 -0800 From: bob prohaska To: Ralf Wenk Cc: freebsd-arm@freebsd.org Subject: Re: panic: deadlres_td_sleep_q: possible deadlock detected on RPI3 Message-ID: <20200130162055.GA21879@www.zefox.net> References: <20200123164419.GA81833@www.zefox.net> <20200125153229.GA3768@www.zefox.net> <20200126164211.GB7312@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200126164211.GB7312@www.zefox.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 487lvj6p57z4JTr X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [2.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.58)[-0.581,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.06)[ip: (0.26), ipnet: 50.1.16.0/20(0.13), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.72)[0.720,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2020 16:20:51 -0000 On Sun, Jan 26, 2020 at 08:42:11AM -0800, bob prohaska wrote: > On Sun, Jan 26, 2020 at 11:31:47AM +0100, Ralf Wenk wrote: > > > > I got this panic two times in a row with a r357112 kernel during > > make installworld at the same place. So it looks like I am able to > > reproduce it. > > > > # panic: deadlres_td_sleep_q: possible deadlock detected for > > 0xfffffd0000f33560, blocked for 1802833 ticks > > > > But I think it is just a symptom of the r356776 changes. > > > > > Attempts to reboot are also rebuffed with > > > cpu_reset failed > > > leaving a power cycle as the only option, which is new to me. > > > > > > Does this give any hints as to what's going on? > > > > After doing the update from r356767 to r356776 my system began to > > show the "cpu_reset failed" message as well. > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243464 > > > My Pi3 still panics at r357204, but ntp seems to work fine. One other oddity: During the loader countdown to boot, time seems to run about 5x slower than it should, each second on the screen taking about five seconds. The string deadlres_td_sleep_q turns up in sys/kern/kern_clock.c, might there be a connection between the panic and the very slow boot countdown? Thanks for reading! bob prohaska > >