From owner-freebsd-arm@freebsd.org Sat Nov 16 08:28:54 2019 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 29EF81BEF04 for ; Sat, 16 Nov 2019 08:28:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47FSzn24Rnz4Gbh for ; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 3B7671BEF03; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) Delivered-To: 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 3B3A71BEF02 for ; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47FSzl0Hc8z4GYj for ; Sat, 16 Nov 2019 08:28:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=4TSul/TY/RPFbxQGA3MvFzfiqZEPr8RQ+Nwboo15nnk=; b=DK+yaGGfwmxuZmF/knnlwkWzErZafSkOnt38AKqBjAmzBYTL/74GZXwxZU+IIoN+mc1oGNd5VG16nhLkA7KnLIxEmqMOwdcHIoooeLmDqWXphnj8X3fQHbx2msgLvCrk+321uI1+JplH/4v9NLYciEmnPTOAZmf0Xu3jwQXpD4bBQUjnu49HJwYcjdnF3CEAHKO4xDqMc9vSgPyPr+mxakdes50+1uzYoS3F1LfdXIomw7J9tWMcQngFVtxqwVP/vnHtylHfu6k4kdF8V0UF5RrXyppcP3skfOZCFHJwpi8hH5sTkkQnYLDy7TUf9nxMFiam0rIx/pWQnhEKQxylrQ==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1iVtRm-000CoJ-2V for arm@freebsd.org; Sat, 16 Nov 2019 10:28:46 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: watchdog on Allwinner/H3 (nanopi neo) has reset problem Message-Id: <35AC6900-E90E-465B-82DB-B56EEC53CCCC@cs.huji.ac.il> Date: Sat, 16 Nov 2019 10:28:45 +0200 To: arm@freebsd.org X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47FSzl0Hc8z4GYj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=DK+yaGGf; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.16 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.86)[ip: (-1.85), ipnet: 132.64.0.0/13(-1.40), asn: 378(-1.12), country: IL(0.05)]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; 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: Sat, 16 Nov 2019 08:28:54 -0000 the watchdogd works fine, if triggered (no pats) it reboots ok. the problem I'm having is when I do a shutdown/reboot, it either hangs = on the way down, or gets stuck starting the watchdog on the way up and only power cycling helps. at the moment my workaround is starting the watchdog by hand (not via = rc.conf) so that on the way down it=E2=80=99s not stopped, and so it does a clean reboot. anything I can do to help debug this? btw, there is a small issue in that it maxes out at 16sec, while the = closest 2^N is 8sec. thanks, danny