From owner-freebsd-arm@freebsd.org Thu Jan 30 16:44:43 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 6E16523E4FC for ; Thu, 30 Jan 2020 16:44:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-21.consmr.mail.gq1.yahoo.com (sonic302-21.consmr.mail.gq1.yahoo.com [98.137.68.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 487mRF6Vqsz4LNN for ; Thu, 30 Jan 2020 16:44:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: YfhMeCoVM1lvQiKVZ3rolYrUllys3K0RbPz_CqwS4akpjtgVYv4u7MKGgGvJsol _AvEzAjCWUF3OxAoLTaHx98FxpdLPJJvkvVZ0mS8sIfQrm3Azn18YOnDFA8.dVHnwjx.riuyaVma P020bIc7AWwSAkgsWuL47FsGf5zkWlW1s_dB2O8YXwMF8NSHkqEU1RhqehgbOQx9V4cFylHcqf1a kCrUPR5b4x4yB7k.7WTYHt3aRR0N6muJ5IVZ6JeS4qW9g7ek2VCK4K8ILcO1x53lgHB1dtSQ04Gz k0XM7RjyII3LE2q4o86GQbW3OTKV7HE9kVW9h4oXOfAMd6Kg7oCY3ndneS_3VAXKS.DfrWWqL.e1 ZdzaroWJFWWm2RFgwlizki3L8tPZ5G9G4pzwIxB7KJZ_e96P0SuXm4nvICqhL07v_Y9BvCWiQgcn orBcP7SR0H0y62gCh7k3ou4zLqrWNToIsxfoCZ6qJ1wUan7GT5orLox.l76tWAg4weQVK74lggFD LiK2alhpH1Pc2fDcdM.DdeFW3vjaa9nqUMTOuEGVJY8lS3UfN6y23LjTuldmGvh8TkQKmHY3wrEV ZXASoWNWTw0bLxSXpBCXe5RPBTN3reQ5VgTcAqyYMbCtgbSZlh.tanWPkZw3lYi76dTEwrHgkzq0 Ou.3jfkxOCAXMOVzP2kXslS1rQVAMKEfBDSr12kim4JntaG.jBJKkAy_UY9hFsjvpt9lN9OrOwKd wz0gdQwFmVvt_79_Vg8DSDKE3IhbnW8PCs1HnWshz5c.li7Oi0.pI4fHc1XZzMknvAzXBtEmYQTK SA9b5aGtms1_bHQ8IJgY4FNXnCfbsVONy7wc.0eZfUXaGSQ5mqYVqy0zmvt.2w8R3b8do.FU.eCO qzal7kCJKwcPD1RFh4LsrSK2i9JLVQyshDpDWRlHmf8LfkP.GaQl4VDsdrbY9Pnoq3TUv5R8Tzje yLfVSXw2OjPoDqxPJljf13IdPaJLVztADPoPmlXvynB6pehIXO1tt_aCPVJhQtFi2jIiUhZN3x_T bjRG5tRgkaJZZz4H2JvIJuVmEwHl6y73nP4_Ms3f56qbLY9vAcs8dh80D.8uj1_ClveU0If0GaXp K_ESHSI_Tt9Ufgxpb6u9fQE3_.uiutJXMeHnnZVWukaKRMqCZ7TAYn7KxVvBxeBwJhTyFjyWBD96 uEL.281KYZkTdn2_me.87NTCMlGNrbfRDOy3J4qE02v_JfQaF9SUqd9C9obl76WGqIfSHPlESu2j gHafHLmSjwef1z9YnJy0uUZ.xNkUacUZ0Uto6G5LQMaqniqHrEWG5kIGBYpPO476ucLKgly6ewE5 CQjn2Lu1VFEXEoh929D113bx64dcGHLDARmTK.MAScwHEZ15psgVlQGDMmVClgRdvHaEHxdQFmWM 4F2b5v_iRAy9CIh4MyYCXxeZ5iQbBCw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Thu, 30 Jan 2020 16:44:40 +0000 Received: by smtp401.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 014bb51c0e577509cb163a5adf2273aa; Thu, 30 Jan 2020 16:44:38 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: panic: deadlres_td_sleep_q: possible deadlock detected on RPI3 From: Mark Millard In-Reply-To: <20200130162055.GA21879@www.zefox.net> Date: Thu, 30 Jan 2020 08:44:36 -0800 Cc: Ralf Wenk , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200123164419.GA81833@www.zefox.net> <20200125153229.GA3768@www.zefox.net> <20200126164211.GB7312@www.zefox.net> <20200130162055.GA21879@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 487mRF6Vqsz4LNN X-Spamd-Bar: / X-Spamd-Result: default: False [-0.47 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.02)[0.016,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[147.68.137.98.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.01)[0.015,0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (6.66), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.67), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] 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:44:43 -0000 On 2020-Jan-30, at 08:20, bob prohaska wrote: > 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. Does kldstat show mac_ntpd as loaded? On 4 arm systems here, 2 boot loading mac_ntpd, 2 boot without loading mac_ntpd, and ntp works for all. But this is head -r356426 . So checking more specifically for if mac_ntpd was loaded is apparently needed. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243464 is not explicit of other kernel modules load okay when no attempt is made for mac_ntpd. (If nothing loads automatically, it might require manually loading something to find out.) (I've not done anything intended to control the mac_ntpd load behavior on any of the 4 arm systems and do not know why there is the variation that there is.) > 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? Odd. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)