From owner-freebsd-arm@freebsd.org Sun May 26 17:39:46 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C0DA15ABDBD for ; Sun, 26 May 2019 17:39:46 +0000 (UTC) (envelope-from qroxana@mail.ru) Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (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 47EAD8E821 for ; Sun, 26 May 2019 17:39:45 +0000 (UTC) (envelope-from qroxana@mail.ru) Received: by smtp50.i.mail.ru with esmtpa (envelope-from ) id 1hUx7O-00018B-VV; Sun, 26 May 2019 20:39:36 +0300 Date: Sun, 26 May 2019 17:39:25 +0000 From: qroxana To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org Subject: Re: BPI M1 hangs at mounting root filesystem from SATA disk since r345948 In-Reply-To: <20190525122158.cdc7c68fa30a6e02c70b0de4@bidouilliste.com> (Emmanuel Vadot's message of "Sat, 25 May 2019 12:21:58 +0200") References: <20190525122158.cdc7c68fa30a6e02c70b0de4@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-Id: X-77F55803: 0014004E1F3277295A78504BD2AC29411C1F30782E1111DBF05C9F862434225B16665E3E105B83E980D1F6481947B341 X-7FA49CB5: 0D63561A33F958A583148A074C444B09B6F12EFB58C3ED133CA3F5D6F96B7A638941B15DA834481FA18204E546F3947C1D471462564A2E19F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B2EE5AD8F952D28FBA471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249D1C320174CA3ABD93AA81AA40904B5D9CF19DD082D7633A093541453170D46FCD81D268191BDAD3D78DA827A17800CE7F02AC566CF1C0D97CD04E86FAF290E2DBBC930A3941E20C675ECD9A6C639B01B78DA827A17800CE76AD2D09720E1B790EF277A0F5536DA9775ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85084A3168D6E26DF927F269C8F02392CD5571747095F342E88FB05168BE4CE3AF X-Mailru-Sender: A8F90F45CB8D80DB6AC83E06D01AED4EDE37AB91786C66BFEA6C80141EEE9D69050E3EAF6B68D7079BBFFF7D229A147FFDD1F2F6C9B53D730D187FEF3E0D57C1D08349341B303650BDF7E317B72FD726EC982BF62A43B37A04568DD965327F405FEEDEB644C299C0ED14614B50AE0675 X-Mras: OK X-Rspamd-Queue-Id: 47EAD8E821 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[mail.ru:s=mail2]; NEURAL_HAM_MEDIUM(-0.91)[-0.915,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.100.176.0/20]; FREEMAIL_FROM(0.00)[mail.ru]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_SHORT(0.06)[0.058,0]; DWL_DNSWL_NONE(0.00)[mail.ru.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[mail.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[mail.ru,reject]; MX_GOOD(-0.01)[mxs.mail.ru,mxs.mail.ru]; IP_SCORE(0.02)[ipnet: 94.100.176.0/20(0.07), asn: 47764(0.03), country: RU(0.01)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mail.ru]; ASN(0.00)[asn:47764, ipnet:94.100.176.0/20, country:RU]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_LOW(-0.10)[110.177.100.94.list.dnswl.org : 127.0.5.1] 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: Sun, 26 May 2019 17:39:46 -0000 On Sat, 25 May 2019 12:21:58 +0200, Emmanuel Vadot wrote: > On Fri, 24 May 2019 10:32:11 +0000 > qroxana via freebsd-arm wrote: > >> >> Here's the boot message of r345948: >> >> ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) >> ada0: Command Queueing enabled >> ada0: 76319MB (156301488 512 byte sectors) >> GEOM: new disk ada0 >> mmc0: Card at relative address 0x1234 added: >> mmc0: card: SDHC SA08G 2.1 SN 44E37D57 MFG 11/2015 by 2 TM >> mmc0: quirks: 0 >> mmc0: bus: 4bit, 50MHz (high speed timing) >> mmc0: memory: 15196160 blocks, erase sector 8192 blocks >> mmc0: setting transfer rate to 50.000MHz (high speed timing) >> mmcsd0: 8GB at mmc0 50.0MHz/4bit/32768-block >> Release APs >> CPU(1) applied BP hardening: not necessary >> arc4random: no preloaded entropy cache >> regulator: shutting down vcc3v0 >> Trying to mount root from ufs:/dev/label/root [rw]... >> regulator: shutting down vcc3v3 >> regulator: shutting down vcc5v0 >> regulator: shutting down ldo3 >> >> r345947 boots fine. > > That doesn't make much sense to me ... > Could you post the full boot -v somewhere ? r345947: https://pastebin.com/raw/K23qg7n3 r345948: https://pastebin.com/raw/FBNFYfiw > Also could you try to boot with hw.regulator.disable_unused=0 in > loader.conf ? Yes, hw.regulator.disable_unused=0 works, it boots r345948 and later. Thanks