From owner-freebsd-arm@freebsd.org Sun Dec 11 09:47:30 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 A2491C72EFA for ; Sun, 11 Dec 2016 09:47:30 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-170.reflexion.net [208.70.211.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 500821D22 for ; Sun, 11 Dec 2016 09:47:29 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12295 invoked from network); 11 Dec 2016 09:47:38 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 11 Dec 2016 09:47:38 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Sun, 11 Dec 2016 04:47:40 -0500 (EST) Received: (qmail 5912 invoked from network); 11 Dec 2016 09:47:39 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 Dec 2016 09:47:39 -0000 Received: from [192.168.1.118] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 779D3EC8839; Sun, 11 Dec 2016 01:47:27 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Can't get 11.0-RELEASE to boot on Banana PI M3 From: Mark Millard In-Reply-To: Date: Sun, 11 Dec 2016 01:47:26 -0800 Cc: jmcneill@FreeBSD.org, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20161124222152.dfd02dcafdc25182b6b46e50@bidouilliste.com> <66508AA3-436A-4D9E-AAB5-B85D0B4FC40C@dsl-only.net> <9C8B313C-A058-44DF-8673-D23B481CE312@dsl-only.net> <1E9515A0-06D5-4CF9-9D29-D6FF591686F4@dsl-only.net> <53608BFE-4653-4407-AFBE-7AB5E45AF2C1@dsl-only.net> To: Michael Sperber X-Mailer: Apple Mail (2.3251) 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: Sun, 11 Dec 2016 09:47:30 -0000 To someone with appropriate background knowledge this is probably useful information. But on my level of ignorance of what things should be like I'd have to be able to compare to a register dump when it worked okay in order to have any clue what to look at. (And I'd have to find documentation to have any chance to understand anything.) I expect that with background information like that sometimes (usually?) it fails this way but other times it works and the like it should be good to submit for someone with the knowledge. I've not gotten nearly as far as you have for that issue. I've been trying to gather information on why in the new context the BPi-M3 shuts down or reboots on its own, no matter if Ethernet is connected or not. No console messages about why it shuts down. No log file information. No drop into ddb, despite how I specified the kernel configuration. In the prior environment it had been up for something like 22 days, with a mix of idle time and used time. Now it rarely stays up for more than 12 hours, even sitting idle. =3D=3D=3D Mark Millard markmi at dsl-only.net On 2016-Dec-11, at 1:15 AM, Michael Sperber = wrote: So I've got debug output now: Dec 10 22:14:23 kernel: awg0: mem = 0x1c30000-0x1c300ff on simplebus0 Dec 10 22:14:23 kernel: awg0: soft reset timed out Dec 10 22:14:23 kernel: awg0: BASIC_CTL_0 00000000 Dec 10 22:14:23 kernel: awg0: BASIC_CTL_1 08000001 Dec 10 22:14:23 kernel: awg0: INT_STA 40000000 Dec 10 22:14:23 kernel: awg0: INT_EN 00000000 Dec 10 22:14:23 kernel: awg0: TX_CTL_0 00000000 Dec 10 22:14:23 kernel: awg0: TX_CTL_1 00000000 Dec 10 22:14:23 kernel: awg0: TX_FLOW_CTL 00000000 Dec 10 22:14:23 kernel: awg0: TX_DMA_LIST 00000000 Dec 10 22:14:23 kernel: awg0: RX_CTL_0 00000000 Dec 10 22:14:23 kernel: awg0: RX_CTL_1 00000000 Dec 10 22:14:23 kernel: awg0: RX_DMA_LIST 00000000 Dec 10 22:14:23 kernel: awg0: RX_FRM_FLT 00000000 Dec 10 22:14:23 kernel: awg0: RX_HASH_0 00000000 Dec 10 22:14:23 kernel: awg0: RX_HASH_1 00000000 Dec 10 22:14:23 kernel: awg0: MII_CMD 00000000 Dec 10 22:14:23 kernel: awg0: ADDR_HIGH0 0000ffff Dec 10 22:14:23 kernel: awg0: ADDR_LOW0 ffffffff Dec 10 22:14:23 kernel: awg0: TX_DMA_STA 0000ffff Dec 10 22:14:23 kernel: awg0: TX_DMA_CUR_DESC ffffffff Dec 10 22:14:23 kernel: awg0: TX_DMA_CUR_BUF 0000ffff Dec 10 22:14:23 kernel: awg0: RX_DMA_STA 00000000 Dec 10 22:14:23 kernel: awg0: RX_DMA_CUR_DESC 00000000 Dec 10 22:14:23 kernel: awg0: RX_DMA_CUR_BUF 00000000 Dec 10 22:14:23 kernel: awg0: RGMII_STA 00000000 Dec 10 22:14:23 kernel: device_attach: awg0 attach returned 60 (I'd also increased the retry count from 1000 to 5000, which did not help.) Enough for a PR? --=20 Regards, Mike